IanC
Active member
There have been lots of requests for an article system addon for XenForo, but as yet I couldn't find one that was finished or ready to be integrated in to the core.
So for the time being, I've created a very simple one by just adding a custom template. I thought it may help by outlining how to do this, as it's simple do and works well.
Here's an example of the article listing page and an article:
http://www.win8forums.com/forums/windows-8-articles.24/
http://www.win8forums.com/threads/install-windows-8-in-virtualbox.80/
I'm hoping to add a simple expansion by adding a thumbnail as the avatar placeholder (in time).
To begin:
It should also be possible to re-style the replies so that it looks like a comments section - there are lots of things that are easy to do with the templating system that will allow you to make an article section without needing an addon. Once addons start to appear it should be possible to import them easily enough as they are just within the normal thread/post DB.
So for the time being, I've created a very simple one by just adding a custom template. I thought it may help by outlining how to do this, as it's simple do and works well.
Here's an example of the article listing page and an article:
http://www.win8forums.com/forums/windows-8-articles.24/
http://www.win8forums.com/threads/install-windows-8-in-virtualbox.80/
I'm hoping to add a simple expansion by adding a thumbnail as the avatar placeholder (in time).
To begin:
- Create a "child" to your main style
- Create your article forum(s) and force the new child style choice
- message
- thread_view
- thread_list
- thread_list_item
<xen:include template="message_user_info">
<xen:map from="$message" to="$user" />
</xen:include>
It should also be possible to re-style the replies so that it looks like a comments section - there are lots of things that are easy to do with the templating system that will allow you to make an article section without needing an addon. Once addons start to appear it should be possible to import them easily enough as they are just within the normal thread/post DB.