coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Glennard on March 05, 2005, 04:00:09 AM

Title: Help with removing main menu
Post by: Glennard 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?
Title: Re: Help with removing main menu
Post by: jmc 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