Is there a way to paginate a list of categories? For example, I have 9 categories and would like to display 3 categories with their description on each page. It seems like it should be as easy as the following, but no luck.
{exp:channel:categories limit="3" paginate="bottom"}
<a href="http://{path=channel/index}">{category_name}</a>
{if category_description}{category_description}{/if}
{paginate}
{if previous_page}
<a href="http://{auto_path}">Previous Page</a>
{/if}
{if next_page}
<a href="http://{auto_path}">Next Page</a>
{/if}
{/paginate}
{/exp:channel:categories}
Not natively, categories are generally used for classifying channel entries.
What I’ve done in the past that’s broadly similar is use a special “categories” channel where you add one entry per channel - you can then use a channel entries tag to output information and paginate as needed.
The other approach is to use relationships rather than categories for classifying stuff.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.