removing ALL menu items removing ALL menu items
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.