Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help creating a dummy site

    https://www.zen-cart.com/tutorials/index.php?article=13
    Follow this
    https://www.zen-cart.com/tutorials/i...hp?article=107

    And you can apply to the new DB a backup of your live site

  3. #3
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default Re: Help creating a dummy site

    Quote Originally Posted by kobra View Post
    https://www.zen-cart.com/tutorials/index.php?article=13
    Follow this
    https://www.zen-cart.com/tutorials/i...hp?article=107

    And you can apply to the new DB a backup of your live site
    I have to go through all of that? Is there no PHP file I can edit to change the stylesheet link path?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

  6. #6
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

  8. #8
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default 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!

  9. #9
    Join Date
    May 2010
    Posts
    222
    Plugin Contributions
    0

    Default 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.

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Please help this dummy!
    By adrian44 in forum Customization from the Admin
    Replies: 8
    Last Post: 11 Feb 2011, 04:32 PM
  2. Need Help Creating Site map
    By windowla in forum General Questions
    Replies: 16
    Last Post: 9 Dec 2009, 08:58 PM
  3. Creating a dummy store
    By CaroleAs in forum General Questions
    Replies: 20
    Last Post: 14 Nov 2009, 12:43 PM
  4. Meta Tags - Help a Dummy
    By sheila123 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2009, 12:44 AM
  5. Dummy Needs Help :-)
    By pdxbray in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2006, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg