X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Changes to template not showing in store. (https://forum.x-cart.com/showthread.php?t=55814)

suseela 02-12-2013 11:06 PM

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.

cherie 02-15-2013 04:17 PM

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.


All times are GMT -8. The time now is 06:37 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.