Change text for "My Activities" in HC

35 コメント

  • Emily Coleman
    コメントアクション Permalink

    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
    コメントアクション Permalink

    Thanks for sharing, Emily!

    0
  • Suman Saha
    コメントアクション Permalink

    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
    コメントアクション Permalink

    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
    コメントアクション Permalink

    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