|
Well they have a sample application on their website, which is a tutorial on how to use smarty. But basicly what you need to know from the php side is you need to create a class and extend it from the smary class, set the template_dir and a few other thing in that class, then use that class to assign variables to a template and display the template. Then create a template and decide where you want smarty to output the variable you assigned to it.
The first time you see it, it's really confusing and all, i know. But you should see the example application and read the documntation. You can just skip through it even and find what you need then create your first template, because only then you will understand how it works.
|