Ozan Çorumlu
Member
Greetings everyone. I'm working on my forum almost for one month.
A few days ago I started placing ads and placed an ad on resource_view_header template just before
<xen:hook name="resource_view_header_after_info" /> code.
Problem is my "normal" (not the resources' one) threads already got 3 adsense ads and with this ad there is 4 adsense ads on resource's threads.
I want to hide this ad from thread_view template but code is'nt working. I'm using this conditional to hide it from threads but it'snt working:
Please help me in this case. @Brogan @Chris D @Mike
A few days ago I started placing ads and placed an ad on resource_view_header template just before
<xen:hook name="resource_view_header_after_info" /> code.
Problem is my "normal" (not the resources' one) threads already got 3 adsense ads and with this ad there is 4 adsense ads on resource's threads.
I want to hide this ad from thread_view template but code is'nt working. I'm using this conditional to hide it from threads but it'snt working:
Code:
<xen:if is="!in_array({$contentTemplate}, array('thread_view'))">
AD CODE WAS HERE
</xen:if>
Please help me in this case. @Brogan @Chris D @Mike