| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Executing PHP scripts in Smarty Templates | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Executing PHP scripts in Smarty Templates
Hello,
Is there a way to execute PHP Scripts inside a Smarty Template page? I want to manipulate the way the part code in the order_info.tpl is displayed, by using PHP's string functions.
__________________
Regards, Michael Acs Upgradeable.com.au [X-Cart 4.0.12] |
|||||||
#2
|
|||||||
|
|||||||
Several of the PHP string functions are implemented in Smarty as modifiers. Also, all PHP functions can be executed in a Smarty template as modifiers so even the ones that aren't specifically included in Smarty can be used. See:
http://smarty.php.net/manual/en/language.modifiers.php
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#3
|
|||||||
|
|||||||
Thanks for the link!
__________________
Regards, Michael Acs Upgradeable.com.au [X-Cart 4.0.12] |
|||||||
|
|||
X-Cart forums © 2001-2020
|