| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using smarty variables in the database stored variables | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I couldn't find this on the forum, so I'll post this in case any one looks for the answer.
I wanted to have $lng.txt_welcome to contain smarty tags, but when I tried that the tags were display literally instead of being interpreted. The fix was to change: $lng.txt_welcome to {eval var=$lng.txt_welcome} |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() good call, a few people have asked about this
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() A little more than 2 years later, this still works with 4.0.17 when placing that statement in welcome.tpl.
I successfully added the date to the home page. Good for letting people know your site is still alive. {$smarty.now|date_format:"%A, %B %e, %Y"}
__________________
Building: X-Cart GoldPlus 4.6.1 Old cart: XC 4.0.17 FComp-RMA-AOM-OFF-Affil BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought CM: eZConversion XP: SalesRecovery, MultCrncy |
|||||||
|
|||
X-Cart forums © 2001-2020
|