Closed (fixed)
Project:
Taxonomy Image
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2004 at 05:30 UTC
Updated:
28 Feb 2008 at 23:43 UTC
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
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
Comment #1
jeremy commentedI'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.
Comment #2
nancydruThis 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
Comment #3
nancydru