Implement Tag aggregation and details
2.0JizhiCMS includes a built-in Tagging system. When publishing articles or products, you can assign tags. The system provides dedicated pages for tag aggregation and details:
- Tag Aggregation Page:
tags.html(located in the same directory asindex.htmlin your template). - Tag Details Page:
tags-details.html. - Controller:
Home/TagsController.php.
In your tags.html template, you can use {fun dump($pages)} to understand the pagination structure provided by the ArrayPage.php class.
<!-- In your template, use the dump function to inspect pagination -->
{fun dump($pages)}