coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: axtolf on April 01, 2006, 04:20:02 PM

Title: removing ALL menu items
Post by: axtolf on April 01, 2006, 04:20:02 PM
Hi, I need to remove all the menu items from all the views except the administrator one. I tryed to read some topic and documentation to understand how to do it, but all I got was to remove only one or two menu items or in the whrost cases, an error in the template.
Pratically I want that the user (that will be always an anonimous user) is able only to navigate inside the albums and not able to do nothing else.

Someone please could me help to understand how I can do it?
Title: Re: removing ALL menu items
Post by: Castilla on April 01, 2006, 10:23:35 PM
Hello... Try to go in template.inc.php (inside include folder) and check in:
// HTML template for template sys_menu buttons
// HTML template for template sub_menu buttons
// HTML template for user admin menu

you can desactivate the buttons!!!

Check this : http://forum.coppermine-gallery.net/index.php?topic=25197.0

Hope helps

Title: Re: removing ALL menu items
Post by: Joachim Müller on April 02, 2006, 11:57:20 AM
never, under no circumstances, edit include/themes.inc.php!
Instead, edit themes/yourtheme/theme.php

@Castilla: I understand that you're only trying to help, but you mustn't tell people to edit themes.inc.php

@axtolf: the method differs depending on what type of menu you use. Post a link to your page.