I just hacked phptemplate to include taxonomy images also in taxonomy_menu pages. It might be useful for other users of this module. Added are three variables that can be included in the page template:
$taxonomy_image, $taxonomy_name, $taxonomy_description
Can be included as contribution.
| Comment | File | Size | Author |
|---|---|---|---|
| phptemplate.engine.taxonomy_image.patch | 1.95 KB | ñull |
Comments
Comment #1
kaareIsn't this supposed to go into the node template part of the phptemplate engine? Otherwise it would be hard to add the image to the teaser part of nodes.
Comment #2
ñull commentedSupposed? Drupal = freedom. I use taxonomy image to show a different header picture for each taxonomy term, which was purpose behind my patch. What had seen up to now did not support taxonomy_menu, which I am using, so I thought to contribute my humble solution. You want to have it in the node part as well?
Comment #3
nancydruIf this is still needed in 5.x, please update the patch and make it so that anyone can use it.
Comment #4
nancydru