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

Add custom skin to 4.4?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-27-2010, 03:09 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Add custom skin to 4.4?

Just started working on a new site in 4.4. I like the skin chooser facility, but want to add my own skin to the list as this would seem to be the best strategy, rather than editing one of the default skins.

I just want to add my new skin(s) and stop the others showing in the drop down list, so the users don't screw things up.

I have scoured the database to find where this list of skin definitions is stored to no avail - it must be there somewhere - anyone know where to look.

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #2  
Old 08-27-2010, 03:31 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Re: Add custom skin to 4.4?

Found it!

It's not in the database - it just looks in the skin folder - bit like the way Wordpress themes work.

You just copy one of the existing skin theme folders in the /skin directory - change the altskin.ini file to reflect whatever name you want to give it. Update screenshots and whatever else needs updating and there you go.

There is a folder of templates in the skin folder under /customer, I am assuming these override the default ones - so if you put a new home.tpl in here it should take precedence an and stop you having to edit the default files - am I right Qualiteam??

If so this will make upgrading a whole lot easier.

Oh well - CSS here I come....

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote

The following 2 users thank JannieB for this useful post:
DavyMac (11-28-2012), Steel (10-15-2011)
  #3  
Old 08-27-2010, 03:42 PM
  robb3369's Avatar 
robb3369 robb3369 is offline
 

Advanced Member
  
Join Date: Jul 2010
Posts: 83
 

Default Re: Add custom skin to 4.4?

Your exactly right... the folders in your new template folder will need to match the same ones in the common_files folder (images, css, customer, etc.)

One thing to watch for is going to how your new css file include the image, since more are relative (../images) . You'll need to copy some of the core images from /skin/common_files/images to your /skin/newtemplate/images folder. Be sure to keep checking in firebug for missing images and copy the missing ones over as you find them... It's a bit slower but it keeps your new template folders nice and clean.
__________________
Thanks, Rob

X-Cart 4.4.5 and 4.5.4 on Linux
Reply With Quote

The following user thanks robb3369 for this useful post:
Steel (10-15-2011)
  #4  
Old 09-02-2010, 07:29 PM
 
cngirlie cngirlie is offline
 

Newbie
  
Join Date: Nov 2009
Posts: 3
 

Default Re: Add custom skin to 4.4?

Where the heck is the Skin Chooser!?!?! I must be blind, but I can't find where you can change to a different template.....

Just installed 4.4 to try it out. Client is still on 4.2.3...

Thanks!
__________________
X-Cart v4.2.3 [unix]
Modules: Advanced Statistics, Bestsellers, Detailed Product Images, Discount Coupons, Extra Fields, Fast Lane Checkout, Gift Certificates, HTML Editor, Image Verification, Manufacturers, News Management, Order Tracking, Product Options, Shipping Label Generator, UPS OnLine Tools
Location: US
Reply With Quote
  #5  
Old 09-03-2010, 05:23 AM
  robb3369's Avatar 
robb3369 robb3369 is offline
 

Advanced Member
  
Join Date: Jul 2010
Posts: 83
 

Default Re: Add custom skin to 4.4?

In the admin panel, goto "Settings" -> "General Settings" -> On right side click on "Appearance" and its right on top under "Select skin to use"
__________________
Thanks, Rob

X-Cart 4.4.5 and 4.5.4 on Linux
Reply With Quote

The following user thanks robb3369 for this useful post:
vasilis (03-06-2011)
  #6  
Old 11-29-2012, 04:17 AM
 
DavyMac DavyMac is offline
 

eXpert
  
Join Date: Apr 2007
Location: Poole, UK
Posts: 333
 

Default Re: Add custom skin to 4.4?

I have duplicated and renamed one of the folders in the skin folder, updated the .ini file with new order and name but this new folder is not automatically appearing in the skin selector on the "Settings" -> "General Settings" ->"Appearance" page.

There is more that needs to be done. Does anyone know what else is required in 4.5.4?


******[UPDATE] Sorry, it did work. I had to clear my browser's cache
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
Reply With Quote
  #7  
Old 11-29-2012, 01:07 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Add custom skin to 4.4?

You don't have to copy all skin files. Only copy the skin files you want to change. It falls back to using the files in common_files if your custom skin folder doesn't have it.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
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 04:31 PM.

   

 
X-Cart forums © 2001-2020