Closed (won't fix)
Project:
Site map
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2006 at 23:38 UTC
Updated:
20 Apr 2006 at 19:20 UTC
I would like to change line 145:
output . ' ' . l(t('RSS'), "taxonomy/term/{$term->tid}/{$rss_depth}/feed")
To display an RSS/XML image from the misc directory instead of displaying the RSS text. I can't figure out what l(t( is. Anyone have some insight?
Comments
Comment #1
wellsy commentedI believe the "t" (t('RSS'), refers to a variable that 'if the locale module is enabled' will be translated to whatever language you are using.
I think you may be able to just change the "RSS" to whatever you wish....an image link? But I am not sure about this so my advice is to proceed cautiously. IE: make a backup of the file you are modifying....but I guess you will have done that anyway.
Comment #2
amok commentedThanks for the reply wellsy, but I believe that the 't' might mean text although I'm not quite sure. Adding an image link in there will not work, it will just display any text you put in there. I haved changed the output to display the image, but obviously the link to ' taxonomy/term/{$term->tid}/{$rss_depth}/feed ' is broken. Just need to figure the link out really.
Comment #3
frjo commentedThe latest version use CSS to style the text "RSS" so it looks like a RSS/XML image. I will leave it at that.
And yes, the t() function is to make a text string translatable.