Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/20/07 - 01:58 AM:
#1
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.
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 264
Total Posts: 841
Posted 11/20/07 - 02:07 AM:
#2
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.
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 11/20/07 - 03:20 AM:
#3
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.
Edited by Paul on 11/20/07 - 03:23 AM
_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat