Hi MODxers
I have the following code in my ManagerManager rules (mm_rules) which is designed to hide all the specified fields from the client, but show them for the admin (myself). For some reason though it’s not recognising the "don’t apply this rule to the admin" command (’!1’) because it’s hiding all these fields from me as well.
Am I doing something wrong or is there an error in my code?? Any help would be very much appreciated.
$list_tpl = '8';
mm_hideFields('show_in_menu,introtext,link_attributes,content,pagetitle,description,alias,longtitle,template,menuindex,parent,settings', '', $list_tpl, '!1');
mm_hideTabs('settings', '', $list_tpl, '!1');
Thank you!
Harmony