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

4.2 - Are there unused templates?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-23-2009, 05:02 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 4.2 - Are there unused templates?

Well, I have finally gotten around to playing with 4.2 but there are some things that are confusing to me.

I discovered that there is a skin1/customer/head.tpl that appears to control the customer side of the store, skin1/head_admin.tpl that appears to control the admin side of the store, and skin1/head_printable.tpl that appears to control customer printed pages, but for the life of me I have not figured out what skin1/head.tpl does. Does skin1/head.tpl serve any purpose?

I realize that in versions of x-cart prior to 4.2 that skin1/head.tpl was used for the customer side of the store, but it appears that skin1/customer/head.tpl has rendered this template obsolete. If this is the case, why is it still there? More importantly, are there other templates I am going to come across that serve no purpose and are simply "leftovers" from some past incarnation of x-cart?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #2  
Old 01-23-2009, 05:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 4.2 - Are there unused templates?

Yea, it looks like there are definitely some leftovers
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-23-2009, 05:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: 4.2 - Are there unused templates?

Have you run across others? Is it ok to just delete them or will this cause problems with future "upgrades"? I guess I don't understand why they are there to begin with.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #4  
Old 01-23-2009, 08:18 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: 4.2 - Are there unused templates?

I think these files are not worthy to spend time on. Just leave them alone
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #5  
Old 01-24-2009, 06:32 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: 4.2 - Are there unused templates?

Quote:
Originally Posted by Victor D
I think these files are not worthy to spend time on. Just leave them alone


How do I know which ones they are?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
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:51 PM.

   

 
X-Cart forums © 2001-2020