최근 검색


최근 검색 없음

Change text for "My Activities" in HC



2013년 10월 24일에 게시됨

I've seen this question posted quite a bit in the forums, so here is a little how-to on how to change the string for 'My Activities' in HC, as done on http://support.amilia.com

Here's how to change the "My Activities" text

  1. In Guide, click the Customize design icon in the sidebar
  2. Click on Edit Theme to access your template's code
  3. Click the script.js file and add the following code:

//Change string for My Activities

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

As you see, this allows you to change the string to "See my requests"

Here's how to change the text in multiple languages

Follow the steps above but use this code: 

if(currentLanguage === 'Français') {
$('.user-nav .my-activities').html(' Voir mes demandes');
$('.sub-nav').find('li').filter(":last");
}

 This automatically updates the user drop-down menu and the subnav breadcrumbs as well!

Here's what it looks like!


0

35

댓글 35개

게시물 댓글 달기가 중지되었습니다.

원하는 정보를 못 찾으셨나요?

새 게시물