removing top login link on Carbon theme

jagy2a

Joined: 2009-09-30
Posts: 14
Posted: Sat, 2011-01-15 18:40

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

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2011-01-15 18:52
 
jagy2a

Joined: 2009-09-30
Posts: 14
Posted: Sat, 2011-01-15 19:55

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?

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2011-01-15 20:21

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

 
jagy2a

Joined: 2009-09-30
Posts: 14
Posted: Sat, 2011-01-15 21:01

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

 
jagy2a

Joined: 2009-09-30
Posts: 14
Posted: Sat, 2011-01-15 21:27

I'm so sorry !!! I'd forgotten to clear the template cache!

It worked just fine !

Thanks for your quick response !!!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2011-01-15 21:35

Clear your browser cache. I don't see a login link when I visit the site.

****
Seen your post above.

--
dakanji.com