[pmwiki-users] Conditional Content based on pagelist.

Mark Bacas mbacas at gmail.com
Fri Mar 12 12:45:19 CST 2010

I have the below on a page in my system:

%green%'''Open Partner Portal Issues'''
(:pagelist fmt=#GTDlist order=-time
group=GTD.2010*,-GTD.GTD,-GTD.RecentChanges $:context=partner,

I'd like it If the pagelist ends up not containing any pages to not
display this section at all.

Right now, I end up with a green "Open Partner Portal Issues" header
but nothing under it. I only want the heading to show up if there is
content to display under it.

I looked at the conditional markup page
(http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup), but think I'm
missing something.


 - Mark

More information about the pmwiki-users mailing list