By neablo on
Hi
how do I hide the primary and secondary links from anynomous users?
I have placed a 'logout' button in the topright corner of the page
and I think it's stupid to logout when you are not logged in yet.
Okay, so far, I think it has to be done with an access control in php but
I'm not sure and I hope somebody is able to help me with that!
thank you very much
regards
neablo
PS the drupal version is 4.6.5 and the the template engine phptemp with friendselectric
Comments
check out this snippet...
check out this snippet... it may be just what you are looking for...
otherwise, change this code (on line 31 of page.tpl.php):
to this:
I haven't actually tested that, so hopefully it works for you..
thank you
hey man
thank you so much, works perfect!
The snippet was not what I've been looking for but your code was!
thanks again