[pmwiki-users] Hot to Filter empty Variables in Pagelist (was PAGELIST / Wikiform PTV List Search)

ABClf languefrancaise at gmail.com
Tue Mar 9 10:18:12 CST 2010


>From pagelists page doc :

PTV is set (is not empty):	(:pagelist $:MyPageTextVariable=- :)

Maybe to be used with « if » statement, not sure how to do exactly,
maybe it helps.

Gilles.


2010/3/9 edwin marte <edwin.marte at leidba.com>:
> My case is teh following, I have a pagelist like this  (:pagelist
> group=testgroup  $:Var="*{$Opt1}*,*{$Opt2}*":)
>
> Mostly this pagelitst works but when opt1 or Opt2 are empty will cause the
> pagelist to show all pages **. Because of the quotes I don't know how to
> make the pagelist works excluding the variables where Var is empty .How can
> I include a filter like that in the pagelist above.?
>
> Best Regards,
> Edwin
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



-- 
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list