NeedZoom Posted January 27, 2014 Share Posted January 27, 2014 Hello, My objective is to personnaliser the block categories footer : i want to put some product in this block but not all my products. so i think i should change this file blockcategories_footer.tpl : <!-- Block categories module --> <div class="blockcategories_footer"> <p class="title_block">{l s='Categories' mod='blockcategories'}</p> <div class="category_footer" style="width:{$widthColumn}%"> <div 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 class="list"> <ul class="tree {if $isDhtml}dhtml{/if}"> {/if} {/foreach} </ul> </div> </div> <br class="clear"/> </div> Link to comment Share on other sites More sharing options...
NeedZoom Posted January 27, 2014 Author Share Posted January 27, 2014 i strart with this , but error "Erreur HTTP 500 (Internal Server Error)" <div class="blockcategories_footer"> <p class="title_block">{l s='Categories' mod='blockcategories'}</p> <div class="category_footer" style="width:{$widthColumn}%"> <div class="list"> <ul class="tree dhtml"> <li >Shop </li> </ul> </div> </div> <br class="clear"/> </div> Link to comment Share on other sites More sharing options...
NeedZoom Posted January 28, 2014 Author Share Posted January 28, 2014 I find the solution , The Block categories_footer.tpl file : <!-- Block categories module --> <div class="blockcategories_footer"> <h4>Catégories</h4> <div class="category_footer" style="float:left;clear:none;width:100%"> <div style="float:left" class="list"> <ul class="tree dynamized" style=""> <li> Ipods </li> <li> <a href="{$base_dir}.." title="">name1</a> </li> <li> <a href="{$base_dir}.." title="">name2</a> </li> </ul> </div> </div> <br class="clear"> </div> 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