SOLVED | login picture
SOLVED | login picture
now you have txt inlogin but how to make login picture ?
Last edited by twc on Sat Dec 29, 2012 12:00 pm, edited 1 time in total.
Re: login picture
Hi twc,
do you mean the login link? You can do it in the template. Replace <?php echo loginlink();?> with the following:
login.png has to be stored directly in the image folder (images/).
Christoph
do you mean the login link? You can do it in the template. Replace <?php echo loginlink();?> with the following:
Code: Select all
<?php if (!$adm) echo a($s > -1 ? $s : 0, '&login') . tag("img src=\"{$pth['folder']['images']}login.png\" alt=\"{$tx['menu']['login']}\"") . '</a>';?>
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: login picture
Or maybe bettercmb wrote:Hi twc,
do you mean the login link? You can do it in the template. Replace <?php echo loginlink();?> with the following:login.png has to be stored directly in the image folder (images/).Code: Select all
<?php if (!$adm) echo a($s > -1 ? $s : 0, '&login') . tag("img src=\"{$pth['folder']['images']}login.png\" alt=\"{$tx['menu']['login']}\"") . '</a>';?>
Christoph
Code: Select all
<?php if (!$adm) echo a($s > -1 ? $s : 0, '&login') . tag("img src=\"{$pth['folder']['templateimages']}login-'.$sl.'.png\" alt=\"{$tx['menu']['login']}\"") . '</a>';?>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: login picture
thanks maby in the next version build in ?cmb wrote:Hi twc,
do you mean the login link? You can do it in the template. Replace <?php echo loginlink();?> with the following:login.png has to be stored directly in the image folder (images/).Code: Select all
<?php if (!$adm) echo a($s > -1 ? $s : 0, '&login') . tag("img src=\"{$pth['folder']['images']}login.png\" alt=\"{$tx['menu']['login']}\"") . '</a>';?>
Christoph