Downloads

Download subsites-6.x-1.0.tar.gztar.gz 15.96 KB
MD5: 568e315bcf09a3216b1ee5a82e5b9fdb
SHA-1: 78f1ca06c7e39fc2a76549e8a2b0854f9ff11c5b
SHA-256: 1fa3a274316d0195395ddd7efabd7f20b134c7bc22e71aeba84b7fdb826a1045
Download subsites-6.x-1.0.zipzip 19.25 KB
MD5: c78455a1887f675ae1a9b950ec8ac61b
SHA-1: 1e9c605c97a9987deff1120bd0eee248bfb52ee5
SHA-256: 7e3b40c634e13614a6158671240186dd3eb0e108188aca483c5a048b4f939c51

Release notes

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! There can only be one subsite active at any moment. If multiple subsites are valid for some page, the one with the lowest weight is the active one.

Created by: davyvdb
Created on: 3 Nov 2009 at 11:14 UTC
Last updated: 3 Nov 2009 at 11:16 UTC
New features

Other releases