1

We are looking to create templated sites that have the same basic structure with the following differences. We would want to look up which site is being created based on domain/subdomain.

  • Same navigation, but links to different node. ex: About Page has different content
  • Different logo/header throughout the site.

Is there a module or suggested approach to do this?

NOTE: We want to use the same codebase and database.

1

The standard way of doing this is called a "multi-site". It allows you to use the same codebase for multiple sites. Each site in a multi-site has its own settings.php, so you may use different databases or the same database (this is controlled by the database settings in settings.php.

To use a different logo, just go to appearance > settings and upload a different image for the logo.

Here is a link to my tutorial about setting up a multi-site: http://heim.ifi.uio.no/gisle/staging2/drupalprimer/drupal/drupal_install.html#multi

There is also instructions at Drupal.org: https://drupal.org/documentation/install/multi-site

0

As per my understanding you want to use the same drupal instance to make another site.

Yes you can do all these which you have asked. You will have to copy the instance & set at different location(where ever you want, either at your local or sub-domain).

To change the logo, you will have to go to appearance->theme->setting & upload new image for logo.

You can go to your content list & edit the content of ABOUT US to change the page content of your about us link.

Other things like site name can be changed from site setting in configuration area of the site.

  • I forgot one key point. We want to use the same codebase and database – Chris Muench Jun 27 '13 at 17:51
  • @ChrisMuench - Thats multisite then, Gisle has answered you for that... Good Luck :) – RajeevK Jun 27 '13 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.