[pmwiki-users] PAGELIST / Wikiform PTV List Search
edwin.marte at leidba.com
Fri Jul 24 08:18:02 CDT 2009
I don't know if the subject best describe the message but here are my
I have a group of pages created with wikiforms, so what we have are
variables on the form :variable: data
There are a few ones where I use checkboxes so what I then have is something
like this: :variable: opt1,opt2,opt3
I need no to do is to make a pagecount for these variables with checkboxes.
I have not been able to make an accurate count yet. It should be easy,
probably somebody else hade done already and could give me some hints.
Here is my pagelist to produce a simple Pagecount
Here Only pages with Opt1 but not opt2 or opt3 are counted (:pagelist
$:Variable=Opt1 group=Test fmt=#template:)
Here Pages with opt1 and opt2 are counted but it will also count the ones
with the 3 options set at the same time
(:pagelist $:Variable=Opt1,Opt2 group=Test fmt=#template:)
Here to solve above problem (:pagelist $:Variable=-Opt3 group=Test
How can I make the pagelist to count the pages for any combination of the
options (opt1 only, opt2 Only, opt1 and opt2, opt3 and opt1 , etc) ?
Please any hints appreciated, conditionals are welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users