pngb4 Posted April 15, 2014 Share Posted April 15, 2014 Hello, am a newbie with a week experience with Prestashop v1.6. I recently bought a new theme and noticed that the currency and language blocks are missing after making the new theme default. These blocks are both enabled and are located in both the displayHeader and displayTop section (modules/positions/). Any ideas why they are now missing? Thanks Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 hello can you share url to your shop? due to the fact that it is not default template it's necessary to inspect it thanks in advance Link to comment Share on other sites More sharing options...
pngb4 Posted April 16, 2014 Author Share Posted April 16, 2014 Am actually running this in a local environment, can I send you a snapshot of the website? Both the currency and language blocks are missing in every page. Thanks Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 can you check theme directory (modules subdir) for blockcurrency and blocklanguages module overrides? Link to comment Share on other sites More sharing options...
pngb4 Posted April 17, 2014 Author Share Posted April 17, 2014 I checked it but not quite sure how to denote whether an override took place. Any hint or suggestion on how to figure this out? This is the code in the tpl file for the currency module under the themes module subdir. I also noticed much more files under the prestashop module subdir compared to tht then the themes module subdir. Thanks <div id="currencies_block_top"> <form id="setCurrency" action="{$request_uri}" method="post"> <ul id="first-currencies" class="currencies_ul"> {foreach from=$currencies key=k item=f_currency} <li {if $cookie->id_currency == $f_currency.id_currency}class="selected"{/if}> <a href="javascript:setCurrency({$f_currency.id_currency});" title="{$f_currency.name}">{$f_currency.sign}</a> </li> {/foreach} </ul> </form> </div> Link to comment Share on other sites More sharing options...
lemarcgagnon Posted April 25, 2014 Share Posted April 25, 2014 (edited) I have the same problem but with the language bar. Depsite the fact that I did touch the site for the last 15 days, taday, the language bar disaperead and the image slide when nuts and all the image went away. Anyway I can not figure out what the problem is. here are some pics. Any clue? Yours, Marc here is the <!-- Block languages module --> {if count($languages) > 1} <div id="languages-block-top" class="languages-block"> {foreach from=$languages key=k item=language name="languages"} {if $language.iso_code == $lang_iso} <div class="current"> <span>{$language.name|regex_replace:"/\s.*$/":""}</span> </div> {/if} {/foreach} <ul id="first-languages" class="languages-block_ul toogle_content"> {foreach from=$languages key=k item=language name="languages"} <li {if $language.iso_code == $lang_iso}class="selected"{/if}> {if $language.iso_code != $lang_iso} {assign var=indice_lang value=$language.id_lang} {if isset($lang_rewrite_urls.$indice_lang)} <a href="{$lang_rewrite_urls.$indice_lang|escape:'html':'UTF-8'}" title="{$language.name}"> {else} <a href="{$link->getLanguageLink($language.id_lang)|escape:'html':'UTF-8'}" title="{$language.name}"> {/if} {/if} <span>{$language.name|regex_replace:"/\s.*$/":""}</span> {if $language.iso_code != $lang_iso} </a> {/if} </li> {/foreach} </ul> </div> {/if} <!-- /Block languages module --> header.txt Edited April 25, 2014 by lemarcgagnon (see edit history) Link to comment Share on other sites More sharing options...
lemarcgagnon Posted May 1, 2014 Share Posted May 1, 2014 I disable the godaddy cpanel automatic update option for prestashop and re-installed the whole thing. Hope it'll work Link to comment Share on other sites More sharing options...
PHST Posted September 23, 2014 Share Posted September 23, 2014 In addition to "displayHeader", I hooked the currency block to "displayNAV". Link to comment Share on other sites More sharing options...
Recommended Posts