[pmwiki-users] How to make search engine in PmWiki display (:title:) instead of page url?
Hans
design5 at softflow.co.uk
Thu Nov 30 03:57:50 CST 2006
Thursday, November 30, 2006, 5:20:57 AM, Elias wrote:
> Normally, the search engine in PmWiki list the related pages using the
> url links of pages. Is there a way to make the search results use the
> setting in (:title:) if there is any, instead of the url of pages?
You can configure searchresults just like pagelists:
You can configure the standard search page Site.Search, and modify
(:searchresults:):
(:searchresults fmt=title:)
which should display all searchresults as titles.
Or use your own custom formats, same as for pagelist.
You could add fmt=title also to the (:searchbox:) markup,
or have a custom search page for your searchresults.
Sidenote:
I am working on documenting Search a bit better, since I think many
possibilities are easily overlooked.
Hans
More information about the pmwiki-users
mailing list