|
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 |
rzseattle Smarty Rookie
Joined: 09 Dec 2003 Posts: 7 Location: Poland
|
Posted: Thu Apr 15, 2004 7:37 pm Post subject: Compile template from string |
|
|
Hey
Is there a easy way to compile template from string? I've looked for this informaction this forum and manual and no found answer :/ . Manual says abaut template resources but I don't care abaut {include}, I want just to compile string. What can I do to pass $tpl string and take page ?
sorry for my engish |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Thu Apr 15, 2004 10:15 pm Post subject: |
|
|
Its not a very good idea, but you can do it if you write a resource that reads from strings. I wrote a basic one a long time ago. It should be at the wiki somewhere. |
|
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
|