<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Petko,<div><br></div><div>Much appreciated :)</div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Regards,</div><div><br></div><div>Matt Clinton</div><div>65bit Software Limited</div><div><a href="http://www.65bit.com">www.65bit.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>On 9 Oct 2013, at 04:04, Petko Yotov <5ko@<a href="http://5ko.fr">5ko.fr</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Matt Clinton writes:<br><blockquote type="cite">I have changed the (:searchresults:) in the Site.Search file to the following:<br><br>(:searchresults group=-PmWiki,-Site name=-RecentChanges,-AllRecentChanges,-GroupHeader,-GroupFooter,-GroupAttributes :)<br><br>It is applying the correct filters and working great apart from the fact that all of those arguments are being shown on the web page?<br></blockquote><br>Instead of adding parameters to the (:searchresults:) directive, you can change the default list parameter for the searches. Add this near the end of config.php:<br><br>$SearchPatterns['default'] = array(<br> 'recent' => '!\.(All)?Recent(Changes|Uploads)$!',<br> 'group' => '!\.Group(Print)?(Header|Footer|Attributes)$!',<br> 'pmwiki' => '!^(PmWiki|Site)!',<br> 'self' => str_replace('.', '\\.', "!^$pagename$!")<br>);<br><br>See <a href="http://www.pmwiki.org/wiki/Cookbook/SearchPatterns">http://www.pmwiki.org/wiki/Cookbook/SearchPatterns</a> .<br><br>Note that when you want to search all pages, you need to enter in the search field the parameter list=all after your search terms.<br><br>Petko<br><br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>http://www.pmichaud.com/mailman/listinfo/pmwiki-users<br></blockquote></div><br></div></body></html>