and Cookbook:Pagelist Template Samples.
The (:pagelist request=1 req=1:)
directive can be used instead of (:searchresults:)
to remove the "Results of search for" message.
The req=1 parameter disables the pagelist until search results are returned.
This can be used in many more cases than the default pmwiki search.
Data from pages with PTVs, etc can be searched, filtered, and reordered.
Note that the default ordering is of text strings, ie. 1, 10, 2, 3 and not the numeric value 1, 2, 3, 10, but a custom pagelist sort function (see the cookbook?) can return any order required.
Readers can create targeted and customized search results simply by typing the relevant parameters , e.g. "group=PmWiki", into search boxes together with their search string. Authors can predefine such targeted and customized searches by incorporating the parameters into pages using the (:searchbox:)
and (:searchresults:)
directives (documented at PageLists).
(:searchresults:)
can be customized by editing page Site.Search
.
See also
Any search that is run from this page will automatically generate pre-defined sets of search results that: target different clusters of pages (documentation, cookbook and PITS, if available); use customized formats, content and ordering; and reveal the specific parameters used to generate each search result. Whether you use the search box below, or the regular search box that appears at the top of this page, any search that you run from this page will provide the customized results.
All DocumentationResults of search for group=PmWiki fmt=#onegroupdesc order=name link=PmWiki.Search:
AvailableActions |
Note: The strings that were used to target and format each search result are shown above in 'italics and can be entered directly into a regular search box.