[pmwiki-users] SearchExtensions
K.A.Bouton
k.a.bouton at reading.ac.uk
Wed Jul 27 04:51:09 CDT 2005
Have downloaded search.php and search2.php - there are no version numbers -
you might want to add that to your code.
Will test and see if anything comes up
> -----Original Message-----
> From: John Rankin [mailto:john.rankin at affinity.co.nz]
> Sent: Wednesday, July 27, 2005 12:49 AM
> To: pmwiki-users at pmichaud.com; K.A.Bouton
> Cc: pmichaud at pobox.com
> Subject: Re: [pmwiki-users] SearchExtensions
>
>
> On Tuesday, 26 July 2005 9:29 PM, K.A.Bouton
> <k.a.bouton at reading.ac.uk> wrote:
> >Next problem
>
> I have made the code more like the current pmwiki
> pagelist.php code. The old code was possibly creating
> incorrect search box code in a site using a wiki farm.
>
> Try downloading the latest version of search2.php from the
> Cookbook.SearchExtensions and see if that makes a difference.
>
> If not, can I see a url, so I can look at what's being generated?
>
> Other comments below.
> >
> >Have PmWiki.SearchQuickReference with searchbox and sidebar
> with search
> >box
> >
> >1. in the searchbox on SearchQuickReference I enter test
> >A) I get results from ALL groups even though I have searchpattern to
> >exclude various groups
>
> I'm not able to reproduce this behaviour. I set
>
> $SearchPatterns['normal'][] = '!^PmWiki\.!';
>
> in my config.php file and a search correctly omitted
> references in the PmWiki group.
>
> >From the message, it appears you have a farm-based set-up.
> Do you also have a non-farm based installation and does the
> problem also occur in that environment? I tested it in a
> non-farm environment, so this is one possible source of the problem.
>
> >B) in the searchbox on SearchQuickReference I enter Main/test I get
> >just the results from Group Main - which is good.
> >C) If I enter 'test' again in SearchQuickReference I get Warning:
> >preg_replace() [function.preg-replace]: Unknown modifier 't' in
> >/pmwiki/pmwiki.php on line 974 repeated about 30 times in
> the sidebar
> >and in the main window. This is a MarkupToHTML error
> >D) If I hit the back button, then select a link from one of the
> >results, I get the error msg again as above.
>
> Is there a url for the site I can look at, with action=diag enabled?
> >
> >
> >2. If I go to Field/ and enter test in sidebar I get a page
> that wants
> >to be created as Field/Main/index.php/Group/Name which of course
> >doesn't exist?
>
> I think the change I made might fix this -- we can but try it and see.
> >
> >Anyway - not working for me for some reason.
> >
> >An pmwiki action=search that would allow me to have a
> site.searchform
> >or a field.group.searchform, returning either a page in the
> site or a
> >page withing the field would be good.
>
> But first, let's get it working correctly!
> >
> >
>
>
> --
> JR
> --
> John Rankin
>
>
>
More information about the pmwiki-users
mailing list