removing ALL menu items removing ALL menu items
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

removing ALL menu items

Started by axtolf, April 01, 2006, 04:20:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

axtolf

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?

Castilla

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

Adriana Castilla

Joachim Müller

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.