On this page
Multiple Drupal Sites with One Monster Menus Tree
By default, Monster Menus has one menu tree, starting with top level called "Home". But it can also be used to provide an unlimited number of virtual sites, each with its own menu tree. Each site can have different overall Drupal settings, but share the same content and Monster Menus permissions. This makes use of Drupal's built-in multi-site configurations.
Setup
Step 1: Drupal setup
Create your sites using Drupal's multi-site configuration scheme. See the comments in sites/default/default.settings.php and, if using Drupal 7, sites/example.sites.php for more information.
During setup, it is important to note that you must use the same database for all of your instances. The database "prefix" setting must be the same for all sites, though you can have different prefixes for many tables not used by Monster Menus, if you wish.
If you want to override some of the Drupal settings on a per-site basis, this can be done by changing $conf. See the section called Variable Overrides in default.settings.php.
Step 2: Configuring Monster Menus
If you have not already done so, install MM in one of your sites. Configure it as you normally would.
Next, go to the URL admin/mm/sites, using the http://hostname/path for the site you want to configure. Click on the Add tab to create a sub-page which will serve as the homepage for your new site. Be sure to use a meaningful site name, as there are times when this will be displayed to anyone who can create content on your site.
Choose the newly-created site in the "Current Homepage" column, and click the "Set the current homepage" button. Now, when you visit your site's homepage, the page you just created will be displayed.
Repeat this process for any additional sites you want to create. Just be sure you access admin/mm/sites using the http://hostname/path for the site you want to configure.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion