Thanks Petko, Much appreciated :)
Regards, Matt Clinton 65bit Software Limited www.65bit.com On 9 Oct 2013, at 04:04, Petko Yotov <[email protected]> wrote: > Matt Clinton writes: >> I have changed the (:searchresults:) in the Site.Search file to the >> following: >> >> (:searchresults group=-PmWiki,-Site >> name=-RecentChanges,-AllRecentChanges,-GroupHeader,-GroupFooter,-GroupAttributes >> :) >> >> 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? > > 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: > > $SearchPatterns['default'] = array( > 'recent' => '!\.(All)?Recent(Changes|Uploads)$!', > 'group' => '!\.Group(Print)?(Header|Footer|Attributes)$!', > 'pmwiki' => '!^(PmWiki|Site)!', > 'self' => str_replace('.', '\\.', "!^$pagename$!") > ); > > See http://www.pmwiki.org/wiki/Cookbook/SearchPatterns . > > 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. > > Petko > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
