purepixels Posted March 29, 2013 Share Posted March 29, 2013 In my template I use the blockcategories module in the left column and in the footer. In the left column I want all levels to appear. In the footer I only want to display level 2 categories (main categories). In module settings I can't set a separate max depth for left column and footer unfortunately. Is there any way to do this in de tpl file? I have a blockcategories_footer.tpl file were I can make adjustments but I don't know how. <ul> {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} {/foreach} </ul> Can anyone assist me with this issue? 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