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? > For 2.2.0 I've been seriously considering changing this so that > the (:searchresults:) directive simply defaults to having fmt=#search, > and then the strings become part of the #search pagelist template > instead of being hardwired into the directive itself. > > I don't know how many site customizations this might break... but then, > the whole purpose of having a "beta" series is to make improvements > like these. :-) 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. Cheers, Dan _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
