GrannyB Posted October 6, 2012 Share Posted October 6, 2012 I installed 1.5 and am using the default template. I don't know code, so I'm not sure how to fix this without knowing the steps to follow. Can you please tell me how to fix the code, and what file to go to? Thank you! Page link showing error: Quilt4Less Screenshot shows the code on the front end. Link to comment Share on other sites More sharing options...
Dh42 Posted October 7, 2012 Share Posted October 7, 2012 Link to the site. What is happening is you have the style placed in the wrong place Link to comment Share on other sites More sharing options...
GrannyB Posted October 7, 2012 Author Share Posted October 7, 2012 (edited) The code was already there when I installed the template and modules. The div id is "productscategory_list". What file do I need to edit? Link to site: http://quilt4less.co...troller=product This is the code - what is the error???? My guess is there is something missing (beginning & ending code)This is the original code - no changes by me - I'm not a coder, so I don't know exactly why part of the code is displayed on my front end for customers. <div id="{if count($categoryProducts) > 5}productscategory{else}productscategory_noscroll{/if}"> {if count($categoryProducts) > 5}<a id="productscategory_scroll_left" title="{l s='Previous' mod='productscategory'}" href="javascript:{ldelim}{rdelim}">{l s='Previous' mod='productscategory'}</a>{/if} <div id="productscategory_list"> <ul {if count($categoryProducts) > 5}style="width: {math equation="width * nbImages" width=107 nbImages=$categoryProducts|@count}px"{/if}> {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} {if count($categoryProducts) < 6}style="width: {math equation="width / nbImages" width=94 nbImages=$categoryProducts|@count}%"{/if} <li> Thank you for your help. Edited October 7, 2012 by GrannyB (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted October 7, 2012 Share Posted October 7, 2012 The file it would be in is product.tpl. Maybe post the contents of the file to paste bin or something like that. Link to comment Share on other sites More sharing options...
GrannyB Posted October 8, 2012 Author Share Posted October 8, 2012 I have figured out (I think) that the problem is with the module/blockcategories/tpl In the code there is a message about bug PSCFI-151. However, I don't know how to fix that. Can someone please help me with this. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts