I have the taxonomy image module working.
What I am struggling with is, how do I get the taxonomy image patch to only appear once per page. I tried going directly to my .xtmpl file and pasting....

taxonomy_image_display($term->tid)
or

<?= taxonomy_image_display($term->tid) ?>
or

taxonomy_image_display($term->tid)
?>

none seemed to work. So can I process php directly in a .xtmple file?

I also referred to a patch submitted at http://jony.net/node/21, that seemed to edit the xtemplate.engine to get the image files to appear. Though they started showing up for each node. I was shooting more for a different logo image or a different header image per term.

Any suggestions are welcome!

Jim

Comments

jeremy’s picture

I've not made an example patch for the taxonomy_image module yet, but perhaps it would help you to review the sample patch I included with the banner module. Find it here. The general idea is the same.

nancydru’s picture

Status: Active » Closed (won't fix)

This is too old to fix and Xtemplate is not used much any more.

See also http://drupal.org/node/33620, http://drupal.org/node/73377

nancydru’s picture

Status: Closed (won't fix) » Closed (fixed)