[pmwiki-users] How can I set up a private area?
Hans
design at softflow.co.uk
Wed Jan 18 10:41:46 CST 2006
Wednesday, January 18, 2006, 4:26:45 PM, H. wrote:
> This code should work better:
> $thisgroup = FmtPageName('$Group', $pagename);
> if ($thisgroup != 'MyPrivateGroup') {
> $RecentChangesFmt['Main.AllRecentChanges'] =
> '* [[$Group.$Name]] . . . $CurrentTime $[by] '
> .'$AuthorLink: [=$ChangeSummary=]';
> } else { $RecentChangesFmt['Main.AllRecentChanges'] = ''; }
> I tested it in config.php and skin.php and it worked both places.
thank you! The wonders of php!
I updated Cookbook/PrivateGroups.
Best,
~Hans
More information about the pmwiki-users
mailing list