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 Events

Sector Events offers a simple and easy to use events section for your Sector site. Included is everything you'll need to get going - an Events content type, automated lists of upcoming events and filtered archives, as well as maps and promotional or contextual blocks to be placed on the homepage or in the sidebar.

Sector Events is an optional Sector Add-on. Sector Add-ons can be downloaded and installed via the Sector Events project on Drupal.org or using composer. The Sector Events components and configuration make it easy to get started, and the sample content makes it easy to grasp the main features. 

Required Drupal contribution modules

  • Sector Events has dependencies to - and requires components from - the Sector Starter Kit (8.x-2.0-beta1 or later)
  • Sector Events enables the core Datetime Range module (if not already active). 

Additionally to Sector the Events require 

Features and functionality

Sector Events includes:

  • Sector Event content type and displays
  • Sector Events category taxonomy to categorise your events and allow your audience to filter by type       
  • Sector Event landing page and an Events archive based on Drupal views 
  • Sector Event sidebar promoting other upcoming events. 
  • Sample content to make it easy to get started

Related entities and configuration (Sector D8)

Sector Event content type

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

The Event content type is preconfigured with a base set of fields and Display Suite view modes. 

Sector Events URL path pattern

<your-domain>/admin/config/search/path/patterns/sector_event

Sector Event category taxonomy 

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

The Event categories allow editors to group events into categories. 

Sector Event Landing page, archive and sidebar blocks via the Sector Event view

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

Includes displays for the: 

  • Event landing page under /event - display: Filtered View Upcoming (Page)
  • Event archive under /event/archive, a view page with exposed filters - display: Filtered View Archive (Page)
  • Event sidebar short teaser, a view block loaded into the node sidebar - display: Short Teaser (Block)
  • Teaser block to embed in node content - display (disabled by default): Teaser (Block) 

All view displays are hooked into Display Suite view modes to allow consistency and easy display management. 

Related blocks under block layout 

<your-domain>/admin/structure/block

  • Events type - template element to display type marker in the node view 
  • Sector event: Short Teaser (Block) - sidebar block 

Event permissions

  • On install, the event module sets the Content Editor and Content Administrator permissions to allow editorial users in these user roles to manage events. The permissions for events are the same as for Starter Kit content types e.g. News or Resources. 

Sample content

  • Upcoming event content sample with location map (/events/upcoming-event-content-sample-location-map)
  • Past event content sample (/events/past-event-content-sample)

Known issues and updates

  • The date range issue is resolved with the Events 8.x-2.x-alpha1 release. The alpha1 release requires the sector Starter Kit 8.x-2.0-beta1 or later (October 2018).
  • Maps will only display with a valid Google API key. The key can be added to <your-domain>/admin/config/services/geolocation. 

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