I have imported hundreds of publications (using the feeds module) and ended up with a flat taxonomy vocabulary containing related keywords to the publications.

Afterwards I tried to sort the taxonomies into a hierarchical structure by draging the tags in the taxonomy administration menu, but the effect was that when trying to view all data containing keywords (e.g. apple, pear, orrange) related to the parent (e.g. "fruit"), nothing turned up.

My conclusion is that the taxonomy system knows the hierarchical dependencies in the taxonomy administration, but since the documents do not physically inherit the new parent tag, they are not displayed under "fruit".

Please, can someone clarify for me what I have to do in order to get it to work - other than manually adding the new parent tags to my imported data.

Regards,

Svend

Comments

dman’s picture

Your understanding is correct. What you ask is not unreasonable, but for some reason it's generally not done a lot.
This is partly a database/performance optimization thing. Maybe partly because nobody that wanted that has built it yet?

Try http://drupal.org/project/taxonomy_subterms seems to have a little (but not a lot) of support.

http://drupal.org/project/taxonomy_depth tried to do it but looks like it failed.

STNyborg’s picture

I am glad to hear that my reasoning was not off the mark. Unfortunately my DRUPAL skills are not good enough to master creating a new module for this purpose.

I will look into Taxonomy Subterms, but otherwise await other skilled programmers. What can one do?

Version: 7.12 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.