frijolita Posted June 13, 2012 Share Posted June 13, 2012 Hi! the following blockcategories code works fine when CACHE=FALSE but stops working when I activate smarty cache as cms_id value becomes a mess.... -->> block appears/dissapears in wrong cms pages .... {if $smarty.get.id_cms ==12 OR $smarty.get.id_cms ==8 OR $smarty.get.id_cms ==9 OR $smarty.get.id_cms ==11 OR $smarty.get.id_cms ==7 OR $smarty.get.id_cms ==1 OR $smarty.get.id_cms ==3 OR $smarty.get.id_cms ==6 OR $smarty.get.id_cms ==2 OR $resul==1} {else} <div id="categories_block_left" class="block_green"> <h4>NIÑOS</h4> <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} Any hint? Thanks in advance ! Link to comment Share on other sites More sharing options...
KonfiDD Posted February 6, 2015 Share Posted February 6, 2015 Same issue. Any solution found ? 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