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

Redesign of site with CSS - new folder?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-18-2009, 04:59 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Redesign of site with CSS - new folder?

Hi, I am about to convert my site to CSS layout, there are tables all over the place at the moment. Can I just create a new folder on my server, copy the /store/ folders into it, and modify them? Once I'd finished the conversion, I would copy back the new CSS file and the templates to the original /store/ folder.

Sorry if this question has already been asked before, I couldn't find it using search.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #2  
Old 07-18-2009, 05:32 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Redesign of site with CSS - new folder?

you just need to create a new skin1 folder, call it skin2 or something, then when you are ready, rename the original skin1 to something else - oldskin1 for example, and rename your new template to skin1. You can copy the skin1 folder if you want, although it might be easier to start from scratch!

there are css templates out there which might save you hours of removing templates!

hth
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote

The following user thanks amy2203 for this useful post:
Sisom (07-18-2009)
  #3  
Old 07-18-2009, 05:40 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

Many thanks Amy, I'll create the new skin2 folder. I can't use a ready made CSS template because my site is heavily customised (most of it I did myself), but having gone through all of that for over year and a half, I know everything I need to convert the whole site to CSS now. I'll let you know how I get on!

It will be a lot easier converting from tables to CSS, than the other way round!
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #4  
Old 07-18-2009, 06:09 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

Hi Amy, the problem I have is that I want to be able to work on the CSS version without replacing the original version, until I've finished the CSS version. How do I view the skin2 store? I've copied all the files in /store/skin1 into store/skin2, but I can't work out how to view them, as I can't access /store/skin1 or skin2 in my browser.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #5  
Old 07-18-2009, 06:19 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Redesign of site with CSS - new folder?

in that case you will need to work on a backup copy of the whole store,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #6  
Old 07-18-2009, 08:25 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

Hi Amy, so I would just make a new folder, such as 'store2' (although I'm going to use another phrase which nobody can guess, I thought that would be better as then nobody should be able to find the new store while I work on it), and copy all of the files and folders inside 'store' into it?
Forgive my ignorance, it's been over a year since I did any of this sort of thing on the site, and I've forgotten it all.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #7  
Old 07-18-2009, 08:27 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Redesign of site with CSS - new folder?

pretty much, just check your config to make sure all the paths are correct, your root path etc will have changed,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #8  
Old 07-18-2009, 08:33 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Redesign of site with CSS - new folder?

Also make sure you close that second store and put
Code:
User-agent: * Disallow: /
in your robots.txt. You don't want your dev store indexed by the search engines
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 07-18-2009, 09:13 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

Thanks for that cflsystems, I was worried about it being indexed again, I'll update robots.txt as you advised.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #10  
Old 07-18-2009, 11:22 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

I've copied all the /store/ files into another directory, let's say it's called 'tomcat' (it isn't, but I need to use a dummy name here to show what I'm doing).

Let's say my website is at www.mysite.com

If go to www.mysite.com/tomcat/admin/home.php
I get the normal admin log in page, but when I log in, the URL changes back to
www.mysite.com/store/admin/home.php?keep_https=yes

I presume that the log in button is pointing back to /store/admin/home.php, instead of to /tomcat/admin/home.php - do you know what file I should edit to change this? I've looked at /tomcat/admin/home.php itself, and auth.tpl, but I can't see what I'm looking for. Many thanks for any help you can give.

(I've amended the robots.txt file for the /tomcat/ directory as well, and will close the /tomcat/ store as soon as I can get into the admin!)
__________________
X-Cart Gold Version 4.3.2
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 06:21 AM.

   

 
X-Cart forums © 2001-2020