coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: romans815 on February 13, 2005, 05:55:42 AM

Title: Login
Post by: romans815 on February 13, 2005, 05:55:42 AM
Is there a way to remove the login link?
Title: Re: Login
Post by: Lapino on February 13, 2005, 03:35:07 PM
As far as I know, the only way to do this is to remove the link in your theme file.
Title: Re: Login
Post by: Joachim Müller on February 14, 2005, 07:35:05 AM
that's correct - even if you disallow user to register at all on your site, you (as admin) still have to log in. It's save to remove the login link from the manin menu however and directly access the login page by entereing the url manually. Edit themes/yourtheme/theme.php, find<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>and replace with<!--<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>-->Do not completely remove the surrounding code, just comment it out.

Joachim
Title: Re: Login
Post by: HecticDMC on June 05, 2005, 05:23:18 AM
{Nevermind, I solved my own problem shortly after I posted this... turns out I was accessing the wrong CPG installation (I have two)... boy do I feel dumb  ;D}