Advanced search  

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

Pages: [1]   Go Down

Author Topic: Help with removing main menu  (Read 2391 times)

0 Members and 1 Guest are viewing this topic.

Glennard

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Help with removing main menu
« on: March 05, 2005, 04:00:09 am »

Hi, I was trying to remove the main menu completely from the top of my page, but I want to keep the admin menu for when I'm logged in, but I don't want the public to see anything up top.  I was just going to remove the MAIN_MENU tag from the template.php, but when I do that there's no admin menu at all and then if I try to go directly to an admin function (like config.php) it says I don't have access, so it doesn't look like that'll work.  Any other suggestions?
Logged

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
Re: Help with removing main menu
« Reply #1 on: March 05, 2005, 12:06:13 pm »

Hi, Glennard!
You could always "comment out" all of the main menu button entries in your theme.php? You'd obviously have to leave the "Login" button so you can gain access to the Admin menu.
John Mc
Logged
I'm trying hard... at least!
Pages: [1]   Go Up
 

Page created in 0.099 seconds with 19 queries.