Remove "Login" button from main menu Remove "Login" button from main menu
 

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

Remove "Login" button from main menu

Started by mike61es, July 09, 2013, 05:13:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mike61es

Hi. I'm trying for 2 days to remove the "Login" button from the main menu and I've followed all the instructions I've found everywhere without success. When I copy the section "** Section <<<THEME_HAS_NO_SYS_MENU_BUTTONS>>> - START" from the Sample theme.php to MyTheme theme.php I then get a blank screen. If I try and login via http://mysite.com/login.php I also get a blank screen.

Can somebody help please? What am I doing wrong?

Thanks
Mike

phill104

Please post a link to your site and also attach a zipped copy of your theme folder so we can take a look for you.
It is a mistake to think you can solve any major problems just with potatoes.

mike61es

Thanks for your reply.

Website is www.miketriay.com

Attached is the compressed theme folder.

Many Thanks
Mike



mike61es

Nobody have any ideas as to what the problem could be?
Thanks
Mike

phill104

Sorry Mike, been really busy this week as are the other supporters. I will try and take a look tomorrow, please bump this thread if you do not get a response. I only have an iPad with me as I am on the road so cannot look at your file until I get back.
It is a mistake to think you can solve any major problems just with potatoes.

phill104

Another option would be to restore your theme before your edits and use the final extract plugin to configure the menu buttons you wish to remove - http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_final_extract_v1.3.zip/download
It is a mistake to think you can solve any major problems just with potatoes.

mike61es

Thanks for your reply Phill. I'll look into that.

Mike

ΑndrĂ©

IMHO the Final Extract plugin is the easiest way to remove such buttons. For more information, here's the link to its announcement thread: http://forum.coppermine-gallery.net/index.php/topic,62665.0.html