• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.1 Removing "Top Resources"

0ptima

Well-known member
#1
I want to remove the "Top Resources" and noticed that in the template it is preceded with an if statement

Code:
<xen:if is="{$topResources}"> <div class="secondaryContent miniResourceList"> <h3><a href="{xen:link resources/categories, $category, 'order=rating_weighted'}" class="concealed">{xen:phrase top_resources}</a></h3> <xen:include template="resource_list_mini"> <xen:map from="$topResources" to="$resources" /> </xen:include> </div> </xen:if>
Where can I make $topResources negative so the top resources do not show?
 

Brogan

XenForo moderator
Staff member
#2
<xen:if is="!{$topResources}">

Are you sure that will achieve what you want?
Why not just comment/edit out the code?