Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [solved]: getting rid of the Login link in {MAIN_MENU}  (Read 2193 times)

0 Members and 1 Guest are viewing this topic.

ipodlounger

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[solved]: getting rid of the Login link in {MAIN_MENU}
« on: February 24, 2004, 09:59:12 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[solved]: getting rid of the Login link in {MAIN_MENU}
« Reply #1 on: February 24, 2004, 10:14:27 am »

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
Code: [Select]
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
and replace it with
Code: [Select]
<!-- BEGIN login -->
                        <!--<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>-->
<!-- END login -->

You can even replace it with
Code: [Select]
<!-- BEGIN login -->
<!-- END login -->
, but you can not just delete it!

GauGau
Logged

ipodlounger

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[solved]: getting rid of the Login link in {MAIN_MENU}
« Reply #2 on: February 24, 2004, 09:14:45 pm »

Thank you... worked perfectly.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.