Back to top anchor
Documentation

Sector Resource content type

We are updating our documentation library to be ready for Sector 10! Find out more in our Sector 10 roadmap or head straight to our collection of Sector 10 - Changes and Updates.

User role
Drupal Sitebuilder
Task
Sitebuilding
Topic
Content types and displays
Product
Sector Starter kit Sector Resources

Sector Resource offers a base content type for informational material and documents. Included is everything you'll need to start a resource library on your site - a structured content type, automated lists, and blocks for the homepage and sidebar.

Sector Resource allows you to categorise resources based on your needs (such as case studies, documents or publications), while filters and search give your audience more tools to find the resources that are relevant to them.

See Sector Resource in action!

Check out Resources on the Sector 10 beta and the Resources on the Sector 9 demo 

Features and functionality

Sector Resource includes:

  • Sector Resource content type and displays
  • Resource types taxonomy to categorise your resources and allow your audience to filter by type
  • Resource landing page with filters and search
  • 'Latest resources' block on the homepage listing the most recent resources 
  • 'Latest resources' sidebar block on nodes to promote recent resources
  • Sample content to make it easy to get started

Sector 10 related entities and configuration

Resources are optional in Sector 10

In Sector 10, Sector Resource is part of the the Sector Starter Kit, but is not installed by default.

To install the add-on, navigate to the Extend section of the AdminUI and enable Sector Resource - this will install the entities mentioned in this documentation.

Sector Resource content type

<your-domain>/admin/structure/types/manage/sector_resource

Resource types taxonomy 

<your-domain>/admin/structure/taxonomy/manage/resource_types/overview

Resources landing page

<your-domain>/resources

The resources landing page is a page node with a view block that lists the latest resources. It includes a search and filters, as well as a pager that becomes visible after more content is loaded. 

Search API Sector Resource index and view

In Sector 10 the default views are replaced with Search API search views and index. 

<your-domain>/admin/structure/views/view/sector_resource

<your-domain>/admin/config/search/search-api 

Related blocks

<your-domain>/admin/structure/block

  • Sector › Resource: Latest Resources Block - placed on the homepage
  • Sector › Resource: Resources Page Block - placed on the resources landing page
  • Sector › Resource: Latest Resources (Except Current) Block - placed in the sidebar of resource nodes

Sample content

There are two sample news nodes included as a starting point.

<your-domain>/resources/resource-content-sample

<your-domain>/resources/resource-content-sample-long-descriptive-title

Sector 8 & 9 related entities and configuration 

Sector Resource content type

<your-domain>/admin/structure/types/manage/resource

Resource category taxonomy 

<your-domain>/admin/structure/taxonomy/manage/resource_types/overview

From 8.x-2.0-beta1 (October 2018) terms in Resource category are 'rabbit-holed' to redirect to the archive view page with the term id as argument.

Resource archive and promotional block via the Sector Resource view 

<your-domain>/admin/structure/views/view/sector_resource

The Sector Resource view includes displays for the: 

  • Sector Resource archive 
  • Teaser block - can be embedded in any page
  • Homepage block 
  • Sidebar block 

All view displays work with view modes to allow for consistency and easy display management. 

Related blocks 

<your-domain>/admin/structure/block

  • Latest resources - placed in the sidebar of resource nodes
  • Latest resources - placed on the homepage

Sample content

There are two sample news nodes included as a starting point.

<your-domain>/resources/resource-content-sample

<your-domain>/resources/resource-content-sample-long-descriptive-title

Last updated

Sector 10 is coming!

Find out more in our Sector 10 roadmap.

Need Help?

Sector is brought to you by Sparks Interactive - supporting Sector from Wellington and Auckland

Open Source award winner!

Sparks Interactive are delighted to accept the Open Source Use in Business award for Sector and the Sector.nz open source platform.

Subscribe for Sector updates