By kadams54 on
I'd like to hide the Nav Menu block until a user logs in. spreadfirefox.com appears to work this way--it displays the login block until someone logs in, then it swaps the login block out for the nav menu block. I'm currently using the latest version of CivicSpace, which is based off of Drupal 4.5.
Comments
Me too.
I want to know how this works, too, as I have not yet found a way to control to whom certain block are or aren't visible.
With 4.6 you need to add
With 4.6 you need to add code to your theme template. In phptemplate themes,
http://drupal.org/node/27690
http://drupal.org/node/13266
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Solved!
That's the solution:
http://drupal.org/node/27690
The example from tclineks on the above page was the exact code needed to hide the navigation from anonymous users. Thanks!
How can you use these with a
How can you use these with a menu block that has a collapsed term? So that the term expands when you click it and are taken to its page?