[pmwiki-users] How to use different 'EditForm' in different group?

Hans design5 at softflow.co.uk
Wed Feb 20 03:51:46 CST 2008


Wednesday, February 20, 2008, 5:02:35 AM, imoc wrote:


> 1) Using different 'EditForm' in different group;
> 2) If there is no custom GroupEditForm found, use the default;

add to config.php:

  $group = PageVar($pagename, '$Group');
  if (PageExists($group.'.EditForm'))
     $PageEditForm = $group.'.EditForm';

this will use an EditForm page in any group if it exiists,
otherwise you get the default (Site.EditForm)

  ~Hans




More information about the pmwiki-users mailing list