Gossamer Forum
Home : Products : Gossamer Links : Discussions :

build 2 static sites with 1 database

Quote Reply
build 2 static sites with 1 database
Aloha,

I wonder if it's possible to do the following thing:

Building 2 static sites (2 templates) with 1 database

So static site 1 uses template_1 and

static site 2 uses template_2.

Is that possible?



Allready thanks.
Quote Reply
Re: [startpoint] build 2 static sites with 1 database In reply to
How about installing 2 copies, each with exactly the same settings (except the templates and where to build obviously), and then just get them to read the same database? Dunno if it would work....but its worth a try Smile

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [startpoint] build 2 static sites with 1 database In reply to
No need for two copies, just set your default template set and paths, then build, then choose a different set and new paths and build again.

As far as I know, that should work.
Quote Reply
Re: [RedRum] build 2 static sites with 1 database In reply to
Aloha RedRum,

Quote:
No need for two copies, just set your default template set and paths, then build, then choose a different set and new paths and build again.


Thanks, looks like the best way yet, but i dont want to do it manually all the time :)

Just wonder if someone did write a 'hack' for it. Maybe i must rewrite nph-build.cgi ? Hope someone have ideas.

Regards

Starpoint..