How to hide the Contributions page from My Activities?


2 Comentários

  • John

    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>{{link 'contributions'}}</li>--}}
    <li>{{link 'subscriptions'}}</li>
  • Nicole Saunders
    Zendesk Community Manager

    Thanks for coming back and sharing your answer, John!


Por favor, entrar para comentar.

Powered by Zendesk