[pmwiki-users] How to specify target page for search results?

Roman romat2 at gmail.com
Tue Jan 2 11:18:21 CST 2007


On 1/2/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Tue, Jan 02, 2007 at 05:44:30PM +0100, Roman wrote:
> > On 1/2/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > >On Tue, Jan 02, 2007 at 02:51:17PM +0100, Roman wrote:
> > >> Searchbox markup allows to specify target page for search results.
> > >> Does anyone know how to specify target in typical configuration in
> > >> which searchbox is defined in skin template?
> > >
> > >Which skin?
> > >
> > E.g. default pmwiki skin. I want Site/Search as a target page for
> > search results (not the current one).
>
> In a local customization file, use:
>
>   $SearchBoxOpt['target'] = 'Site.Search';
>

It does not seem to work. I put it to config.php and search results
are still displayed in current page. I tried also clean installation
where above line is the only significant one.

Roman




More information about the pmwiki-users mailing list