Webmastersite.net
Register Log In

Adding alternate text several gifs
Editing 'hidden' alternate text

Comments on Adding alternate text several gifs

xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Jan 25, 2006 - 2:58 PM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 26, 2006 - 2:57 AM:

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.

xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Feb 02, 2006 - 2:29 PM:

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?

xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Feb 07, 2006 - 4:55 AM:

Nothing?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 09, 2006 - 8:05 PM:

{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}.
xtree


Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania

Total Topics: 19
Total Comments: 50
xtree
Posted Feb 10, 2006 - 7:55 AM:

Thanks.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.