[pmwiki-users] RecentChanges to actually show AllRecentChanges

Hans design at softflow.co.uk
Mon Jan 9 04:23:38 CST 2006


Monday, January 9, 2006, 6:31:34 AM, Simon wrote:
> Once upon a time I was given the following to change the RecentChanges
> on a page from showing only those for the Group to those for all Groups.

>   if (substr($pagename, -14) == '.RecentChanges')
>     $DefaultPageTextFmt = '(:include Site.AllRecentChanges:)';

you could use $RecentChangesFmt. see
http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#RecentChangesFmt

and redefine
$RecentChangesFmt['$Group.RecentChanges'] = '(:include Site.AllRecentChanges:)';

in config.php, or a $Group.php for a specific group.



Best, 
~Hans                           






More information about the pmwiki-users mailing list