2013-07-19 34 views

回答

0

我想,你可以去頁面的人/人/權限,並取消選中此選項的匿名。

要隱藏字段,你可以創建節點 - YOUR_CONTENT_TYPE.tpl.php

在此模板你可以檢查用戶角色:

global $user; 

// Check if the user has the 'authenticated user' role. 
if (in_array('authenticated user', $user->roles)) { 
    //show your field 
} 

而且你總是可以從CSS隱藏 - )

。未登錄.YOUR_CLASS_FIELD {display:none;}