Remove Login Link Remove Login Link
 

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 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.