[pmwiki-users] pagetextvars and selection in pagelist

Knut Alboldt pmwiki at alboldt.de
Mon Jun 4 16:18:20 CDT 2007


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



More information about the pmwiki-users mailing list