bogdean Posted March 9, 2018 Share Posted March 9, 2018 (edited) hi. i i use blockcategories module and i want to make my main categories h2 headings (<h2>Category name</h2>). any ideas? my blockcategories.tpl looks like {if $blockCategTree && $blockCategTree.children|@count} <!-- Block categories module --> <div id="categories_block_left" class="block"> <p class="title_block">{l s='Categories' mod='blockcategories'}</p> <div class="block_content"> <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} {/foreach} </ul> {* Javascript moved here to fix bug #PSCFI-151 *} <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> </div> </div> <!-- /Block categories module --> {/if} Edited March 9, 2018 by bogdean (see edit history) Link to comment Share on other sites More sharing options...
bogdean Posted March 12, 2018 Author Share Posted March 12, 2018 up 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