Hi everyone,
Just wondering if someone might have a better way to go about what I wish to achieve.
I plan to publish various documents to their specific category. I also want to make sure I can take advantage of the tags {category_name} and {category_description}
like so :
Category 1
This is the description of category 1
- file 1
- file 2
Category 2
]This is the description of category 2
- file a
- file b
- file c
Here is what I am using currently, but I will have to add this loop for every specific catagory i wish to display.
This example will only list documents for ‘Category 1’
{exp:channel:categories channel="document" show="1"}
{category_name}
{category_description}
{exp:channel:entries category="1" channel="document"}
{title}
{document_description}
{/exp:channel:entries}
{/exp:channel:categories}Is there a better way to go about this, so i only have 1 loop that spits out the category name, its description, its related files, for each category , one after the other ?
Thanks in advance.