最近の検索


最近の検索はありません

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件のコメント

投稿コメントは受け付けていません。

お探しのものが見つかりませんか?

新規投稿