Jump to content

[SOLVED] category block - dynamic


Recommended Posts

Hi,

I am using version 1.2.5. and if category block is set to dynamic, the categories are not visible. I red somewhere that this is a bug. Is it possible to fix this, I really need dynamic function since I will have a lot subcategories.

Is there a way to make this work? Thank you for the answer in advance.

<!-- Block categories module -->

{l s='Categories' mod='blockcategories'}


       {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}



[removed]
// <![CDATA[
   // we hide the tree only if JavaScript is activated
   $('div#categories_block_left ul.dhtml').hide();
// ]]>
[removed]

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...