[pmwiki-users] Doing Pagelist includes only when include exists?
Martin Fick
mogulguy at yahoo.com
Wed Jun 20 15:30:38 CDT 2007
--- Ben Wilson <dausha at gmail.com> wrote:
> I'm trying to do a pagelist based on sections of
> other pages (e.g. Page#from#to). However, sometimes
> the #from#to is empty. How would I ignore those
> pages?
This may or may not work, worth a try:
[[#fmt]]
(:if ! equal '' (:include {=$#from#to}:) :)
Not Blank, go ahead and include.
[[#fmtend]]
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
More information about the pmwiki-users
mailing list