Neil E.
Active member
I'm working on ad_below_bottom_breadcrumb.
PAGE_CONTAINER calls ad_below_bottom_breadcrumb for every page.
I only want to display the ad on the conversation_view and thread_view pages.
In ad_below_bottom_breadcrumb I have:
<xen:hook name="ad_below_bottom_breadcrumb" />
<div class="bottomAd">
<div style="text-align: center;">
"....google ad script here...."
</div>
</div>
In EXTRA I can do a display: none for the class bottomAd in all pages EXCEPT conversation_view and thread_view. So the ad only shows where I want, however the ad "space" is still present in all the other pages, pushing the footer down.
I think I need a conditional in PAGE_CONTAINER that would be something like:
<xen:if is="{conversation_view}+{thread_view} />
<xen:include template="ad_below_bottom_breadcrumb" />
</xen:if>
Ideas?
PAGE_CONTAINER calls ad_below_bottom_breadcrumb for every page.
I only want to display the ad on the conversation_view and thread_view pages.
In ad_below_bottom_breadcrumb I have:
<xen:hook name="ad_below_bottom_breadcrumb" />
<div class="bottomAd">
<div style="text-align: center;">
"....google ad script here...."
</div>
</div>
In EXTRA I can do a display: none for the class bottomAd in all pages EXCEPT conversation_view and thread_view. So the ad only shows where I want, however the ad "space" is still present in all the other pages, pushing the footer down.
I think I need a conditional in PAGE_CONTAINER that would be something like:
<xen:if is="{conversation_view}+{thread_view} />
<xen:include template="ad_below_bottom_breadcrumb" />
</xen:if>
Ideas?