View Single Post
  #6 (permalink)  
Old 02-15-2007, 01:27 PM
Simpatico Simpatico is offline
Casual Pligger
 
Join Date: Feb 2007
Location: England
Posts: 45
Thanks: 7
Thanked 18 Times in 12 Posts
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.

Last edited by Simpatico; 02-15-2007 at 01:31 PM..
Reply With Quote
The Following User Says Thank You to Simpatico For This Useful Post: