Simple hierarchical select defines a new form widget for taxonomy fields to select a term by "browsing" through the vocabularies hierarchy.
The widget is available in node forms and as Views exposed filter.
This module has been inspired by Hierarchical select but is much simpler (hence the name ;) ).
Unlike Hierarchical select this module provides a simple widget for taxonomy terms only. As an addition Simple hierachical select works as Views exposed filter.
Dependencies
- Taxonomy module is required to use Simple hierarchical select.
- For better performance you may consider installing the High-performance JavaScript callback handler. It speeds up the load time of each request (for example after selecting a new value) incredibly.
Installation
Install as usual, see http://drupal.org/documentation/install/modules-themes/modules-7 for further information.
Configuration
- Field
- Create a new field (type "Term reference") and select "Simple hierarchical select" as widget type.
- Field settings
- "Display number of nodes"
Displays the number of nodes associated to a term next to the term name in the dropdown.
WARNING: on sites with a lot of terms and nodes this can be a great performance killer (even if the data is cached). - "Allow creating new terms"
Terms may be created directly from within the dropdowns (user needs to have permission to create terms in the vocabulary). - "Allow creating new levels"
If selected users with permission to create terms in the vocabulary will be able to create a new term as child of the currently selected term.
Note: This option is available only if "Allow creating new terms" is checked. - "Force selection of deepest level"
Force users to select terms from the deepest level. - "Output this field with Chosen"
If you install the Chosen module you can decide here on a per field base when to render the dropdowns with Chosen.
- "Display number of nodes"
-
- Views (exposed filter)
- add a new filter using the field set-up as "Simple hierarchical select" or
use "Content: Has taxonomy terms (with depth; Simple hierarchical select)"
as a new filter - use "Simple hierarchical select" as selection type
- select "Expose this filter to visitors, to allow them to change it"
- enjoy ;)
Documentation
Thanks to Ivan Zugec there is now a wonderful documentation on how to install and use Simple hierarchical select: http://webwash.net/tutorials/using-simple-hierarchical-select-module-dru...
Sponsors
Development on Simple hierarchical select is sponsored by undpaul.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Module categories: Content Display, JavaScript Utilities, Taxonomy, Views
- Reported installs: 941 sites currently report using this module. View usage statistics.
- Downloads: 2,875
- Last modified: March 29, 2013
