When using taxonomy image with the category module, there is a problem.
When you create a "category" node, the taxonomy image for that category is not displayed on the category node page.. only its child pages.
Looking for some code I can put in my theme that will check if the current node is a category and if so, display the taxonomy image for the corresponding category.
I am using recursion so I am looking to allow the code to look one step down the hierarchy as opposed to strickly upwards..
follow me?
this would make the module much more usable with category image.
I was able to demonstrate this happening by altering the category_node table and adding a cid=nid row for the category node i wanted to display the taxonomy image of cid... so if the node is 3 i would add 3,3.. this worked but messes up the paths in pathauto...
... so the code could deal only with cid and nid...
thanks,
ryan
www.thefractal.org
Comments
Comment #1
nancydruI don't have Category on my system and don't want it. If you can produce a well-tested patch, I will consider it.