Zen Cart Logo
Forums / General Questions / Help creating a dummy site

Help creating a dummy site

Views: 1,567

Results 1 to 12 of 12
31 Dec 2010, 7:31 PM
#1
commdiver avatar

commdiver

Zen Follower

Join Date:
May 2010
Posts:
222
Plugin Contributions:
0

Help creating a dummy site

I am trying to create a dummy site to test out some new designs. I copy my files into a subdirectory, however, the files in the subdirectory are still linked to the stylesheet in my main directory. How can I change that?

For example, if my subdirectory is called "demo", I want all the files to be linked to the stylesheet in the demo subdirectory, not to the stylesheet in the main directory.

Thank you in advance for any help.

31 Dec 2010, 8:24 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help creating a dummy site

Your second site configure.php files are most likely pointing to your live site and database

Be careful

And yes that is what is required to setup a test site

It must be a completely seperate install with its own database

31 Dec 2010, 10:47 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help creating a dummy site

Is there no PHP file I can edit to change the stylesheet link path?

Yes, editing the configure.php files does that, but there is more you need to do in order to avoid messing up your main site and database.

31 Dec 2010, 11:58 PM
#6
commdiver avatar

commdiver

Zen Follower

Join Date:
May 2010
Posts:
222
Plugin Contributions:
0

Re: Help creating a dummy site

Thank you for the help so far.

I got the dummy site up, but I am missing the products and several other customizations that I made. My real website is queencharlottesoaps.com. My dummy site is queencharlottesoaps.com/test. As you can see, none of the sideboxes are there and neither are the products.

I am guessing this has to do with the database. If that is correct, how would I fix this with phpMyAdmin?

Again, thank you for the help so far.

1 Jan 2011, 1:16 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help creating a dummy site

To get the sideboxes in a newly activated template, you need to reset them in Tools > Layout Boxes Controller.

1 Jan 2011, 6:58 AM
#8
commdiver avatar

commdiver

Zen Follower

Join Date:
May 2010
Posts:
222
Plugin Contributions:
0

Re: Help creating a dummy site

Is there a way to fix the rest, like add the products?

Thank you for the help so far. Happy New Year!

1 Jan 2011, 11:01 PM
#9
commdiver avatar

commdiver

Zen Follower

Join Date:
May 2010
Posts:
222
Plugin Contributions:
0

Re: Help creating a dummy site

I figured this last part out on my own. For those wondering, export your main database via phpMyAdmin. Then import that .sql file into your new database.

2 Jan 2011, 1:19 AM
#10
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help creating a dummy site

Something else to remember is that one needs to Password protect their dummy / test area. This will prevent Search Engines from indexing and prevent double indexing; which would be a bad thing. Your Hosting control panel should allow you to this.

2 Jan 2011, 1:42 PM
#11
saitomedia avatar

saitomedia

Zen Follower

Join Date:
Feb 2008
Location:
Southern California
Posts:
146
Plugin Contributions:
0

Re: Help creating a dummy site

Website Rob:

This will prevent Search Engines from indexing and prevent double indexing;

Incorporate robots.txt:

http://www.robotstxt.org/robotstxt.html

3 Jan 2011, 8:14 AM
#12
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help creating a dummy site

OK, let me be more specific.

When you have a dummy / test area you do not want "anyone" to access it. It is solely for "your" benefit and no one else needs to see it... period. And that is why you Password protect it.