I am trying to add a sorting mechanism to the recent page (forum/recent) exactly like the one the category page (/forum/category/) where the topics can be sorted either from newest to oldest, oldest to newest, most posts. is that possible?
@pichalite said in Custom Homepage: Recent + Categories:
Yes. Create a plugin to add recent topics data to categories route. Modify the theme template to show this data.
Could you add just a little more detail to this?
I have a custom homepage and Im trying to add a list of categories using:
<!-- IMPORT categories.tpl -->
But it just displays: No new posts.
Do I have to hook into something to add the category data?