+ Reply to Thread
Results 1 to 9 of 9

Thread: How do I change the 3 dots "show more" to a phrase "show more"?

  1. #1

    How do I change the 3 dots "show more" to a phrase "show more"?

    Dear Flynax Developer,

    Please look at the screenshot i have attached here.

    showmore1.jpgshowmore2.jpg

    Would you kindly guide me how to change that 3 dots to an actual phrase for example $lang.showmore, because in my country people are still not getting used to all of the tech, and they might not understand that 3 dots mean show more.

  2. #2
    Hello Wei Hong,

    Go to ftp://templates>>your_template>>tpl>>menus>>main_menu.tp l

    find line:

    Code:
    Only registered members can view the code.
    and write text instead of inside spans
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Quote Originally Posted by Viktor View Post
    Hello Wei Hong,

    Go to ftp://templates>>your_template>>tpl>>menus>>main_menu.tp l

    find line:

    Code:
    Only registered members can view the code.
    and write text instead of inside spans
    Thanks Viktor,

    That works great for the main menu. How about the one in search page on mobile?
    http://mobiletest.me/iphone_5_emulat...om/search.html

  4. #4
    Hello Wei Hong,

    Please open file: ftp://templates>>your_template>>js>>lib.js fond code:

    Code:
    Only registered members can view the code.
    and change span to text. Save and check on site.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Quote Originally Posted by Viktor View Post
    Hello Wei Hong,

    Please open file: ftp://templates>>your_template>>js>>lib.js fond code:

    Code:
    Only registered members can view the code.
    and change span to text. Save and check on site.
    Thanks Viktor,

    I check and it does work for plain text. But when I tried to put text from lang it doesnt work. For example:

    '+lang['show_more']+'
    I did add the key phrase in language tab of admincp, but it shows as 'unidentified'
    Weird thing is that if i input

    '+lang['close']+'
    '+lang['notice']+'
    They works, but other lang, even the one added by flynax scripts doesnt work.
    '+lang['registration']+'
    Do you have any idea?

  6. #6
    Bump this up for a new week.
    Thanks all

  7. #7
    Bump this up for a new day

  8. #8
    Hello,

    Sorry for delay,

    You should add phrases in javascript lang array. Open file: ftp://templates>>your_template>>tpl>>js_config.tpl

    and add new:

    lang['close'] = '{$lang.close}';
    lang['notice'] = '{$lang.notice}';
    lang['registration'] = '{$lang.registration}';

    save file and then check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Quote Originally Posted by Viktor View Post
    Hello,

    Sorry for delay,

    You should add phrases in javascript lang array. Open file: ftp://templates>>your_template>>tpl>>js_config.tpl

    and add new:

    lang['close'] = '{$lang.close}';
    lang['notice'] = '{$lang.notice}';
    lang['registration'] = '{$lang.registration}';

    save file and then check again.
    It works great. Thanks Viktor

+ Reply to Thread