Trying to create widget to display forum list like this:
It seems that XF\Pub\Controller\Forum is responsible for rendering forum list, so wondering is it possible to somehow use it and change template to "my_template_forum_list" instead of "forum_list" to achieve the goal?
Code:
Parent forum 1
- Sub-forum 1.1 (number of messages in Sub-forum 1.1)
- Sub-forum 1.2 (number of messages in Sub-forum 1.2)
Parent forum 2
- Sub-forum 2.1 (number of messages in Sub-forum 2.1)
- Sub-forum 2.2 (number of messages in Sub-forum 2.2)
- Sub-forum 2.3 (number of messages in Sub-forum 2.3)
...
It seems that XF\Pub\Controller\Forum is responsible for rendering forum list, so wondering is it possible to somehow use it and change template to "my_template_forum_list" instead of "forum_list" to achieve the goal?