hi, thanks for this cool module.
i tried modifying the bluemarine node.tpl.php to get this to work.
I've uploaded a taxonomy image, given access permissions to view it, but when i place this bit of code into the template file, i don't see any image on the node, nor do i see anything in the html source of the page from the browser:
taxonomy_image_display($term->tid
I'm no php man (yet), but this was all i could guess to do from the instructions.
thanks! much appreciated for this mod. :-)
Comments
Comment #1
satos commentedIs it possible to create an URL with image? (xtemplate, 4.7.)
Comment #2
paddy_deburca commentedI manually updated the function taxonomy_image_display in the taxonomy_image module to replace the image with a hyperlinked image.
Paddy.
Comment #3
cybe commentedThanks paddy! It works great
I'm wondering what to use instead of "$tid" to get the proper url_alised categories such as http://site/cars instead of http://site/taxonomy/22 please??
Comment #4
paddy_deburca commentedYou need to update the taxonomi_image module to use the url() function.
Hope it works for you,
Paddy.
Comment #5
Leeteq commentedPractical if this module would be configurable in terms of using taxonomy/term/23 _or_ the term name as URL.
The http://drupal.org/project/pathauto module (manually too...) can be used to make path aliases also for taxonomy.
Comment #6
rentex commentedSo could anybody please paste some example code (containing the neccesary changes) on how to get this module working with PHPTemplate Themes?
Comment #7
rentex commentedupsey daysey, the version (version setting for this issue) was automagically set to CVS.
Putting it back to what it originally was, since PHPTemplate has a completely different versioning.
Comment #8
rentex commenteddoh sorry forgot to do what I intended in previous post
Comment #9
wmostrey commentedComment #10
rentex commentedThanks for the prompt reply, but where do I actually paste this piece of code?
I pasted it in node.tpl.php and also in page.tpl.php right after title, but the image wouldnt display.
Any additional steps that are neccesary?
Comment #11
wmostrey commentedIt should go in node.tpl.php right below
Comment #12
MikeyGYSE commentedOkay I've got the code working in Node.TPL.php:
Now that shows as:
http://alphaone.gyse.org.uk/page_tag/errors_and_maintenance
How do I get the "Submitted By" and "Taxonomy Terms" to show to the right of the image, on two separate lines?
Comment #13
MikeyGYSE commentedForget the last bit, fixed it :-)
As we've got the code to display the image I'm going to set this to fixed.
Comment #14
(not verified) commented