Hi AJ,
I joined this forum about a week after it was launched, and I have never seen this question asked.
I have struggled to learn bits of smarty, and php to create most of my mods. I remember reading that you
can include php in the templates, but it should be
avoided, so I have done the opposite in my latest mods, I have put HTML in my own created PHP files, this way you
reduce problems with future upgrades of xcart. My latest mod is more of a plugin to xcart, so 99% of the original xcart files, are still in their original state. Post if you need further info on this method.
Here is the extract and the URL to it's source.
Quote:
It is possible to embed PHP code right in your template files, although this may not be needed (nor recommended) since the engine is so customizable.
|
(It's 9th in the bullet list )
at
http://smarty.php.net/manual/en/what.is.smarty.html
Regards,