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

Alice Heaton’s picture

Version: 5.x-1.x-dev » 6.x-1.02
Component: Code » Documentation

Hello,

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