Closed (fixed)
Project:
Drupal core
Version:
5.1
Component:
block.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Aug 2007 at 08:50 UTC
Updated:
7 Aug 2007 at 15:36 UTC
It will be possible if only the administrator can choose in its account settings if he can see or not a block?
I try to explain:
- in block settings I should say: let admin to hide the block but leave it visible for all other users.
- in the account settings only the admin will have the check for the block visibility.
Is it possible?
Comments
Comment #1
devbox commentedThe same for the show of a block: the administrator my see a block but other users not.
Comment #2
devbox commentedOk, I find this way:
Go to
Administer › Site building › Blocks
Configure the block and for "Show block on specific pages" set
Show if the following PHP code returns TRUE (PHP-mode, experts only).
In the textbox write
This show the block to all except to the first user (the admin).