Taxonomy Sifter is a Drupal module that provides a block with terms which any or all selected must apply to a node for it to be listed when viewing a taxonomy term page, e.g. taxonomy/term/...
The vocabularies used in the block is configurable.
Given the path taxonomy/term/...
, where ...
is the identity number of a taxonomy term, Drupal responds by dynamically building a page with teasers of nodes with the given term applied to them. Often, more than just one term is applied to a node. By combining several terms with either the OR operator (+
) or the AND operator (,
) the returned teasers will correspond to nodes with any or all, respectively, of the terms applied. For a further explanation of taxonomy navigation, see the handbook.
There are several modules that leverage this feature by providing a block with a user friendly interface for combining the terms. Some examples are Refine by taxonomy, Taxonomy Filter, and uBrowser. These modules works as filters which can be refined step-by-step. But, once the taxonomy term page is left, for instance by viewing a node sorted out by the filter, the filter is reset. That is often the desired behaviour. But if the purpose of the filter is to provide a short-list of nodes to be reviewed, it can be very frustrating to reapply the refinement over and over again.
To this end Taxonomy Sifter provides a block where the user can select terms that automatically will be combined with the terms in every request of the form taxonomy/term/...
The selected terms are combined with the same operator already used in the request. If no operator is used, that is a single term is given, the sifter use the operator given in the module's settings. The vocabularies of the terms presented in the sifter block is also configurable.
To combine the terms in a request for taxonomy/term/...
with terms in sifter block, select the terms in question in the sift block, and press the Sift button at the end of the block.
To select a single term, click on it with the mouse pointer. To select all terms between the last selected term and a second term, click on the second term with the mouse pointer while pressing the shift key. To add more terms, repeat the previous step while also pressing the ctrl key. To deselect terms, select them again while also pressing the ctrl key.
To restore the default behaviour of taxonomy/term/...
, press the Reset button at the end of the block.
Standard module installation applies.
admin/access
and select the roles that will be allowed to view the sifter block, and also the roles that will allowed to administer the settings.admin/settings/taxonomy_sifter
. Select vocabularies that should be available in the Taxonomy Sifter block. Select the default term filter. When a taxonomy term page or feed is requested, the given terms are combined with those selected in the Taxonomy Sifter block. If more than one term is given in the request, the combination is done with the operator used in the request. If only one term is given, the operator selected here is used.admin/block
and enable the sifter block.The 5.x version of this module does not have a settings page; all the settings are done in the block configuration page. Once the module is enabled, you may configure the Taxonomy Sifter block as follows:
admin/user/access
and select the roles that will be allowed to view the sifter block, and also the roles that will allowed to administer the settings.admin/build/block
.Show block on specific pages
to "Show on only the listed pages" for "taxonomy/term/*".