craigForo Active member Aug 6, 2017 #1 Is there a way to limit what pages ad template material displays on? I would like it to display only on the index page.
Is there a way to limit what pages ad template material displays on? I would like it to display only on the index page.
P Paul B XenForo moderator Staff member Aug 6, 2017 #2 Use a conditional statement. https://xenforo.com/community/resources/conditional-statements.1604/ Upvote 0 Downvote
craigForo Active member Aug 6, 2017 #3 Brogan said: Use a conditional statement. https://xenforo.com/community/resources/conditional-statements.1604/ Click to expand... Thank you! Upvote 0 Downvote
Brogan said: Use a conditional statement. https://xenforo.com/community/resources/conditional-statements.1604/ Click to expand... Thank you!
craigForo Active member Aug 10, 2017 #4 Ok, I only want a specific ad module to display on the index page. How can I identify the index page template for the xyz value? <xen:if is="{$contentTemplate} == 'xyz'"> This content will show on the xyz template </xen:if> Upvote 0 Downvote
Ok, I only want a specific ad module to display on the index page. How can I identify the index page template for the xyz value? <xen:if is="{$contentTemplate} == 'xyz'"> This content will show on the xyz template </xen:if>
P Paul B XenForo moderator Staff member Aug 10, 2017 #5 craigles700 said: How can I identify the index page template for the xyz value? Click to expand... See point 3 of the FAQ here: https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112 In this case it is the forum_list template, but that FAQ will help with identifying any template. Upvote 0 Downvote
craigles700 said: How can I identify the index page template for the xyz value? Click to expand... See point 3 of the FAQ here: https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112 In this case it is the forum_list template, but that FAQ will help with identifying any template.