[pmwiki-users] Default pagelists to list pages in current group only.
Patrick R. Michaud
pmichaud at pobox.com
Tue Sep 4 18:06:57 CDT 2007
On Tue, Sep 04, 2007 at 05:54:29PM -0500, Captain Smack wrote:
> I tried this:
>
> $pagename = ResolvePageName($pagename);
> $group = PageVar($pagename, '$Group');
> $SearchPatterns['default'][] = "/^$Group\\./";
>
> in local/config.php and now (:pagelist:) returns nothing at all.
Sorry, my bad. It should be a lowercase 'g' in the last line:
$pagename = ResolvePageName($pagename);
$group = PageVar($pagename, '$Group');
$SearchPatterns['default'][] = "/^$group\\./";
Pm
More information about the pmwiki-users
mailing list