On Tue, Mar 27, 2007 at 11:51:42AM -0400, The Editor wrote:
> On 3/27/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> >On Tue, Mar 27, 2007 at 11:26:00AM -0400, The Editor wrote:
> >> I suppose I should know this but can't find it in the doc's.
> >>
> >> How does one control the formatting of one's search results so you do
> >> not see the
> >>
> >> "Results of search for : " and "1 pages found out of 2 pages searched."
> >
> >The "Results of search for"... and "1 pages found" strings are currently
> >part of the (:searchresults:) directive. To avoid them one needs to
> >use (:pagelist:) instead to display the output.
>
> But how do you get a user input string to search with pagelist?
(:pagelist request=1:)
The "request=1" says to accept parameters coming from the input string
(via GET or POST).
> I think this would be a great idea. You can have a default template
> which works as the existing display where no fmt is specified.
Oh, the default would be #search defined in Site.PageListTemplates .
A site administrator would be able to customize this in a variety
of ways, by coming up with an alternate [[#search]] template in
Site.LocalTemplates, or changing the options to (:searchresults:) in
Site.Search, or changing the options to (:searchbox:), or altering
the default (:searchresult:) markup definition, or ...
Pm
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users