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.
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.
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.
Comments on Building new similar directores
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
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
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Thanks both, for your replies. Great info.