Hi,
I'm using the Carbon theme on Gallery v2.3 and would like to remove the login link (top navigation)
while keeping the login block in the sidebar.
Is there another way of loging in as an administrator if I completely remove both links?
I'm pretty new at this, please help! Thanks
Posts: 1642
See second post in http://gallery.menalto.com/node/69344
--
dakanji.com
Posts: 14
Thanks for your quick response. Didn't work!!
I edited modules/core/templates/blocks/SystemLinks.tpl and copied to modules/core/templates/blocks/local/SystemLinks.tpl
change
{if isset($theme.systemLinks[$linkId])}
to
{if isset($theme.systemLinks[$linkId]) && $linkId != 'core.Login'}
also tried {if isset($theme.systemLinks[$linkId]) and $linkId!='Login'}
The "login" link is still showing. I also cleared the cache.
Read through the all the posts and can't find anything else. Any ideas?
Posts: 1642
I think the "local" thing only works in the templates. So you need to edit whatever file it is insitu. What I do when I change core files is to take a copy first and name it as "filename-x.ext" and then edit filename.ext
--
dakanji.com
Posts: 14
Tried changing SystemLinks.tpl (both core and local)
cleared cache in browser
I'm probably missing a very simple step ! Login still showing !
here's my site : http://moriomatsui-oeuvres.com/main.php
Really appreciate your help!!
Posts: 14
I'm so sorry !!! I'd forgotten to clear the template cache!
It worked just fine !
Thanks for your quick response !!!
Posts: 1642
Clear your browser cache. I don't see a login link when I visit the site.
****
Seen your post above.
--
dakanji.com