How to hide the Contributions page from My Activities?

Answered

2 Comments

  • John Streeter

    Found the answer.

     

    Since there isn't actually a My Activities page, this is easier to do than you might think!  What is linked to as "My Activities" is actually the Requests page (by default), which has links to the Contributions page (contributions_page.hbs) and the Following page (subscriptions_page.hbs).

    So, to remove the Contributions tab from "My Activities", simply remove or comment out the link from two pages:

    • requests_page.hbs
    • subscriptions_page.hbs

    The resulting code looks like this:

    ul class="collapsible-nav-list">
    <li class="current">
    <a href="{{page_path 'requests'}}" aria-current="page">{{ t 'requests' }}</a>
    </li>
    {{!-- <li>{{link 'contributions'}}</li>--}}
    <li>{{link 'subscriptions'}}</li>
    1
  • Nicole Saunders
    Zendesk Community Manager

    Thanks for coming back and sharing your answer, John!

    0

Please sign in to leave a comment.

Powered by Zendesk