[pmwiki-users] Re: Current group search

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 30 09:39:01 CDT 2005


On Thu, Jun 30, 2005 at 03:27:34PM +0100, Hans wrote:
> Thursday, June 30, 2005, 2:58:16 PM, chr wrote:
> > Or did you 
> > mean how to always (automatically) make the search local to the current
> > group?
> 
> yes. I hope for a php switch which I can set to make the search either
> over all pages in the site or over just the pages of the current group,
> automatically, without anything being entered in the searchbox
> indicating a group name, so users may not even get an indication of
> other groups existing.
> 
> With the searchpattern I can specify a specific group for the search,
> but I fail to see a search on the current group.

If you're using PmWiki's standard searchbox, it can be done with:

    (:searchbox group={$Group}:)

This causes the search to default to searching in the current group
only.

Pm



More information about the pmwiki-users mailing list