[pmwiki-users] ShowHide toggle (:pagelist:) based on page title

Tegan Dowling tmdowling at gmail.com
Thu Aug 3 00:23:49 CDT 2006

On 03 Aug 2006 16:58:26 +1200, John Rankin <john.rankin at affinity.co.nz> wrote:
> On Wednesday, 2 August 2006 8:24 PM, Hans Bracker <hans.bracker at googlemail.com> wrote:
> >On 02/08/06, kirpi at kirpi.it <kirpi at kirpi.it> wrote:
> >> b) Also funny, the very page where the (:pagelist:) is used doesn't
> >> come out in the list itself. Say that I inclide the (:pagelist:) in
> >> PageA, then all the pages are shown, but not PageA. I later move the
> >> command to TestPage, and now PageA shows, but not TestPage.
> >
> >I noticed this, but don't know why it is not listed.
> >
> I think I encountered this a while ago. Does the code include
>     $SearchPatterns['normal'][] = '!$pagename!';
> If I understand correctly, this causes the current page to be
> omitted. If the code includes that line, try commenting it out
> and see what happens.

Or you can both test and work-around by using (:pagelist self=1:),
which (if I'm right) allows the pagelist to output the page that it's

I think.  Anybody confirm?

More information about the pmwiki-users mailing list