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

updated my head.tpl by "Edit templates"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-09-2009, 06:51 PM
 
ernest.ng ernest.ng is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 6
 

Lightbulb updated my head.tpl by "Edit templates"

Hi There~

I did updated my head.tpl by "Edit templates",
it looks fine on the preview page with css,
but I cannot see changing on my website,
I do even re-compile all the templates, but it doesn't work,

otherwise, I found that the phone number on the page is "1-800-555-5555"

I tried to get into the "Languages" page, but I couldn't find it,
is there somewhere else I can update it?

Thanks,
Ernest
__________________
X-Cart 4.2.2
Reply With Quote
  #2  
Old 09-09-2009, 06:58 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: updated my head.tpl by "Edit templates"

re-compile? Do you mean you cleared the cache with cleanup.php or you used "compile templates" under Edit Templates? If you actually compiled all the templates (reverse it) all language variables are now inserted into the templates with their real value. So if you change language variable it won't affect the site.
Phone number is under General Settings/Company Options, is not a language variable
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 09-09-2009, 08:10 PM
 
ernest.ng ernest.ng is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 6
 

Default Re: updated my head.tpl by "Edit templates"

OMG.. so what should I do now?
I just want to update the tpl files,
when I replace the logo.gif, it works(of coz),
but when I remove the head.tpl, nth happened. (because of compile?)
how can I modify the page?
__________________
X-Cart 4.2.2
Reply With Quote
  #4  
Old 09-09-2009, 08:16 PM
 
ernest.ng ernest.ng is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 6
 

Default Re: updated my head.tpl by "Edit templates"

I tried to preview it in "edit templates", it works
and then I run the cleanup.php, then get in my website again,
I saw all the old stuffs, please hlp... thanks a lot.
__________________
X-Cart 4.2.2
Reply With Quote
  #5  
Old 09-09-2009, 08:46 PM
 
ernest.ng ernest.ng is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 6
 

Default Re: updated my head.tpl by "Edit templates"

oh ok, I know what's the problem,

it should be:
skin1/customer/head.tpl

thank god, thanks cflsystems~
__________________
X-Cart 4.2.2
Reply With Quote
  #6  
Old 09-10-2009, 01:10 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: updated my head.tpl by "Edit templates"

Moving to Template Editing - please only post Completed Code in the "Completed Custom Mods & Templates" Forum - thanks!
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 09-10-2009, 04:37 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: updated my head.tpl by "Edit templates"

Ok so you were editing the wrong file. Glad it turns out ok. In 4.2.x they moved all customer related templates under skin1/customer
__________________
Steve Stoyanov
CFLSystems.com
Web 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 12:32 PM.

   

 
X-Cart forums © 2001-2020