Change text for "My Activities" in HC

35 コメント

  • Emily Coleman

    It doesn't look like that code works anymore (at least with the Copenhagen Theme), so for anyone still running into this problem, I found this works!

     $('.nav-wrapper .dropdown-menu .my-activities').html('See my tickets');
    $('.sub-nav').find('li').filter(":last");
    0
  • Jessie Schutz
    Zendesk team member

    Thanks for sharing, Emily!

    0
  • Suman Saha

    Hi Team,

    Sorry for being naive ... I'm new to Zendesk...I'm trying to follow the steps here... but wondering what exactly you are pointing as JS tab? When I click on View Theme --> Edit Code I see something like below...

    I understand that the .hbs file refers to different pages/sections of the Help Center applications...and we got the script.js file....I don't see any thing specific as JS tab...can anybody please help me..

    Many Thanks

    Suman

    0
  • Jennifer Rowe
    Zendesk Documentation Team

    Sorry for the confusion, Suman.

    There used to be a JS tab, but now it's a file. Edit the script.js file.

    Hope that helps! We'll update the instructions above.

    0
  • Angela Frey

    I see no change in the Preview mode with either of these (added to script.js)

    $('.nav-wrapper .dropdown-menu .my-activities').html('See my tickets');
    $('.sub-nav').find('li').filter(":last");

    or

    $('.user-nav .my-activities').html(' See my requests');
    $('.sub-nav').find('li').filter(":last");

    0

サインインしてコメントを残してください。

Powered by Zendesk