1. 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"

Discussion in 'Resource Manager Support' started by 0ptima, Apr 19, 2014.

  1. 0ptima

    0ptima Well-Known Member

    I want to remove the "Top Resources" and noticed that in the template it is preceded with an if statement

    <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?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:if is="!{$topResources}">

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

    0ptima Well-Known Member

    Thanks, that did the trick.

Share This Page