| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to make all Smarty tags global? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi guys,
I want to be able to use ALL smarty tags on any page I want. Currently I cannot get things like user's membership level and user's address details on embedded static pages. Thanks
__________________
X-Cart Gold 4.5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You should enable "Parse Smarty tags in the content of embedded static pages" option.
Second, you should assign the necessary variables via PHP to access them in Smarty. e.g. to be able to use login on static pages you should add: PHP Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|