Excluding templates


Active member
How do I include a template?
<xen:include template="name_of_template" />

How do I include a CSS template?
<xen:require css="name_of_css_template.css" />
From the FAQ ( http://xenforo.com/community/threads/frequently-asked-questions.5183/ ) I learned there is a way to include templates, but is there a way to exclude them? I want to use a small add-on that uses discussionlist to make an aesthetic change to the topic listing, but by doing that it affects another add-on I am using which utilizes discussionlist to display content from the latest topics above the forum listing, so by applying the former add-on I mess up the latter. The latter add-on uses two templates I would like to exclude if possible, if I am going about how to resolve the issue practically.


XenForo moderator
Staff member
There is no way of excluding a template other than editing the template code to remove it or comment it out or by renaming the template.