|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
gremio10 Smarty Rookie
Joined: 28 Jan 2011 Posts: 11
|
Posted: Sat Apr 02, 2011 6:54 pm Post subject: Bug Smarty 3 on Zend Framework |
|
|
Hey guys, look, I use the example from site to use the Smarty on Zend.
but, when I change my values on my index, and I do a refresh on the page, nothing change, just if I make a new save on the layout.tpl, I think this is wrong, because, when I go work for real, I dont want to everytime make a new save on layout.tpl...
how can I fix it ?
Thanks |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Apr 02, 2011 7:59 pm Post subject: |
|
|
I think you have caching enabled. In that case the page gets only rerendered when it's lifetime expires or the template file gets modified.
If you modify assigned data you can manually delete the cache file or use the clearCache(...) method to make the cahed file invalid before it expires. |
|
Back to top |
|
gremio10 Smarty Rookie
Joined: 28 Jan 2011 Posts: 11
|
Posted: Sat Apr 02, 2011 8:04 pm Post subject: |
|
|
Thanks man... Works.. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|