By qube on
I thought, I saw an answer in past, but now I can't find it.
Question: Is there a way to show some blocks only to priviledged users (roles)?
I thought, I saw an answer in past, but now I can't find it.
Question: Is there a way to show some blocks only to priviledged users (roles)?
Comments
php block
I would create php block with an 'if' on $user->role in his code.
VTY
Drico
drico: Thank you
Thank you.
The time has come to jump into Drupal API docs :-)
try this
http://drupal.org/node/13266#comment-29543
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
just another thought
you can use taxonomy_access to limit roles to node. You can then have the blocks displayed using the flexiblock module.
Just a thought.
/c4
Having to hand code this is
Having to hand code this is a pain. Is there any reason why we shouldn't be able to restrict visibility to certain roles on a block's configuration page? In the exact same way that you can "restrict block to specific content types" (which I have yet to find a use for).
-zach
------------------------
harkey design
: z