<div dir="ltr">I would like to list a group of pages (e.g. cooking recipes) by their categories.
<div><br></div><div>This turned out to be harder that I thought it would be.</div><div><br></div><div>My approach needs a nested pagelist,</div><div><br></div><div>You can see the approach hereĀ <a href="http://www.pmwiki.org/wiki/Test/PagelistByCategory" target="_blank">http://www.pmwiki.org/wiki/Test/PagelistByCategory</a></div><div><br></div><div>The major issue is that I can't hide the category section headings if there are no pages from the group in that category, as far as I can see, with nesting a further pagelist.</div><div>It seems to be access the a variable which returns the number of pages for a set of pagelist parameters would be useful, e.g along the lines of the syntactically incorrect</div><div>(:if equal (:pagelist link=x/y fmt=count:) 0:)</div><div><br></div><div>I'd welcome any suggestions on this</div><div><br></div><div>thanks</div><div><br></div><div>Simon</div><div><br></div><div><br></div><div><br></div><div><br></div></div>