B bottiger Active member Nov 17, 2012 #1 How do I get the current id of the forum being viewed so I can do something like this? if(forum == 1) foo else if(forum == 5) bar
How do I get the current id of the forum being viewed so I can do something like this? if(forum == 1) foo else if(forum == 5) bar
Russ Well-known member Nov 17, 2012 #2 I have this page bookmarked for reference: http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-182355 How can I show content in a specific forum? <xen:if is="{$forum.node_id} == x"> This content will show in forum x</xen:if>
I have this page bookmarked for reference: http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-182355 How can I show content in a specific forum? <xen:if is="{$forum.node_id} == x"> This content will show in forum x</xen:if>
B bottiger Active member Nov 17, 2012 #3 I am interested in doing this in a plugin instead of a template.