Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please see #345676: Image in nodes dont link to the right taxonomy term. Taxonomy Image had an issue that seems to be fixed by increasing the module weight on Taxonomy Hide. Perhaps there are other cases where it is important that TH run after other modules. This can be done in the install code easily.
Comments
Comment #1
Alice Heaton CreditAttribution: Alice Heaton commentedHello,
I had the same problem with http://drupal.org/project/menutrails ; if taxonomy hide runs before menutrails then menutrails doesn't have access to the terms anymore. Solution is to make taxonomy_hide heavier than menutrails, and then it works.
I can't see how this can be fixed from taxonomy_hide unfortunately ; setting a random higher weight can't be guaranteed to fix the problem in all cases. I think it's better to document the issue properly on the taxonomy_hide page so that people know about this ; something like "If you use other modules that rely on the vocabularies you want to hide, make sure the taxonomy_hide module is heavier than those modules."
1. I'm setting this issue as 'documentation' rather than 'code'. Please feel free to set back if you disagree with me !
2. The front page of taxonomy_hide says "The Drupal 5 version WON'T be developed anymore." so I'm making this a D6 issue hoping the developer will take more notice of it.
Thanks,
Anselm