I am using the Stripped theme. How do I remove the Login link that appears in the footer?
Hi,
In the footer there is:
1) if you're not logged : a login link
2) il you're logged: a link to the preference page + a logout link
3) il you're an admin : an admin link.
I assume you want to keep (2) & (3) and just remove (1).
For this, you'll have to make a template-extension, and create a new version footer.tpl removing these lines :
{if isset($U_LOGIN)} <a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a> {/if} {if (isset($U_LOGIN) && isset($U_REGISTER))}-{/if} {if isset($U_REGISTER)} <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a> {/if}
Offline
You are correct, I want to remove (1).
I took a look at the footer.tpl file before I posted this and assumed that was the one to edit. Thank you for providing specific information on how to do it.
I'll report back if I get it working.
That worked perfectly. Thank you so much for your fast reply!
Hello,
I'm also trying to remove the 'Login' link in the footer of the 'Simple White' theme. I looked at the footer.tpl file but don't see any reference to 'login'.
This is my footer.tpl file:
Offline
Use CSS and the hidden attribute Check our Doc
Offline
Thanks for replying.
Although this works (and is a simple solution, once you find the appropriate css file), it also hides the link to Piwigo. The wording in the footer file asks that you don't remove the copyright. I don't mind letting others know about this software. It's a great product, and the price is certainly right!
Offline