Taxonomy Set Lineage

Component ID

1744220

Component name

Taxonomy Set Lineage

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1105

Component created

Component changed

Component body

This is a simple module that can automatically select parent terms in a taxonomy.

For instance, imagine a "Geography" taxonomy having all continents, countries
and cities in a tree structure. Users are then asked to tag a piece of content
with this taxonomy. Suppose a user tags a piece of content with "Berlin".
Using the normal drupal taxonomy system, this would be the only term applied
in our tree. The content would not be able to be found under "Germany" or
"Europe". What this little module does is simply make sure that these parent
terms are also selected at the time a piece of content is saved.

By selecting the "Geography" taxonomy in the module administration screens,
a user can ensure that these parent terms are selected and hierarchical
taxonomies become more powerful.

How it works:
If any vocabularies have lineage set, we check entities when they are
saved to see if they have fields referring to these vocabularies. If so,
we automatically select all parent terms of manually selected terms. Note that
this does not override the maximum number of terms selectable in a field. If
for a given field, content creators are only allowed to select one term, this
module will not be able to set any parent terms in that field.

This module should work with any drupal language / i18n / localization strategy.

Configuration can be found at admin/structure/taxonomy/taxonomy_set_lineage or
on the Taxonomy set Lineage tab visible from the taxonomy administration screen.

This module has nothing to do with the Taxonomy Lineage module which allows sorting nodes according to the taxonomy terms on them http://drupal.org/project/lineage

This module differs from the Hierarchical Select and the Taxonomy Term Reference Tree Widget modules in that it does not use a client side javascript widget to show and manipulate heirarchy, but simply automatically populates parent terms.