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.
I wonder if you know of a way to get taxonomy terms to link back to content that has been tagged using your module.
I'm thinking that the only way I might be able to accomplish this is if I have a term reference field added to my content type, then maybe use a custom module to hook into the node_save event, figure out what terms have been referenced, then programatically fill my term reference field. That way the term page will know to link back to that node.
It sure would be nice if the module had some way of doing this. =D
I really like the module, great job on it. Thanks!
Comments
Comment #1
WorldFallz CreditAttribution: WorldFallz commentedI'm not sure exactly what you're asking-- taxonomy terms already link to content tagged with that term... that's kinda the entire purpose of the taxonomy module in the first place, lol. what am i missing?
Comment #2
shixish CreditAttribution: shixish commentedExample:
I'd like it to be that when you click on the term, it would show the list of pages that have used that term, as is the usual functionality of taxonomy terms.
Does that help to clarify?
Comment #3
WorldFallz CreditAttribution: WorldFallz commentedThanks, that definitely clarifies, but unfortunately I'm still not sure what you mean. The module links to the standard taxonomy term page using the core url taxonomy/term/tid. You can change that in the theme function if you like.
If you mean you'd like the module to also add terms used in the body to a term reference field or otherwise somehow tag the entityt-- sorry, but that's way outside the scope of what this module is meant to do.
Comment #4
sanduhrs