I am trying to add alternate text to new.gif and updated.gif (possible other places where missing). These gifs (as you know) mark which sites/categories are new/were recently updated. I would like to have alternate text to them - problem is they are not directly editable - I think they are included into {CATADMIN}/{LINKADMIN}.
Ive followed your advice and everything went well except for changing the alternate text for updated.gif. Ive replaced the regular {LINKISUPDATED} variable with
It actually displays the alternate text but also add the character ">" to the left of the update image. I have double (mutiple) checked and that extra character is nowhere to be found anywhere near those codelines within displaylinks.tpl
{LINKISUPDATED} isn't a true/false variable, hence my not using it in the earlier post. I don't see a true/false one listed for updates. Will add to the next update as {LINKISUPDATEDBOOL}.
Comments on Adding alternate text several gifs
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
I am trying to add alternate text to new.gif and updated.gif (possible other places where missing). These gifs (as you know) mark which sites/categories are new/were recently updated. I would like to have alternate text to them - problem is they are not directly editable - I think they are included into {CATADMIN}/{LINKADMIN}.
How can these be edited?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Write them out manually instead of using the generic var:
<IF {CATHASNEWBOOL}>image here</IF>
<IF {LINKISNEW}>image here</IF>
Template vars are in the manual.
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
Ive followed your advice and everything went well except for changing the alternate text for updated.gif. Ive replaced the regular {LINKISUPDATED} variable with
"<IF {LINKISUPDATED}><img src="{TEMPLATESDIR}/images/updated.gif"></IF>".
It actually displays the alternate text but also add the character ">" to the left of the update image. I have double (mutiple) checked and that extra character is nowhere to be found anywhere near those codelines within displaylinks.tpl
How can I get rid of it?
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
Nothing?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{LINKISUPDATED} isn't a true/false variable, hence my not using it in the earlier post. I don't see a true/false one listed for updates. Will add to the next update as {LINKISUPDATEDBOOL}.
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
Thanks.