Tuesday, October 7, 2008, 7:30:29 PM, Ian MacGregor wrote: > How do I modify ?action=search and (:searchbox:) so that they ignore a > certain group?
from http://www.pmwiki.org/wiki/Cookbook/SearchResults : To change the default listings to exclude RecentChanges, AllRecentChanges, GroupHeader, and etc., use [add to config.php] something like: $SearchPatterns['default'][] = '!\\.(All)?Recent(Changes|Uploads)$!'; $SearchPatterns['default'][] = '!\\.Group(Print)?(Header|Footer|Attributes)$!'; Similarly, you can exclude groups. $SearchPatterns['default'][] = '!^Site\\.!'; $SearchPatterns['default'][] = '!^PmWiki\\.!'; (excludes Site and PmWiki groups from default searches) hope this helps! ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
