P Paul B XenForo moderator Staff member Feb 9, 2017 #2 See here for the statement: https://xenforo.com/community/resources/conditional-statements.1604/ Here for how to identify the template name: https://xenforo.com/community/resources/how-to.4390/ Upvote 0 Downvote
See here for the statement: https://xenforo.com/community/resources/conditional-statements.1604/ Here for how to identify the template name: https://xenforo.com/community/resources/how-to.4390/
nocte Well-known member Feb 9, 2017 #3 oh, so it must be: Code: <xen:if is="{$contentTemplate} == 'forum_list'"> ... </xen:if> I was a bit confused because i am editing not forum_list but page_container_js_head Upvote 0 Downvote
oh, so it must be: Code: <xen:if is="{$contentTemplate} == 'forum_list'"> ... </xen:if> I was a bit confused because i am editing not forum_list but page_container_js_head
P Paul B XenForo moderator Staff member Feb 9, 2017 #4 Yes, that's it. What are you doing exactly? Some variables are available in PAGE_CONTAINER, otherwise you may be able to pass them to it. See this guide: https://xenforo.com/community/resources/using-variables-in-templates.5034/update?update=18416 Upvote 0 Downvote
Yes, that's it. What are you doing exactly? Some variables are available in PAGE_CONTAINER, otherwise you may be able to pass them to it. See this guide: https://xenforo.com/community/resources/using-variables-in-templates.5034/update?update=18416