I need to show a notice only in a specific forum's thread list, and only on the first page of the threads list. I've searched the forums and resources, and can't find how to do this.
There wouldn't be a condition that would do this for a notice. You could potentially do this with a direct template edit and conditionals, though it won't work like a true notice (dismissability, display, etc).
<xen:if is="{$sidebar}">
<div class="mainContainer">
<div class="mainContent"></xen:if>
<xen:include template="ad_above_top_breadcrumb" />
<xen:if is="{$requestPaths.requestUri} == '/index.php?forums/main-forum.2/'">
<p class="importantMessage">
THIS MESSAGE WILL SHOW AT THE SPECIFIED URI
</p>
</xen:if>
<xen:hook name="page_container_breadcrumb_top">
<div class="breadBoxTop {xen:if $topctrl, withTopCtrl}">
<xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
<xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
</div>
</xen:hook>
<xen:include template="ad_below_top_breadcrumb" />
[/color]
If you use friendly URLs then it won't have the index.php part.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.