Conditionals + showthread.php equivalent

Ray

Active member
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.
 
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>
 
Top Bottom