| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Smarty Editing / Help Needed! | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Smarty Editing / Help Needed!
I'm new to Smarty and X-Cart, so please forgive this trivial question:
How does one 'edit' the templates with Smarty? I see the smarty.php in the cart folder, but when I run it in the browser nothing happens. Any help is appreciated! JB |
|||||||
#2
|
|||||||
|
|||||||
The best way to learn about smarty templates is to dive right into it.
Login to the admin and click on edit templates. Then click customer>>home.tpl. This is the main page for your store. You will see {} with some references to other sections of the shopping cart system. These {} are scattered throughout the table. Just look through this and notice all the different sections that are in the main page. If you turn on the debugging it will show you the tpl files that are used. Hope this helps. |
|||||||
#3
|
|||||||
|
|||||||
You definitely need to visit smarty.php.net too. Read the entire site. It's a great resource.
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat] |
|||||||
|
|||
X-Cart forums © 2001-2020
|