[pmwiki-users] Can't get (:pagelist:) to ignore group-named page . . .
ameen at dausha.net
Sun Jun 19 13:09:29 CDT 2005
Patrick R. Michaud wrote:
> On Sun, Jun 19, 2005 at 12:35:59PM -0500, Benjamin Wilson wrote:
>>Markup: (:pagelist list=sitemap:)
>>Config: $SearchPatterns['sitemap'] = '!^([^.])\\.$1$!';
>>I am trying to prevent the pagelist from showing pages that have the
>>same name as the group (e.g. GroupName.GroupName). However, as you will
>>see by scanning the page linked to above, they are appearing. The value
>>for $SearchPatterns is one that I graciously stole from the list. It had
>>been posted earlier this week.
> And it was wrong -- I forgot to send the correction to the list.
> The correct pattern is
> $SearchPatterns['sitemap'] = '!^([^.]+)\\.$1$!';
Hmm, problem remains with the revised search string in place.
More information about the pmwiki-users