Jump to content

Currency and language block missing v1.6


pngb4

Recommended Posts

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

 

post-785683-0-22359700-1397593198_thumb.png

post-785683-0-47696700-1397593213_thumb.png

post-785683-0-27666200-1397593241_thumb.png

Link to comment
Share on other sites

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

  • 2 weeks later...

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 -->

post-752714-0-85217200-1398390126_thumb.gif

post-752714-0-96512800-1398390128_thumb.gif

post-752714-0-32216400-1398390130_thumb.gif

post-752714-0-27528900-1398390131_thumb.gif

post-752714-0-29653700-1398390132_thumb.gif

post-752714-0-45235000-1398390133_thumb.gif

header.txt

Edited by lemarcgagnon (see edit history)
Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...