frijolita Posted June 12, 2012 Share Posted June 12, 2012 Hi, dans mon module I put {if $smarty.get.id_cms ==12} CODE tpl ... {/if} I'm in id_cms NOT EQUAL TO 12 but it shows CODE TPL! BUT if I put {$smarty.get.id_cms} at the beginning of the module, the variable is 12 and it starts working fine! i.e. with {$smarty.get.id_cms} at the beginning , the "if" works fine without {$smarty.get.id_cms} at the beginning, the "if" DOES NOT work ... any idea? THIS HAPPENS WHEN SMARTY CACHÉ = TRUE THANKS! 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