[pmwiki-users] hide links for certain groups

Hans design5 at softflow.co.uk
Fri Apr 1 03:00:28 CDT 2011


For use with AuthUser try this 'authgroup' conditional:
add to config.php:

## (:if authgroup <@groupname>:) conditional
Conditions['authgroup'] = '(boolean)@$GLOBALS["AuthList"][\$condparm]';

and use in page like

(:if authgroup @ADgroup:)text shown when authorised belonging to @ADgroup


cheers,
  ~Hans




More information about the pmwiki-users mailing list