Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Template recompile

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
mohash
Smarty n00b


Joined: 15 Jul 2009
Posts: 2

PostPosted: Wed Jul 15, 2009 10:45 am    Post subject: Template recompile Reply with quote

How to recompile template?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Wed Jul 15, 2009 2:54 pm    Post subject: Reply with quote

If compile_check is true, Samrty will automatically check if a template was modified and needs to be recompiled.

force_compile = true will compile the template on every access.

You can also manually delete the compiled template(s) from the template_c folder.
Back to top
View user's profile Send private message
mohash
Smarty n00b


Joined: 15 Jul 2009
Posts: 2

PostPosted: Thu Jul 16, 2009 4:10 pm    Post subject: Reply with quote

I deleted the file in templates_c and the file does not coming back.I see a lot of wrtXXX.tmp file inside the folder.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sun Jul 19, 2009 7:40 pm    Post subject: Reply with quote

It looks like that you have now rigth to rename files. this must be set for the template_c folder.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP