I guess you can also add a "show if PHP returns TRUE:
//get the profile node's user:
$node=node_load(arg(1));
$user2=user_load($node->uid);
//get the current users id:
global $user;
//check if they match:
if ($user->uid==$user2->uid){
$match=TRUE;
}
else {
$match=FALSE;
}
return $match;
I don't think this is possible directly in panels 3 either - permissions from the handler are generally based on role or access, not on a specific profile. I imagine you could probably write a plugin that would do it, but that's another ball of wax.
Comments
Comment #1
michelleI don't believe so but moving this to the proper queue just in case. I haven't looked at panels 3, yet, so there's possibly something in there.
Michelle
Comment #2
dorien commentedI guess you can also add a "show if PHP returns TRUE:
Comment #3
esmerel commentedI don't think this is possible directly in panels 3 either - permissions from the handler are generally based on role or access, not on a specific profile. I imagine you could probably write a plugin that would do it, but that's another ball of wax.