[pmwiki-users] Searching

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 9 11:09:57 CDT 2007


On Thu, Jun 07, 2007 at 04:58:48PM -0400, The Editor wrote:
> On 6/7/07, DaveG <pmwiki at solidgone.com> wrote:
> > > Is it possible to change the search action so that it doesn't bring up the
> > > PmWiki pages when you search for
> > > something? I appreciate it a lot if someone answer my question.
> >
> > Putting this inside config.php will exclude the PmWiki group from 
> > search results, which is what I think your asking for.
> >
> > $SearchPatterns['default'][] = '!^PmWiki\\.!';
> 
> I believe you can also put group=-PmWiki in the search box and it will
> do the same thing without having to edit the config file.

It can also be put into the (:searchresults:) directive on 
the Site.Search page:

  (:searchresults group=-PmWiki :)

Pm



More information about the pmwiki-users mailing list