I have a.com and b.com. Both will point to the same place. On home page we have two links: A and B.
A goes to a.com/a/ and B to a.com/b/. Thus all pages will be somewhere on a.com.
So each 'site' is really just a subsite of one site. The layout is virtually the same for each--only difference is the logo and the link to the other site (A links to B in the footer and vice versa). The menus and content for each site are entirely unique.
How should I set this up?
Either directions or a link for further reading would be appreciated.
Thanks, Fred
Like most things in drupal there are several ways to do this. I imagine you could do it using the multiple sites setup but I haven't tried that yet. I might do it by developing 2 templates that call different navigations and logos and work it that way. you could again do this in several different ways but the best way would probably be to set the different nav blocks to the same region but set them to appear on b and b/* or a and a/* depending on the site you want them to appear on. It feels to me like you will run into other issues because of the many things that drupal assumes for you - all solvable but perhaps frustrating. But I don't know what those issues would be.
Fred Jones wrote:
I have a.com and b.com. Both will point to the same place. On home page we have two links: A and B.
A goes to a.com/a/ and B to a.com/b/. Thus all pages will be somewhere on a.com.
So each 'site' is really just a subsite of one site. The layout is virtually the same for each--only difference is the logo and the link to the other site (A links to B in the footer and vice versa). The menus and content for each site are entirely unique.
How should I set this up?
Either directions or a link for further reading would be appreciated.
Thanks, Fred
For multisite on windows: http://drupal.org/node/32715
Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php.
Drupal by default reads the settings.php file in the default folder. You can configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used.
If you want some settings to be shared between the sites you could go in for a shared database configuration.
refer: http://drupal.org/node/147828 for Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x
Shyamala Netlink Technologies
----- Original Message ----- From: "Fred Jones" fredthejonester@gmail.com To: support@drupal.org Sent: Monday, September 17, 2007 7:59 PM Subject: [support] Multiplicity
I have a.com and b.com. Both will point to the same place. On home page we have two links: A and B.
A goes to a.com/a/ and B to a.com/b/. Thus all pages will be somewhere on a.com.
So each 'site' is really just a subsite of one site. The layout is virtually the same for each--only difference is the logo and the link to the other site (A links to B in the footer and vice versa). The menus and content for each site are entirely unique.
How should I set this up?
Either directions or a link for further reading would be appreciated.
Thanks, Fred -- [ Drupal support list | http://lists.drupal.org/ ]
Rajaram Shyamala wrote:
For multisite on windows: http://drupal.org/node/32715
Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php.
Drupal by default reads the settings.php file in the default folder. You can configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used.
Looks good to me. Thanks!
Fred