Funnelback for higher education results page configuration - tabs

This guide applies to the Squiz Experience Cloud version of Funnelback for higher education. See the v15.x Funnelback for higher education documentation for earlier releases.

The tabbed navigation allows a user to view only results from a specific section of the website (e.g. "News", "Events") or a specific source repository (e.g. "Staff", "Courses").

tabbed navigation

The tabbed navigation usually starts with an All tab displaying all results <1>. The "All" tab is selected by default if present. Each tab has a name <2>, and shows the estimated number of results <3> for this tab. An optional icon <4> can be displayed.

Tabs results content

The tabbed navigation is defined in the faceted navigation configuration for the results page. The tabbed navigation corresponds to the tabs facet.

Results get assigned to tabs based on their URL prefix, or membership to a specific data source. For example:

Tabs and faceted navigation

The selected tab can affect which facets are displayed. For example it’s possible to display only a Date and Format facet when the All tab is displayed, and only a Campus location facet when the Staff tab is displayed.

This is controlled using the stencils.tabs.default=<TAB-NAME> configuration option (see below).

tab facet 1
Figure 1. 'People' tab shows a 'Campus' and 'Department' facets
tab facet 2
Figure 2. 'Events' tab shows different facets

Tabs configuration options

The set of tabs is configured by creating a tab facet using the standard faceted navigation editor within the administration dashboard.

The order of the tab categories is determined by the order of the categories as defined in the faceted navigation configuration.

The following additional settings can be configured using the results page configuration:

Configuration key Value Description

stencils.tabs.default

<TAB-NAME>

Controls which tab is selected by default when the results page loads.

stencils.tabs.icon.<tab name>=<CSS classes>

Specific CSS based icon to use for a given tab. This is usually used with Font Awesome icons. For example to configure a graduation cap icon on the courses tab, use: stencils.tabs.icon.Courses=fa fa-graduation-cap. Note that the tabs are configured using the standard Funnelback faceted navigation configuration interface.

stencils.tabs.facets.<tab name>