http://pmwiki.org/wiki/Test/Ptv has additional examples from
http://pmwiki.org/wiki/PmWiki/PageTextVariables

On the latter page see the example captioned
Example: multiple selections with spaces

I think you will find you want

(:pagelist group=anygrp $:test01="-test me":)

however in attempting to produce a working example I find that 
I cannot create one.

Simon



Knut Alboldt wrote:
> I read the docs and tried to analyse the php-code but I still got a 
> question:
>
> Is it possible to define a pagelist selection using a pagetextvariable 
> and displaying all pages which do not have a certain value of that 
> pagetextvar, e.g. show all pages of group with a content of pagetextvar 
> test01 not equal to "test me" ?
>
> e.g.:
>
> (:pagelist group=anygrp $:test01=-"test me":)
>
> I tested the following, which was ok:
>
>
> (:pagelist group=anygrp $:test01="test me":)
>
> = display pages with var test01 set to "test me"
>
>
> (:pagelist group=anygrp $:test01=testme:)
>
> = display pages with var test01 set to "testme"
>
>
> (:pagelist group=anygrp $:test01=-testme:)
>
> = display pages with var test01 not set to "testme"
>
> so I expected:
>
>
> (:pagelist group=anygrp $:test01=-"test me":)
>
> = display pages with var test01 not set to "test me"
>
> but that doesn't work.
>
> Again:
>
> (:pagelist group=anygrp $:test01=-test?me:)
>
> = display pages with var test01 not set to "test me" (but I think that 
> would also match "test4me" ?)
>
> Can anybody please help ?
>
> Knut
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to