[pmwiki-users] Listing pages by their category

Chuck Goldstein cgpmw13 at codingmaniac.com
Sat Apr 11 05:07:37 CDT 2015


See a  different solution at:

http://www.pmwiki.org/wiki/Test/PagelistByCategory-cg


Chuck G.


On Fri, 10 Apr 2015 18:12:52 -0500, Simon <nzskiwi at gmail.com> wrote:

> I would like to list a group of pages (e.g. cooking recipes) by their
> categories.
>
> This turned out to be harder that I thought it would be.
>
> My approach needs a nested pagelist,
>
> You can see the approach here
> http://www.pmwiki.org/wiki/Test/PagelistByCategory
>
> 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.
> 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
> (:if equal (:pagelist link=x/y fmt=count:) 0:)
>
> I'd welcome any suggestions on this
>
> thanks
>
> Simon


-- 
Using Opera's mail client: http://www.opera.com/mail/




More information about the pmwiki-users mailing list