coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Danaldinho on November 06, 2008, 09:56:40 PM

Title: Remove Login Link
Post by: Danaldinho on November 06, 2008, 09:56:40 PM
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
Title: Re: Remove Login Link
Post by: Danaldinho on November 06, 2008, 10:02:39 PM
Sorry, didn't see the FAQ at the top, please delete

Sorry aga :'(in
Title: Re: Remove Login Link
Post by: dmb0058 on November 29, 2008, 12:35:56 AM
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.
Title: Re: Remove Login Link
Post by: dmb0058 on November 29, 2008, 12:48:35 AM
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.