Jump to content

H2 headings tag


bogdean

Recommended Posts

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 by bogdean (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...