Core Views Facets

Categories

Component ID

2666804

Component name

Core Views Facets

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

3751

Component created

Component changed

Component body

This is a sub-module to Facets. It provides integration with Views. With this module enabled, exposed filters and contextual filters can be used as facet sources on views pages. Core Views Facets depends on Facets and Views. Search API is a weak dependency through Facets as well, but it does not need to be configured.

This module does not alter the query of the view itself, it only provides URLs built accordingly to trigger the respective filters.

Usage

  1. Create a view to your liking.
  2. Add at least one "page" display.
  3. Add at least either an exposed or a contextual filter.
  4. Create a facet as described by the Facets module.
  5. The view page(s) you created will each be listed as facet sources twice, once for the contextual filters and once for the exposed filters.
  6. IMPORTANT - click the edit button on the facet source itself to assign the "Core views url processor" instead of the default one
  7. Create the facet blocks as described by the Facets module