Hi

I want to install some sites:
- sub1.domain1.com (db prefix: sub1_)
- sub2.domain1.com (db prefix: sub2_)
- sub3.domain1.com (db prefix: sub3_)
- www.domain2.com (db prefix: dom2_)
- www.domain3.com (db prefix: dom3_)

All these sites should use the same db and the same db prefix, cck, views, ubercart etc. but different themes and blocks.

I already created a standard multisites installation (all are using db prefixes) which is working fine.

What table do I have to set as differnt in $db_prefix array in the settings.php?

Or do I have to use another way?

Thanks in advance!

regards
cyaneo

Comments

yarrait’s picture

Hello,

You can override theme_default variable in settings.php and assign different themes for different domains in your multisite installation

e.g. in your domain1.com's settings.php

$conf = array(
'theme_default' => 'theme_domain_1',
);

in your domain2.com's settings.php

$conf = array(
'theme_default' => 'theme_domain_2',
);

etc...

And you can use same db and codebase but with different themes on different domains.

Thanks

cyaneo’s picture

Cool + easy, thank you!