Experimental project

This is a sandbox project, which contains experimental code for developer use only.

A module that creates a block for each vocabulary containing all Taxonomy terms respecting their hierarchies.

This is a module that will work for Drupal 7 only. There is already a Taxonomy Accordion module available for Drupal 6. Support for Drupal 8 is a possibility, if it is required and there is enough interest in this module.

For each vocabulary (e.g. clothes) a block will be created.

Within that block the top tier terms (e.g. t-shirts) will be listed as H3 headings:

T-shirts
Jeans
Hats

The sub-terms (e.g. Long Sleeve T's) will be hidden by default, and can be displayed by clicking on the top tier term that they belong too:

T-shirts
--Long Sleeve T's
--Short Sleeve T's
Jeans
Hats

Click on the top tier again to hide the sub terms. Cookies will remember if accordions are open for each heading, this is handy for sidebar blocks that appear on every page.

Currently limited to one sub term level per top tier! You can have as many tiers as you like within your taxonomy configuration, but they will only be displayed in two tiers (top tier and sub items). Sub sub items will appear as straight sub items, with all subs on the same level.

Project information