Webmastersite.net
Register Log In

Building new similar directores

Comments on Building new similar directores

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Nov 20, 2007 - 3:58 AM:

Hello

I have nearly finished buildng a directory.

I want to be able to replicate all of the sttings I have created, including custom fields, templates etc, in more directories I want to build.

Is there a way to do this simply, or do I need to start from scract each time. I saw something in the admin panel about saving settings a database schema, but I;m not sure what exactly has to be done after that.

Thanks
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 20, 2007 - 4:07 AM:

jayweb wrote:
Hello

I have nearly finished buildng a directory.

I want to be able to replicate all of the sttings I have created, including custom fields, templates etc, in more directories I want to build.

Is there a way to do this simply, or do I need to start from scract each time. I saw something in the admin panel about saving settings a database schema, but I;m not sure what exactly has to be done after that.

Thanks


I did this by setting up a site then before adding info I backed it up and keep that on my local computer. When I want to do a new site I merely restore the back up.

Or you could go to phpmyadmin and export the structure only. But I found my way much easier <G> Particularly as I use a number of highly customised templates, and then I just change the wrapper and css file to give a totally new design and layout.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 20, 2007 - 5:20 AM:

A backup is probably the smarter, easier way to go, but this is what I've been doing for a customer project recently:

1) At the original site, after downloading /templates/ and /languages/, I went to admin/diagnostic.php and got that result. I opened it in a text editor and removed site-specific lines like the directory url and file path. (If your tables prefixes are different, you'll need to bulk-replace wsnlinks_ with {PREFIX}.) Then I go to Admin -> Misc -> Advanced, generate an upgrade schema and download schemas/dbschema.wsn.

2) At each new site, I upload /templates/ and /languages/. I upload schemas/dbschema.wsn and run upgrade.php. At Admin -> Misc -> Advanced I supply diagnostic.sql.

I guess I'm overcomplicating things.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Nov 20, 2007 - 6:35 AM:

Thanks both, for your replies. Great info.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.