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

HELP! - head.tpl won't change

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-16-2003, 01:58 PM
 
blagarde blagarde is offline
 

Member
  
Join Date: Jun 2003
Posts: 28
 

Default HELP! - head.tpl won't change

Hi - I'm a newbie to X-Cart, but have plenty of experience with HTML, CSS, PHP, etc. Smarty Templates are pretty new to me right now though, but seems like it'll be easy to learn. Anyway, that in mind, I must be missing something simple here.

I just installed X-cart and began to make my initial modifications to the layout, specifically starting with head.tpl for the customer section. All the code looked fine, and previewed just fine too. However, it didn't actually change when I went to look at the customer home page. I even tried to create a different file named newhead.tpl and changed the reference in home.tpl to reflect this as well. Still no luck. Any ideas what's happening?

Thanks in advance!
Reply With Quote
  #2  
Old 06-16-2003, 04:29 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

try clearing the cache (templates_c dir)

you can do this by runing the cleanup.php file
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 06-17-2003, 06:51 AM
 
blagarde blagarde is offline
 

Member
  
Join Date: Jun 2003
Posts: 28
 

Default

Hrm... that still didn't do anything. Very wierd.
Reply With Quote
  #4  
Old 06-17-2003, 07:19 AM
 
blagarde blagarde is offline
 

Member
  
Join Date: Jun 2003
Posts: 28
 

Default

Okay, actually solved this problem by manually deleting all the extraneous files in template_c directory. cleanup.php didn't seem to want to do the job.
Reply With Quote
  #5  
Old 06-17-2003, 12:52 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

i think this is actually a smarty bug, but yes deleting the templates_c directory will solve it. May need to softboot the server in some circumstances depending on you server settings. (not likely)
__________________
ex x-cart guru
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:35 AM.

   

 
X-Cart forums © 2001-2020