coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Gephri on January 20, 2007, 10:53:14 PM

Title: easy text switch
Post by: Gephri on January 20, 2007, 10:53:14 PM
anyone got an idea how to set up a simple switch statement that can be used to tell users not logged in - to do so in order to send e-cards, etc.
would be used on display image page
Title: Re: easy text switch
Post by: Stramm on January 22, 2007, 10:00:47 AM
use the login box plugin. Modify it so that it not only displays the box to unlogged users but in addition some text, or don't let it the display the box at all... as you like it
Title: Re: easy text switch
Post by: Gephri on January 24, 2007, 09:00:37 PM
I'm having some real trouble here.
All I'd like to do is have the usual LogIn LogOut sys_menu buttons show up in my template.html page
    addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');
    addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');

any ideas?