Help with removing main menu Help with removing main menu
 

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

Help with removing main menu

Started by Glennard, March 05, 2005, 04:00:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Glennard

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?

jmc

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
I'm trying hard... at least!