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

Changes to template not showing in store.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #31  
Old 02-12-2013, 11:06 PM
 
suseela suseela is offline
 

Advanced Member
  
Join Date: Jan 2013
Posts: 55
 

Default Re: Changes to template not showing in store.

Hi, I went into the webmaster mode and changed the value for company name, which was actually like this {{Company}}. I replaced company to Carnival. Now, when we go to the home page, it shows Welcome to {{Carnival}}. Now it does nt even open the editor. Please help.
__________________
www.indiancarnival.com

based on Xcart pro 4.5
Reply With Quote
  #32  
Old 02-15-2013, 04:17 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Changes to template not showing in store.

Without seeing the code I'm not sure but it sounds like you are using the substitute modifier. Here's how it's used in welcome.tpl to replace {{company}} in the language variable with the store's company name:

PHP Code:
<h1>{$lng.lbl_welcome_to|substitute:"company":$config.Company.company_name|amp}</h1
Maybe you replaced {{company}} in the language variable with {{Carnival}} which would cause this problem.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
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 03:43 PM.

   

 
X-Cart forums © 2001-2020