[pmwiki-users] pagetextvars and selection in pagelist
Knut Alboldt
pmwiki at alboldt.de
Tue Jun 5 12:20:54 CDT 2007
Patrick R. Michaud schrieb:
> On Mon, Jun 04, 2007 at 11:18:20PM +0200, 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":)
>
> Try:
>
> (:pagelist group=anygrp $:test01="-test me" :)
That's it ! Thanks !
btw: I'm running pmwiki-2.2.0-beta52.
Switched over from apache2 to abbyss (under winxp on my notebook), runs
a bit faster (I think :)
Is there someting planned to use regex for this selection, something like:
(:pagelist group=anygrp $:test01="/^(this|that|me|you)/" :)
or
(:pagelist group=anygrp $:test01="-/(this|that|me|you)/" :)
?
Knut
More information about the pmwiki-users
mailing list