By kimangroo on
It seems that page.tpl.php recognises the existence of $node->taxonomy but I can't seem to get the individual terms (complete with links) that are associated with a node when the node is in single view.
Can anyone help?
It seems that page.tpl.php recognises the existence of $node->taxonomy but I can't seem to get the individual terms (complete with links) that are associated with a node when the node is in single view.
Can anyone help?
Comments
I honestly don't know the
I honestly don't know the real answer to your question (never built a web site with Drupal, just checking it out and saw your post), but I was browsing through taxonomy.module (doing a search for "theme") and found this starting on line 16:
Hope that helps.
Thanks
Thanks for the info! I'm pretty new to Drupal as well so don't really know what I'm talking about but I think hook_ stuff has to be implemented in modules as opposed to in templates for themes like page.tpl.php.
I managed to get what I wanted by using something like this:
Which I mashed together from a few other posts I found. It's probably the wrong way to do this and won't work if you have more than one term I guess, so if anyone wants to show me the correct way, I'd be very grateful!
Thanks Boss
Thanks kimangroo
That really helped me
Subscribing.So with this
Subscribing.
So with this Snippet the $terms can be shown on taxonomy pages (page-taxonomy.tlp.php)?
Also for more than one vocabulary?
Greetings,
Martijn