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

wellsy’s picture

I 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.

amok’s picture

Thanks 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.

frjo’s picture

Status: Active » Closed (won't fix)

The 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.