blackarma Posted January 23, 2012 Share Posted January 23, 2012 Hello, After installing prestashop new 1.5 theme, categories list in the footer is not rendered correctly. In blockcategories i can see that code loops differently. As we can see this what blockcategories-footer.tpl looks like: <!-- Block categories module --> <div class="blockcategories_footer"> <h4>{l s='Categories' mod='blockcategories'}</h4> <div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%"> <div style="float:left" class="list"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last} </ul> </div> </div> <div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%"> <div style="float:left" class="list"> <ul class="tree {if $isDhtml}dhtml{/if}"> {/if} {/foreach} </ul> </div> </div> <br class="clear"/> </div> <!-- /Block categories module --> But for some reason in frontend display each categorie is in it's own div.category_footer. It should only once apply that div. For reference i checked official demo of PS 1.5 new theme and it's applied there only once. Demo shop is located here: http://demo.blackarma.com Link to comment Share on other sites More sharing options...
sebkos Posted January 23, 2012 Share Posted January 23, 2012 Hi, look at blockcategories configuration in BO. There you can set how many columns should be displayed in footer (set 1 and save). 2 Link to comment Share on other sites More sharing options...
blackarma Posted January 23, 2012 Author Share Posted January 23, 2012 Hi, look at blockcategories configuration in BO. There you can set how many columns should be displayed in footer (set 1 and save). Thanks, i'm new to the presta so i still learning BO features. 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