[pmwiki-users] Disabling RecentChanges for a particular group

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 5 12:15:39 CST 2007


On Thu, Feb 01, 2007 at 03:05:09PM +0000, Chris Stiles wrote:
> Is it possible to do this - remove RecentChanges and not have it
> recreated for a particular group - and/or turn off all change tracking
> (apart from diffs) for a group ?

If you want to turn off all RecentChanges handling for
a particular group, place the following in the group's configuration
file (i.e., local/SomeGroup.php) :

    <?php
      $RecentChangesFmt = array();

If you just want to turn off SomeGroup.RecentChanges, while having
pages in SomeGroup continue to update Site.AllRecentChanges, use:

    <?php
      unset($RecentChangesFmt['$Group.RecentChanges']);

Hope this helps,

Pm



More information about the pmwiki-users mailing list