View Full Version : how to install smarty tool

02-14-2006, 11:09 AM
hi to all,

I am getting problem to smarty. can u pls give explain on the smarty installation and configuration files.

02-17-2006, 05:02 AM
are you referring to the smarty templating system?

02-17-2006, 07:10 AM
The Smarty installation steps are as follows:

Inside your folder where all the PHP files are located, make three four new folders.
Rename the folders as libs, templates,templates_c,cache.
In the libs folder, copy all the Smarty classes you've got especially your Smarty.class.php file.
Now dump the php files in the same folder where the smarty folders are located i.e in your local php or apache folder.
Dump all your .tpl files in the templates folder.

That's it, you're Smarty will be running . I hope u know the code for Smarty access to be written on the top of the PHP file..