[pmwiki-users] How to customize default search pagelist ?

Petko Yotov 5ko at 5ko.fr
Tue May 24 05:19:25 CDT 2011


On Sunday 22 May 2011 14:54:35, ABClf wrote :
> I know I can customize my search results to get layout different from
> the one automatically used by the default search ;
> but how can I customize the default search layout ?
> 
> I mean, if I want my default search results layout use some dedicated
> pagelist ?

Edit your wiki page Site.LocalTemplates, and create a custom template 
#default:

[[#default]]
(:template first:)
My custom search template
(:template each:)
* [[{=$FullName}]]
[[#defaultend]]

See http://www.pmwiki.org/wiki/PmWiki/PageListTemplates for more information. 
See also http://www.pmwiki.org/wiki/Cookbook/SearchResults .

Petko



More information about the pmwiki-users mailing list