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

Welcome.tpl Won't Update!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-05-2009, 09:26 PM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Welcome.tpl Won't Update!

I need Your Help!

I'm having an Issue when I try to update /customer/main/Welcome.tpl.

When Working in the Template editor in X-carts admin area, I can easily make and save changes to Welcome.tpl, however, when I go to the front-end nothing has changed. I've cleared browser cache and template cache and still nothing.

When I browse back to Welcome.tpl the changes i made are still there and saved, but the homepage simply doesn't reflect the changes.

Any other file I edit will work and update as it should, just not /customer/main/Welcome.tpl.

Now when I make the changes using "Webmaster Mode" it appears to work great. So I know my coding is correct. But the changes don't actually carry over to the real homepage. (And it doesn't matter how big or small the change is)

My Client is getting bugged that its taking so long for a simple edit, and I'm sure its something simple. I Know you all can Help!

Why won't changes to /customer/main/Welcome.tpl actually affect the homepage?!??


Thanks in Advance!
__________________
X-Cart version 4.1.9
Reply With Quote
  #2  
Old 10-07-2009, 09:08 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update

Has anyone seen anything like this? Any possible reasons this may be happening?

and the file is actually welcome.tpl (lower case)
I guess that Welcome.tpl and welcome.tpl are two different files for Linux.
__________________
X-Cart version 4.1.9
Reply With Quote
  #3  
Old 10-07-2009, 09:27 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Welcome.tpl Won't Update!

yes, welcome.tpl and Welcome.tpl are 2 different files on any system.


Why not edit with text editor and FTP?
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 10-07-2009, 09:59 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update!

I've tried that as well.
For some reason its like the home page just isn't using that file ( /customer/main/Welcome.tpl ). or more accurately It appears that its using some cached version of the file.

When I view the source code straight from the browser it doesn't show my changes. but the changes are there when I edit the files through the admin area or download them via FTP.

Besides the template cache in /var/template_c are there any other places that the page could be pulling from? (My computer cache has been thoroughly cleared. and I've tried this on various other computers that reside off my local network)
__________________
X-Cart version 4.1.9
Reply With Quote
  #5  
Old 10-07-2009, 10:04 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update!

I've also temporarily change all my permissions to 777.
__________________
X-Cart version 4.1.9
Reply With Quote
  #6  
Old 10-07-2009, 10:11 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Welcome.tpl Won't Update!

does your custom/home_main.tpl say welcome.tpl or Welcome.tpl?
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 10-07-2009, 10:25 AM
 
BritSteve BritSteve is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 339
 

Default Re: Welcome.tpl Won't Update!

Is var $compile_check = false; in Smarty.class.php set to true?
__________________
Version 4.1.8 & 4.1.9
ezcheckout4.1.x
cdseolinks2
product_metatags41x
shipping_per_product41x

http://www.earthsmagic.com
Reply With Quote
  #8  
Old 10-07-2009, 10:26 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update!

Quote:
Originally Posted by Ashley
does your custom/home_main.tpl say welcome.tpl or Welcome.tpl?

I'm assuming you mean customer/home_main.tpl?

In which case it calls for the following:
{include file="customer/main/welcome.tpl"

Which is the File thats is giving me so much grief.
And Thank you so Much for your help so far!
__________________
X-Cart version 4.1.9
Reply With Quote
  #9  
Old 10-07-2009, 10:29 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update!

Quote:
Originally Posted by BritSteve
Is var $compile_check = false; in Smarty.class.php set to true?


Its set to: var $compile_check = true;

Should I change it to false?

Also:
var $force_compile = false;
__________________
X-Cart version 4.1.9
Reply With Quote
  #10  
Old 10-07-2009, 10:34 AM
 
mromrell mromrell is offline
 

Member
  
Join Date: Oct 2009
Posts: 11
 

Default Re: Welcome.tpl Won't Update!

BritSteve!
You got me in the right direction!!
I changed var $force_compile to True and now i think its working!
__________________
X-Cart version 4.1.9
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 02:40 PM.

   

 
X-Cart forums © 2001-2020