The above code does work in digitalnature if you remove the caching code from /templates/digitalnature/sidebar.tpl - I've marked the code to remove with a '#' below:
Quote:
{if $cat_array neq ""}
{assign var=sidebar_module value="categories"}
#{assign var=sidebar_module_cache value="true"} {* enable caching for this module *}
#{assign var=sidebar_module_cache_id value="sidebar|category|".$templatelite.get.catego ry} {* unique cache id *}
#{assign var=sidebar_module_cache_lifetime value="-1"} {* cache will never expire *}
{include file=$the_template_sidebar_modules."/wrapper2.tpl"}
#{assign var=sidebar_module_cache value="false"} {* turn caching back off *}
{/if}
|
# = remove these lines.
Edit: And delete the 'Sidebar' folder from the 'Cache' folder in root.