[pmwiki-users] Default pagelists to list pages in current group only.

Captain Smack captainsmack at mail.com
Mon Sep 3 23:05:47 CDT 2007


Hello,

How do I make it so that (:pagelist:) only lists pages from the current group? As of now I have this in my local config.php to exclude special pages:

## Exclude Certain pages / groups from search results.
$SearchPatterns['default'][] = '!\\.(All)?Recent(Changes|Uploads|Comments)$!';
$SearchPatterns['default'][] = '!\\.Group(Print)?(Header|Footer|Attributes)$!';
$SearchPatterns['default'][] = '!\\.(Left|Right|Side)(Bar|Menu|Note)$!';
$SearchPatterns['default'][] = '!^Site\\.!';
$SearchPatterns['default'][] = '!^PmWiki\\.!';

but I'd also like to have (:pagelist:) act like (:pagelist group={*$Group}:)

Thanks,
CS

-- 
We've Got Your Name @ www.mail.com!!!
Get a FREE E-mail Account Today - Choose From 100+ Domains




More information about the pmwiki-users mailing list