I created a panel for my homepage, but which I would like one block to disappear when a user logs in. The problem is that this is not an option because it only says

Access:
authenticated user

but there is nowhere to check the anonymous box.

Comments

dorien’s picture

Maybe you can set the authentication in your block settings, instead of with panels?

or add a "show if PHP returns TRUE":

global $user;
if (empty $user->uid){
$match=FALSE;
}
else {
$match=TRUE;
}
return $match;
esmerel’s picture

Status: Active » Fixed

Are you using user: permission or user: role? User: role has the anonymous checkbox.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.