[pmwiki-users] Pagelist without category.category

Peter Bowers pbowers at pobox.com
Tue Feb 3 06:08:33 CST 2009

On Tue, Feb 3, 2009 at 11:41 AM, Thomas Mensink <thomas at mensink.nu> wrote:

> I tried :
> $SearchPatterns['test'][] = '!^Group\.Group$!';

Try this:

$SearchPatterns['test'][] = '!^([^./]+)[./]\1$!';

If I've worked it out correctly that should exclude any pagenames where the
portion before the period or slash (i.e., the group) is the same as the
portion after the period or slash (i.e., the page).  Thus Logbook.Logbook
would be excluded.

Of course if you change your group homepage format then you'll need to
change this...

Note that since you are using ['test'] you will need to use list=test
instead of list=normal.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090203/df5881f5/attachment.html 

More information about the pmwiki-users mailing list