|
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 |
BeastRider Smarty n00b
Joined: 31 Aug 2003 Posts: 1
|
Posted: Sun Aug 31, 2003 12:27 am Post subject: How To Force a Recompile |
|
|
I am running the tikiwiki CMS (good poo!), which uses smarty.
I have changed a template and although I read here that recompilation into templates_c is automatic, I am not gettin an auto recomp.
Them I read where auto compilation can be turned off to speed performance... so maybe that is the case.
So
a) how do I compile the changed template?
b) where do I find the params that control auto recomilation?
Thanks
Wayne |
|
Back to top |
|
Nick W Smarty Rookie
Joined: 23 May 2003 Posts: 22
|
Posted: Tue Sep 02, 2003 12:59 pm Post subject: |
|
|
Maybe calling clear_all_cache() would help? - Or you could just delete all the files in templates_c/ I guess?
Nick |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
|
Back to top |
|
wvdploeg Smarty Rookie
Joined: 05 Aug 2003 Posts: 19
|
Posted: Tue Sep 02, 2003 5:27 pm Post subject: Re: How To Force a Recompile |
|
|
BeastRider wrote: | I am running the tikiwiki CMS (good poo!), which uses smarty.
I have changed a template and although I read here that recompilation into templates_c is automatic, I am not gettin an auto recomp.
Them I read where auto compilation can be turned off to speed performance... so maybe that is the case.
So
a) how do I compile the changed template?
b) where do I find the params that control auto recomilation?
Thanks
Wayne |
If you change a template in Tiki sometimes (do not ask me when and when not) you need explicitely clear the cache by clickingthe 'clear cache' in the admin->modules module. But this is not a Smarty but a Tiki issue I guess.
Using the functions mentioned above also work (clicking 'clear cache' actually calls clear_all_cache()), but then you would have to implement the procedures somewhere in Tiki (and since it's already done, why reinvent the wheel ???).[/i] |
|
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
|