By nimazuk on
Hi,
A strange thing happens when I combine Taxonomy List module with Taxonomy Image module to show a taxonomy list with image.
when the page loads, it shows the IMG tag of each image instead of showing the image itself.
Here is the screen shot of the page.
http://drupal.org/files/issues/taxonomy_0.gif
Please help me get through this.
Comments
Two things
First, this should be reported on the Taxonomy List module's issues log, that will usually get you faster and more correct attention.
I don't like encouraging a hack, but you can use it to produce a patch. You need to find in the Tax_List module where it's building the link. The API for the L function will tell you how to specify that it's an HTML link. I'm pretty certain that is the problem.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
NancyDru
how can i fix it?
hi,
Thanks for your attention and help.
I have already submitted the problem as an issue to both Taxonomy List module and Taxonomy Image module, but no reply so far.
May I ask you to explain more about this problem? where is the problem exactly and how can i fix it?
N.Mehrabany
niGraphic web design & photography
Nima
Well...
I don't currently have a test set up for taxonomy_list, but here's an educated guess:
Change line 266 in taxonomy_term to:
Try it it out and let me know. If it works, I'll submit a patch for your bug report.
See http://api.drupal.org/api/5/function/l for the exact specs on the L function. Note the description of the $html parameter.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
NancyDru
Thank you so much! It works!
Thank you so much for your help!
It works. I replaced that line in taxonomy_list and it overrides html setting in common.inc.
once again thank you!
N.Mehrabany
niGraphic web design & photography
Nima
I submitted a patch
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
NancyDru