|
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 |
0rientsieg Smarty Rookie
Joined: 08 Jan 2014 Posts: 24
|
Posted: Wed Jan 08, 2014 2:19 am Post subject: How to start Smarty? |
|
|
Dear All,
I downloaded Smarty and unzipped it. I uploaded it to my web space in a directory 'Smarty'. I retrieved with php __FILE__ the path to the Smarty libs directory for including the class file 'Smarty.class.php'. But the demo does not run.
The include file is included because I set a
echo "<br /><br /> Memory usage-1: " . memory_get_usage();
As the first and the last instruction in the class file. These commands are executed.
What do I wrong?
Question: where has the template file .tpl to be located?
I tried to include the template file into the demo file but then the template file .tpl will only be displayed without inserted variables.
Regards
0rientsieg |
|
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
|