Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

No Compile ?

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
quocbao
Smarty Rookie


Joined: 30 Aug 2004
Posts: 8

PostPosted: Mon Aug 30, 2004 6:54 am    Post subject: No Compile ? Reply with quote

Everytime Smarty compile a template , it create a compiled file .

Can i compile a template without creating a compiled file ?
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Aug 30, 2004 7:20 am    Post subject: Reply with quote

no, this cannot be disabled.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
quocbao
Smarty Rookie


Joined: 30 Aug 2004
Posts: 8

PostPosted: Wed Sep 01, 2004 12:31 am    Post subject: Reply with quote

Well , that a pity , because , sometime we don't want to make a compiled file . Hmm i think the problem can be solved using Tempory File (create a temp file and put the file content and then include it Smile )
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Wed Sep 01, 2004 7:23 am    Post subject: Reply with quote

you could have a look at smarty_function_eval() in libs/plugins/function.eval.php . that one runs templates without a tempfile.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development 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