[pmwiki-users] pagelist and PageTextVariable

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 18 17:28:49 CDT 2007


On Sun, Mar 18, 2007 at 07:01:45PM +0100, Christophe David wrote:
>    Could someone please give me a hint how to solve this :
> 
>    (:pagelist $:MyPageTextVariable=YES:) generates a pagelist of all pages
>    with a PageTextVariable called MyPageTextVariable set to 'YES'
> 
>    How to get a pagelist of all the pages where this variable is NOT set, or
>    not set to "YES" ?

All pages where $:MyPageTextVariable is not "yes" (including pages
where it isn't set):

    (:pagelist $:MyPageTextVariable=-YES :)

All pages whre $:MyPageTextVariable is set, but doesn't have 
a value of "YES":

    (:pagelist $:MyPageTextVariable=?*,-YES :)

Pm



More information about the pmwiki-users mailing list