Page specific visibility settings
Display a block only to the user who's User ID = 1:
<?php
global $user;
if ($user->uid == 1){
return TRUE;
}
else {
return FALSE;
}
?>
Display a block only for a speci...
原创
2010-06-21 02:42:50 ·
121 阅读 ·
0 评论