Is there a way to turn off the "Who's New" and "Who's Online" blocks for anonymous users? I can go into the admin->blocks menu and turn the blocks off, but then they won't be defaulted on for registered users like I want. There's no item in the role permission edit screen for those blocks.

Skorch
www.gonzotravel.net

Comments

joe@www.joepilot.net’s picture

The only way I can think of is editing the .module file themselves. I did this with the navigation menu for a mostly static site. You could add a line at the begin of the _block hook function like so:

global $user;
if (!$user->uid) { return null; }

Just an idea, I'm not sure if it will work.

skorch’s picture

That is what I ended up doing.