ABClf wrote: >>From pagelists page doc : > > PTV is set (is not empty): (:pagelist $:MyPageTextVariable=- :)
This would solve your problem. > > Maybe to be used with « if » statement, not sure how to do exactly, > maybe it helps. > No need to use a if statement to exclude pages without PTVs, the code above works just as described. audun > > > 2010/3/9 edwin marte <[email protected]>: >> 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 >> [email protected] >> http://www.pmichaud.com/mailman/listinfo/pmwiki-users >> >> > > > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
