I just had a thought... sometimes I want to create more than one list of pages on a page. And when I create the second (and third) list, I don't want the pages in the previous lists to appear.

What if (:pagelist:) kept track of it's list of pages in an array, and it was possible to refer to it later, saying that "I want the current pagelist to exclude any pages that occured in the previous list".

Actually, if you extend this so that (:pagelist:) does the search but never shows the list, you could imagine something like this:

        (:pagelist bloopsi  fmt=#hidden:)
        (:pagelist whoopsi  fmt=#hidden:)

        # Show pages from first result, but not occuring in second result
        (:pagelist previous-results=+1,-2 :)

What have now is a way of creating searches, and then combining them.

It's late, so I hope this makes sense.

cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to