Remove Login Link Remove Login Link
 

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

Remove Login Link

Started by Danaldinho, November 06, 2008, 09:56:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danaldinho

Hi, I want to remove the Login link from my gallery, because if users can't register, theres no point in this link.

So I tried to remove this code from theme.php:

<!-- BEGIN login -->
                                                <li><a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
                                                <li><a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a></li>
<!-- END logout -->


But then you get an error on the gallery :(

So how would I do this?

Thanks

Danaldinho

Sorry, didn't see the FAQ at the top, please delete

Sorry aga :'(in

dmb0058

Well I did see the FAQ, and read it, but I still can't see how  to do this.

Could you share your insight ? I also would like to remove the login/logout links but not the functionality - I am using a Joomla bridge so login/out is active but handled outside of CPG.

dmb0058

OK, got it.

You were referring to the FAQ thread near the top of this forum section, rather than the FAQ document linked at the top of the page.

I also installed the excellent final_extract plugin which does exactly what I was looking for. Kudos to the developer and hope this post helps someone else with my problem.