Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/27/2021 in all areas

  1. I am thinking your Foundation skin is not current (shipped with CC642). From your screengrab, the Topbar is v5.5.1, while CC642's is v5.5.2. There is also: var back_text = $('#val_lang_back').text(); if(!back_text) { back_text = 'Back'; } Foundation.libs.topbar = { name : 'topbar', version : '5.5.2', settings : { index : 0, start_offset : 0, sticky_class : 'sticky', custom_back_text : true, back_text : back_text, mobile_show_parent_link : false, This finds the language string (which we did earlier), and uses it if present.
    1 point
  2. Excellent sleuthing! In the Foundation template main.php, make sure this is there: Near line 59: <div class="row small-collapse"> <div class="small-12 columns"> {include file='templates/box.navigation.php'} <div class="hide" id="val_lang_back">{$LANG.common.back}</div> </div> </div> This is necessary for one of the two approaches to work. The first approach would be this: In box.navigation.php, find: <nav class="top-bar category-nav" data-topbar="" id="box-navigation"> Change to: <nav class="top-bar category-nav" data-topbar data-options="back_text:{$LANG.common.back}" id="box-navigation"> Clear Cubecart's cache. The other approach is to edit the last line of element.js_foot.php. Find this part: $(document).foundation({equalizer:{equalize_on_stack:true}}); Change that part to: $(document).foundation({topbar{back_text:$('#val_lang_back').text()}},{equalizer:{equalize_on_stack:true}}); I haven't tried any of this, so if it works, we will post an issue about it in the GitHub.
    1 point
×
×
  • Create New...