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

Changing Skins

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-25-2004, 09:49 AM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Changing Skins

Hi to all! I am new to PHP and XCart, infact been here for 2 days.

I have a question for XCart users. I purchased the Crystal skin and was wondering how you change it back to the original skins. Could someone please write a step by step as I would probably B***s it up.

Many Thanks in Advance
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #2  
Old 12-25-2004, 12:05 PM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

How was the crystal skin installed?
Was the old skin1 renamed or deleted or overwritten?

If you run the install.php file again you will see the option to reinstall the skin, this will reinstall the original. But make sure you backup the crystal skin first.

If you want a very easy way to switch skins in the future, get this, I highly recommend it:
http://www.cart-lab.com/lab/customer/product.php?productid=1&cat=0&page=1
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #3  
Old 12-25-2004, 01:26 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Skins

Quote:
Originally Posted by CC
How was the crystal skin installed?
Was the old skin1 renamed or deleted or overwritten?

If you run the install.php file again you will see the option to reinstall the skin, this will reinstall the original. But make sure you backup the crystal skin first.

If you want a very easy way to switch skins in the future, get this, I highly recommend it:
http://www.cart-lab.com/lab/customer/product.php?productid=1&cat=0&page=1

xcart installed the skin and it looks like the old one is now known as skin1_original in the www folder, next to it is the skin1 folder. I have tried to rename the old folder to skin1 but this did not work.

Any ideas on the procedure appreciated.

That skin on the fly program looks good also, thanks for that.

Cheers

John
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #4  
Old 12-25-2004, 01:47 PM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

No, skin1_original is what is used when you run the install program.

X-Cart uses skin1_original to copy these back into the skin1 directory to reset the templates.

The easiest way to do this would be to, backup skin1 directory completely and then run /install.php to reinstall the standard skin to the cart.

From here you could keep the backup as skin2 in case you ever want to switch back to it. All you do then is rename skin1 to skin1_ORIG and then rename skin2 to skin1 and the crystal skin is back again.

Basically that skin swap mod is a nice easy admin way of doing this.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #5  
Old 12-25-2004, 02:06 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

Cheers CC, I am just ordering the skin program, should make life a little easier.

How do you install it?

Cheers Mate

John
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #6  
Old 12-26-2004, 12:48 AM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

You will get a little readme file with it, which shows you how to install.
It is very easy.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #7  
Old 12-26-2004, 08:43 AM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default cc

Hmmm got it and tried it, no joy! What a spacker.

Could not get it to work........



Created the skinswap folder in the www root, the instructions said xcart root but my site does not have that, here were the instructions.

1. Make a backup copy of xcart/smarty.php just incase. DID

2. Login to your admin area of your X-cart and apply the SQL patch found
in this archive entitled "skinswap.sql". DID

3. Create a subdirectory entitled "skin_swap" in the root installation of
your x-cart. (default is xcart/) This will be your skin repository. DID IN WWW ROOT

4. Copy your existing skin1/ directory into the newly created "skin_swap".
So you have a directory structure like so: DID

|-> xcart (or root)
|-> skin_swap
|-> skin1

5. Copy the file "smarty.php" from this archive over your existing xcart
smarty.php file replacing its contents in its entirety. NOTE: If you
are using 4.0.x version of X-Cart use the file "smarty.php.4.0"
instead. DID AND RENAMED SMARTY.PHP.4.0 TO SMARTY.PHP INSTEAD

6. Now you are ready to start swapping, please read the details below
for a detail description on how the skin swap system works and is
setup! DID NOT WORK
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #8  
Old 12-26-2004, 03:18 PM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

If you follow the instructions correctly it will and does work.

X-Cart still has a root directory, even if your using 4.0.x then the root is your main public_html directory.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #9  
Old 01-03-2005, 02:42 PM
  shan's Avatar 
shan shan is offline
 

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

Default

if you just want to use the default xcart skin ...

download the version your using
rename skin1 to skin1_old
upload the skin1_original folder from the download to your server
rename skin1_original to skin1

basically whatever is in skin1 folder is what xcart uses to display your store

skin1_original is a backup so you can restore your files
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #10  
Old 01-04-2005, 07:29 AM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default thanks alot Guys

All sorted now
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:03 PM.

   

 
X-Cart forums © 2001-2020