[pmwiki-users] Searching

Ian MacGregor lists at imacgregor.com
Thu Jun 7 22:39:51 CDT 2007


On Thursday 07 June 2007 1:58:48 pm The Editor wrote:
> On 6/7/07, DaveG <pmwiki at solidgone.com> wrote:
> > Putting this inside config.php will exclude the PmWiki group from search
> > results, which is what I think your asking for.
> >
> > $SearchPatterns['default'][] = '!^PmWiki\\.!';
> >
> >  ~ ~ Dave
> >
> > On Thu, 7 Jun 2007 14:08:12 -0400, Naeimeh.Shakoori-Najafi at dalsa.com 
wrote:
> > > Hello,
> > >
> > > 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.
> > >
> > > Thank you,
> > > Naeimeh
>
> 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.
I think I'd rather edit the config.php file, since that is a one-time thing, 
than have to remember what to include in the search box. Also, my visitors 
may not understand how to use that in the search box.

Ian MacGregor

>
> Cheers,
> Dan
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
-- 
http://www.imacgregor.com
MacGregor Despite Them!



More information about the pmwiki-users mailing list