Hi, is there a way to completely hide SYS_MENU, but have the login/logout features still work? I would like to get rid of "Home", "My Profile", "Login" links.
I tried two things
1. removing the {SYS_MENU} line from template.html; login.php works, but calling logout.php gives an error:
-> A valid form token could not be found.
-> "File: /home/attila/public_html/imagelib/logout.php - Line: 31
2. left {SYS_MENU} in template.html, and edited theme.php to individually comment out the "addbutton" function calls. However I did not succeed that way either. I am able to hide the "Home" button, but for example I get errors when doin the same for the "My Profile" link.
Any ideas? Much appreciate the help.
Thanks!
Attila / http://www.kibo-studio.com/imagelib/
Not sure, but maybe this plugin will help, http://forum.coppermine-gallery.net/index.php/topic,62665.0.html
Regarding your logout issue. If you don't want to display a logout button you either have to remove the token check for the logout procedure or delete the appropriate browser cookies when you want to logout from the gallery.
I went with installing the "final extract" plugin. It works as advertised! I only had one glitch, it seems that if there is a space in the user group name then it can not save the settings. I removed the space from the group and works perfectly.
Thank you both for the quick response!
Attila
http://www.kibo-studio.com/imagelib/