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

[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