Jump to content

[SOLVED] Homefeatured module with products not showing in IE7


Recommended Posts

Hi!

 

I would like to ask for your help regarding Homefeature module. If you visit my e-shop www.unikatnica.com using IE7 (Internet Explorer version 7), you will see that homefeatured products do not display. What displays is a tab with Priporočamo vam/Featured products.

 

I've also attached .jpg file to see how it looks like.

 

Does anyone know what would be the problem and how to solve it? This module shows normally in Mozilla Firefox 8.0.1 version.

 

Thank you and best regards,

 

Nina

post-101532-0-78546100-1322592481_thumb.jpg

Link to comment
Share on other sites

Hi Nina,

Unfortunately, there are some limitations within IE that can cause issues at times. If you haven't already, please go to Preferences > Performance in your Back Office and enable "Use CCC for CSS." We have developers looking into workarounds as we speak, but right now that will be your only option for optimizing your site for IE.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

Hi, Mike!

 

Thank you for your fast answer and your suggestion. When I go to Preferences, I do not see any Performance option. It seems that my Prestashop version does not have this option, as I do not have the newest version. Do you think there is anything else I could do? If not, I am thanking you again for your help.

 

Best regards,

 

Nina

Link to comment
Share on other sites

Hi Nina,

 

Problem is that you are missing one line of code in /modules/homefeatured/homefeatured.tpl .

Add

{assign var='liHeight' value=300}

so it looks like this

<!-- MODULE Home Featured Products -->
<div id="featured-products_block_center" class="block products_block">
<h4>{l s='Featured products' mod='homefeatured'}</h4>
{if isset($products) AND $products}
 <div class="block_content">
  {assign var='liHeight' value=300}
  {assign var='nbItemsPerLine' value=4}
  {assign var='nbLi' value=$products|@count}
  {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil}
  {assign var='ulHeight' value=$nbLines*$liHeight}
 <ul style="height:{$ulHeight}px;">

 

That should fix problem in IE7.

Link to comment
Share on other sites

Hi, razaro!

 

Wow, you were right! :) I did what you suggested to me and yes, it really worked! Now the homefeature module shows also in IE7. I do not remember myself deleting that line, so it is really unusual that it missed in /modules/homefeatured/homefeatured.tpl.

 

Anyway, many thanks to you, razaro and also to you, Mike. You both were great!

 

Thank you and best regards,

 

Nina

Link to comment
Share on other sites

×
×
  • Create New...