forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Jimbo_Test on September 07, 2005, 11:19:41 pm
-
Hi,
Does anybody know how I could show different menus depending on whether a user was logged in or out?
ie, in PHPBB, the code would be as follows:
<!-- BEGIN switch_user_logged_in -->
SHOW MEMBERS MENU HERE
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
SHOW NON-MEMBERS MENU HERE
<!-- END switch_user_logged_out -->
Any help would be greatly appreciated ;D
-
edit themes/yourtheme/theme.php, find
<!-- BEGIN logout -->
and add links that are suppossed to show only when users are logged in into a new line.
-
:D Cheers Gaugau - Worked beautifully!