BluTiGeS Posted September 30, 2016 Share Posted September 30, 2016 Hello, I have a customer which is using one of my modules, and the customer has the followng issue with PS 1.6.0.9. If the cache is enabled the smarty variables are not updated in the tpl file. I also tested it by setting a hardcoded value, but the shop still reports the previous set value. Only after cleaning the cache the value gets applied to the tpl. But this shall not happen or? The code snippet looks like this and is called at the public function hookDisplayTop( $params ): $this->context->smarty->assign( array ( 'ownText' =>"TEST" ) ); return $this->display( __FILE__, 'views/templates/front/hookDisplayTop.tpl' ); So if I set the value, clear cache the value is correct on the frontend but without cleaning but updating the "ownText" it still displays the old text. Does anyone have any hint why this is not working as expected? Regards 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