add a incon before login
| yoannelyankee 
      Joined: 2009-09-12 Posts: 9 |  Posted: Mon, 2009-09-14 00:01 | 
| hello at all i would like add a incon before "login" in my navbar, i use silk module for icons. thank you | |



 
 
 
 
 
 
 
Posts: 27300
It will take a bit of work to just add a icon to 'just' the login link.
here is the code that generates the link:
<span class="{$class}"> <a href="{g->url params=$theme.systemLinks[$linkId].params}">{$theme.systemLinks[$linkId].text}</a> </span>in modeuls/core/template/blocks/SystemLinks.tpl
In the for-each loop you could check to see if the text == login and then add your class for css or the icon.
Here is how you can do it for text size:
http://gallery.menalto.com/node/73117#comment-262485
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team