Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding line of text in Smarty

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-25-2005, 03:13 PM
 
heartofwisdom heartofwisdom is offline
 

Senior Member
  
Join Date: Dec 2002
Posts: 147
 

Default Adding line of text in Smarty

How do I add a line of text to a template?

In the /html/order_invoice.tpl' The "WARNING: Antifraud module is not enabled." text ishows on my Invoices. I want to put a line about returns.

I was told by cart to replace the "WARNING: Antifraud module is not enabled" message with my text to replace the substring:

{$lng.txt_warning_antifraud_disabled} with my text.

But each time I get an error. I have tried the following:

text text
{text text}
{$lng.txt_text_text}
{$lng.txt_text_text}
{$lng.txttext_text}

Any help appreciated.
__________________
X-Cart Pro version 4.0.16
PHP 4.3.10
Mods- XAffiliate, XFancyCatagories, XSpecial Offers, XRMA, Sales nStats, Firetank\'s Marketing Manager bundle, Reward Points

http://homeschool-books.com
Reply With Quote
  #2  
Old 10-25-2005, 04:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

They mean to edit the language variable and replace the text in that with your text. Click on Languages in your admin area.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:56 PM.

   

 
X-Cart forums © 2001-2020