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

resources sub nav links

Discussion in 'Resource and Add-on Requests' started by davs, Oct 28, 2015.

  1. davs

    davs Member

    Is there an easy way to remove some sub nav links like " watched categories" , "watched resources", "latest reviews"?

    I figured out a way for "most active authors" by removing some code but the similar didn't work for "latest reviews" and as I am not a coder, I don't want to mess around too much.

    For the forums page, I got some add-ons to remove some of those sub links but I haven't seen any for resources.
     
  2. Russ

    Russ Well-Known Member

    Check out the template resources_tab_links
     
  3. davs

    davs Member

    I will, thank you
     
  4. davs

    davs Member

    I see this, if I want say "watched resources" gone what should I do?

    <ul class="secondaryContent blockLinksList">
    <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=resource_update'}">{xen:phrase search_resources}</a></li></xen:if>
    <li><a href="{xen:link resources/authors}">{xen:phrase most_active_authors}</a></li>
    <li><a href="{xen:link resources/reviews}">{xen:phrase latest_reviews}</a></li>
    <xen:if is="{$visitor.user_id} && {$visitor.resource_count}"><li><a href="{xen:link resources/authors, $visitor}">{xen:phrase your_resources}</a></li></xen:if>
    <xen:if is="{$visitor.user_id}"><li><a href="{xen:link resources/watched-categories}">{xen:phrase watched_categories}</a></li></xen:if>
    <xen:if is="{$visitor.user_id}"><li><a href="{xen:link resources/watched}">{xen:phrase watched_resources}</a></li></xen:if>
    </ul>
     
  5. davs

    davs Member

    I just deleted the whole 2nd last line...would this cause problems elsewhere do you think?
     
  6. davs

    davs Member

    This is whats left now

    <ul class="secondaryContent blockLinksList">
    <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=resource_update'}">{xen:phrase search_resources}</a></li></xen:if>


    <xen:if is="{$visitor.user_id} && {$visitor.resource_count}"><li><a href="{xen:link resources/authors, $visitor}">{xen:phrase your_resources}</a></li></xen:if>

    </ul>
     

Share This Page