Back to top anchor
Open main menu Close main menu

Sector Guide

The Sector guide provides step-by-step guidance for your Sector Projects.

Sector Page content setting - Show teaser list of submenu items

For hierarchical content in menus, Sector provides an easy to use option to show the child pages of a parent page.

An introduction on Page content settings can be found on the Sector Page content type page.    

Features and functionality

  • Page content setting 'Show teaser list of submenu items'
  • Sector sub menu pages view with a block display to configure settings. 
  • A Page Teaser alternate Display Suite view mode to configure displays. 

Required Drupal contribution modules

  • Views Menu Node Children Filter 
    The module allows us to add a contextual filter to Views to retrieve a pages's child pages according to the menu structure. 

Related entities and configuration (Sector D8)

Via Page - Content setting taxonomy (Automated contextual content)

<your-domain>/admin/structure/taxonomy/manage/automated_contextual_content

The term 'Show teaser list of submenu items' allows the editor to list child pages per node and is used as a condition to display the block.

Sector sub menu pages view  

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

The Sector sub menu pages view loads the child pages and provides a block display: 

  • Sub menu pages (Teaser Alternate)

The block display is hooked into Display Suite view mode Teaser alternate to allow consistency and easy display management.

Related blocks under block layout 

<your-domain>/admin/structure/block

  • Sector sub menu pages: Sub menu pages (Teaser Alternate)  - placed in the post-content region and restricted via the term condition.  

Sample content

  • The Section A entry pages shows the child page list <your-domain>/section.  

 

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

Find out more

Subscribe for Sector updates