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

Advice on how to develop and deploy new look please.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-06-2008, 11:21 AM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Advice on how to develop and deploy new look please.

I'm looking for advice on the best way to re-theme/re-skin our x-cart site that is live.

Is there a way to create a new skin folder (e.g. skin2 - by copying the skin1_original folder), make my changes to these files, and preview it on the live site? Then upon completion of the re-skinning, change the configuration settings and switch from skin1 (current skin) to skin2?

Or

Should I copy the site to a development server, edit the skin1 template files and then once happy simply overwrite the old skin1 template files with the new skin1 template files on the live webserver?

What would you recommend as the best process? Is there another, better way to do this.

Thanks.
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
Reply With Quote
  #2  
Old 03-06-2008, 11:35 AM
 
balinor balinor is offline
 

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

Default Re: Advice on how to develop and deploy new look please.

Option 2 is your best bet. I usually install X-Cart on a sub-directory using the same database and just edit the skin files there. When the skin is done, just rename the skin1 folder on the main site and move the modified one up.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-06-2008, 11:49 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Advice on how to develop and deploy new look please.

I could provide a mod to allow your option 1 request to work, if there's interest.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #4  
Old 03-06-2008, 12:38 PM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Re: Advice on how to develop and deploy new look please.

Quote:
Originally Posted by balinor
Option 2 is your best bet. I usually install X-Cart on a sub-directory using the same database and just edit the skin files there. When the skin is done, just rename the skin1 folder on the main site and move the modified one up.

This sounds good - is there anything that I need to be concerned about running my development project on the same database as my production site? For instance, I will want to re-skin all the checkout pages and so forth, so will this pose any major issues?

Thanks for the reply
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
Reply With Quote
  #5  
Old 03-06-2008, 12:39 PM
 
balinor balinor is offline
 

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

Default Re: Advice on how to develop and deploy new look please.

As long as you don't modify any php files or database settings, it won't affect your live store. Keep your changes to the templates in the development directory.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 03-06-2008, 12:42 PM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Re: Advice on how to develop and deploy new look please.

Quote:
Originally Posted by intel352
I could provide a mod to allow your option 1 request to work, if there's interest.

Thanks for this. I'd rather source a way to re-skin the site with minimum impact on the actual configuration of the site. I was just wondering whether x-cart has the functionality within it to run 2 skins at once (dependant on say, role or user id) already built into it.

I'm sure that someone will stumble upon this thread in need of your mod though!

Thanks,
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
Reply With Quote
  #7  
Old 03-06-2008, 12:47 PM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Re: Advice on how to develop and deploy new look please.

Quote:
Originally Posted by balinor
As long as you don't modify any php files or database settings, it won't affect your live store. Keep your changes to the templates in the development directory.

Okay - great. So to clarify for myself and others in the same boat:

1. Take backup of website
2. Upload backup to sub-domain
3. Password protect sub-domain for security(?)
4. Update relevant settings in config.php ($xcart_http(s)_host)
5. Site should run as normal in sub-directory
6. Make all changes to the skin1 template file
7. Overwrite existing skin1 directory with new, modified skin1 directory
7. Close shop
8. Rename exisiting skin1 directory to skin1_old
6. Upload new skin1 directory
10. Open shop

Have I missed anything?

Thanks,

--------
Edit 1: edited as per Kube below
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
Reply With Quote
  #8  
Old 03-06-2008, 12:52 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Advice on how to develop and deploy new look please.

Regarding...

6) Overwrite existing skin1 directory with new, modified skin1 directory

Me being pedantic... perhaps close the shop, rename the original skin1 folder and then rename the new skinned folder to skin1. I wouldn't overwrite; as anything could go wrong and then you have nothing to revert back to. Except a lengthy upload of original skin1.

==============================
Edit: missed out "then rename the new skinned folder to skin1"
__________________
Doms
kube v4.1.9
Reply With Quote
  #9  
Old 03-06-2008, 01:06 PM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Re: Advice on how to develop and deploy new look please.

Quote:
Originally Posted by kube
Regarding...

6) Overwrite existing skin1 directory with new, modified skin1 directory

Me being pedantic... perhaps close the shop, rename the original skin1 folder and then rename the new skinned folder to skin1. I wouldn't overwrite; as anything could go wrong and then you have nothing to revert back to. Except a lengthy upload of original skin1.

==============================
Edit: missed out "then rename the new skinned folder to skin1"

Good call - I've amended the list
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
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:50 PM.

   

 
X-Cart forums © 2001-2020