[solved]: getting rid of the Login link in {MAIN_MENU} [solved]: getting rid of the Login link in {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

[solved]: getting rid of the Login link in {MAIN_MENU}

Started by ipodlounger, February 24, 2004, 09:59:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ipodlounger

how can i get rid of the Login link in {MAIN_MENU} navigation...

i tried deleting it from theme.php but it gave me an error when trying to login... it was looking for the Login link in theme.php but was not found due to commenting it out...

thanks

Joachim Müller

you mustn't delete the comments surrounding the actual html link (is needed for theme.php to actually find it's way round).
To remove the login link, edit /themes/yourtheme/theme.php and find<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
and replace it with<!-- BEGIN login -->
                        <!--<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>-->
<!-- END login -->

You can even replace it with<!-- BEGIN login -->
<!-- END login -->
, but you can not just delete it!

GauGau

ipodlounger