Taxonomy Filter

styro - April 17, 2006 - 03:42

The Taxonomy Filter module is designed to present an easy-to-use interface for narrowing down taxonomy listings to find topics that are tagged by multiple terms. This is helpful for sites that use multiple vocabularies to create a multi-faceted information architecture.

The standard Drupal taxonomy module has the ability to do this with the following URL format:

/taxonomy/term/x,y,z

which will display a listing of all nodes tagged with terms x, y and z. However, not many visitors to your site will be aware of this functionality.

The Taxonomy Filter module allows your users to enjoy this functionality without needing to know the URL syntax described above. It does this by displaying a block of links that reference multiple terms from one or more vocabularies. The vocabulary filters are defined in the module's configuration settings. There the site administrator can specify that a vocabulary be 'filtered' by one or more vocabularies. The arrangement of the links in the block can also be specified by selecting one of the four menu templates -- default, cloud, context and dynamic.

For example, if vocabulary A is set to be 'filtered' by vocabulary B (which may be vocabulary A), then whenever someone views the taxonomy listing of a term in vocabulary A they will see a 'filter' menu of terms from vocabularies A and B. This allows the visitor to narrow down the listing by choosing another term - effectively showing them the intersection set of nodes from the two terms.

Filter menu templates

Filter links can be displayed in four different formats:

  • Base (a simple list)
  • Cloud (a tag cloud format)
  • Context (showing parent, child and related terms)
  • Dynamic (a nested list corresponding to term depth)

Drupal 6.x version

The Drupal 6.x version of the module is a complete rewrite. The new version is much more modular and extensible - all of the functionality of the Drupal 5.x version is provided by the core and add-on modules. In addition, the 6.x module can filter on more than two terms (as many as your vocabulary and content will support) when using the base and cloud menu templates.

This version also includes comprehensive test coverage using the Drupal implementation of SimpleTest.

NOTE: The development snapshot is stable and includes the latest code changes and fixes related to issue posts.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02009-May-1833.57 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.12007-Sep-1016.35 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Jun-2438.76 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2009-May-2117.19 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.