Ray Active member Nov 14, 2010 #1 I need to add some code to the footer of the [threads] page and it should only affect guests. What are the conditionals I should use and what template should I modify? Thanks p.s. tried the footer template but it affects all the pages.
I need to add some code to the footer of the [threads] page and it should only affect guests. What are the conditionals I should use and what template should I modify? Thanks p.s. tried the footer template but it affects all the pages.
Jake Bunce Well-known member Nov 14, 2010 #2 Admin CP -> Appearance -> Templates -> footer Use this code: Code: <xen:if is="{$contentTemplate} == 'thread_view' AND !{$visitor.user_id}"> THIS CODE WILL SHOW FOR GUESTS ON SHOWTHREAD PAGES </xen:if> Upvote 0 Downvote
Admin CP -> Appearance -> Templates -> footer Use this code: Code: <xen:if is="{$contentTemplate} == 'thread_view' AND !{$visitor.user_id}"> THIS CODE WILL SHOW FOR GUESTS ON SHOWTHREAD PAGES </xen:if>