tmocide Posted September 22, 2010 Share Posted September 22, 2010 Hi, I recently installed the free homecategories v0.2 and i have it working fairly well. I have come across an issue when i use it in conjunction with the prestashop Home Featured Products module. The problem i have is probably only a css problem but its eating me alive atm.Screenshots are attached.Below is the homefeatured.tpl file. {l s='Featured products' mod='homefeatured'} {if isset($products) AND $products} {assign var='liHeight' value=342} {assign var='nbItemsPerLine' value=4} {assign var='nbLi' value=$products|@count} {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil} {assign var='ulHeight' value=$nbLines*$liHeight} {foreach from=$products item=product name=homeFeaturedProducts} {$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} {$product.description_short|strip_tags|truncate:80:'...'} getImageLink($product.link_rewrite, $product.id_image, 'home')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" /> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} {l s='View' mod='homefeatured'} {if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2} {l s='Add to cart' mod='homefeatured'} {else} {l s='Add to cart' mod='homefeatured'} {/if} {/foreach} {else} {l s='No featured products' mod='homefeatured'} {/if} <!-- /MODULE Home Featured Products --> Im quite tired of it and cant see the problem please help xDThanks in advance.Jh Link to comment Share on other sites More sharing options...
rocky Posted September 23, 2010 Share Posted September 23, 2010 Try changing the first line from: {l s='Featured products' mod='homefeatured'} to: {l s='Featured products' mod='homefeatured'} Link to comment Share on other sites More sharing options...
tmocide Posted September 23, 2010 Author Share Posted September 23, 2010 lol.... thanks rocky. worked perfectly:P*one word sigh* xDcheers ]:] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now