[pmwiki-users] Listing pages by their category

Simon nzskiwi at gmail.com
Sat Apr 11 17:46:06 CDT 2015


Yes, very good,
I had been hoping I didn't resort to have double nested pagelists.


On 11 April 2015 at 22:07, Chuck Goldstein <cgpmw13 at codingmaniac.com> wrote:

> 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/
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150412/327aabb6/attachment.html>


More information about the pmwiki-users mailing list