Subsites are a part of your website that can have its own menu, theme, custom CSS or anything else you want.
Subsites can be defined in a few manners:
- Marking individual nodes as belonging to the subsite.
- All pages in the subsite menu belong to the section.
- Defining paths that belong to a the section. This is done in the same way block visibility works. So you can use PHP too!
Subsites can have ...
... their own page template : page-subsites-{subsite-id} or page-subsites-{subsite-slug-name}.tpl.php
... their own CSS file
... their own theme, different from the default theme
... their own menu.
Subsites can be ...
... a condition in Context module (http://drupal.org/project/context)
... used to define block visibility
That's all? Nope! Themers and module writers can react differently for each subsite using subsites_get_current and subsites_get.
Remark! Each path/node/... can have only one subsite. If multiple subsites' conditions apply for the path, the subsite with the lowest weight is the active one.
How can you get involved?
- Help write or improve the handbook documentation.
- Write a review for this module on drupalmodules.com.
- Help translate this module at http://localize.drupal.org/translate/projects/subsites.
- Report any bugs, feature requests, etc. in the issue tracker.
How can you be kept up to date?
- Enable the updates module.
- Read my Drupal blog.
- Follow me on twitter.
Author
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Administration, Content Display, Site Navigation, Theme Enhancements
- Reported installs: 252 sites currently report using this module. View usage statistics.
- Downloads: 3,512
- Last modified: August 30, 2011