Wednesday, February 21, 2007, 6:50:17 PM, Yury wrote: > What is the best way to not have a page show in pmwiki's search results? Only > in search results > and for every user.
you can add pages to the default SearchPattern array, or create a custom SearchPattern array and use fmt=custom in your searchresults markup directive. for instance adding this to config.php will exclude any GroupHeader, GroupFooter and GroupAttributes pages from the default search results: $SearchPatterns['normal'][] = '!\.GroupHeader$!'; $SearchPatterns['normal'][] = '!\.GroupFooter$!'; $SearchPatterns['normal'][] = '!\.GroupAttributes$!'; Hans _______________________________________________ pmwiki-devel mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
