| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using Smarty Tags in Txt Labels | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I was wondering if someone can point me in the right direction for the use of smarty tags in Txt Labels. I am using a mixture of HTML, plain text in my txt language files to allow me to customise the welcoming area on the front of the store and also in areas on new Help Zone pages I have created using the technique of adding lbl and txt files. I have found that if I use HTML to refer to images in these txt language files when a user is signed in under https the non secure message is displayed as I am referring to these images using the http url. I would like to do this using the smart tag for the skin1/images folder to call the images required on a page, however when I use any smarty tag inside of a txt language file all i see is the dreaded red X Is it possible to use smarty tags in the txt language files or is there another way I can acheive my desired result. I am relatively new to xcart / smarty but after hours of reading and plyaing with the code I am picking it up ![]() I do hope to hear from some one soon. Thanks Cheers
__________________
Cheers from Melanie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Xcart V4.0.4 (Unix) - LIVE AOM, Fancy Categories Marketing Manager, Reward Points & Refer Rewards Advanced Site Map Easy Checkout Gift & Homeware House www.giftandhomewarehouse.com.au |
|||||||
#2
|
|||||||
|
|||||||
![]() Bump? Can anyone help with this.
I wanted to add images to the txt_** lanague files but dont want the unsecure content message to display for https Please help?? Thanks Cheers and Happy New Year everyone
__________________
Cheers from Melanie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Xcart V4.0.4 (Unix) - LIVE AOM, Fancy Categories Marketing Manager, Reward Points & Refer Rewards Advanced Site Map Easy Checkout Gift & Homeware House www.giftandhomewarehouse.com.au |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi ghhoz, are you using this to call the images?
[img]{$ImagesDir}/imagename.jpg[/img]
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() Hello Ryan,
Thanks for your reply ![]() Yep I sure am but with no luck. When I use this code the images show as a red x. I am starting to think you can not use smart tags in the language files?? Do you think that may be the reason? This is really got me stumped.
__________________
Cheers from Melanie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Xcart V4.0.4 (Unix) - LIVE AOM, Fancy Categories Marketing Manager, Reward Points & Refer Rewards Advanced Site Map Easy Checkout Gift & Homeware House www.giftandhomewarehouse.com.au |
|||||||
#5
|
|||||||
|
|||||||
![]() Yea, that would be my guess as well. If you want to use html or images on a page, why not just get rid of the smarty tag in the template you are working on and just put 'regular' text, html and smarty tags?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|