Flat taxonomy
This module provides an option to create flat taxonomies, preventing the creation of nested terms. It achieves this by altering term creation and overview forms to disallow parent selection.
This is a very basic module which provide a new option in vocabulary creation/edition form to enforce it to be flat.
As a developer, I faced some situation where the vocabulary was supposed to be flat and development have been done based on that assumption. Later, a contributor creates a new term using the parent field (hierarchical vocabulary). It causes issue on the front-end or at least it is confusing for the contributor.
This module should avoid the situation by removing the possibility to create nested terms.
- Alter the term creation/edition for to be sure it is impossible to select a parent.
- Alter the term overview page to be sure it is impossible to create a nested vocabulary.
The Drupal 7 version of the module has some additional features:
- Drush integration to flatten a vocabulary
- Confirmation step on vocabulary edition form if the form is flagged to be flatten but contains nested terms.
Any new feature to be added to the module is welcomed ;-)
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.