Part of the Group ecosystem · 61 projects
This module allows you to split a single Drupal installation into multiple independent microsites. It leverages the Group module to define these microsites and control access based on how a group is identified, such as through the current domain. An admin mode is included to simplify setup by temporarily disabling these restrictions.
Group Sites is a way to leverage Group to divide your site into microsites.
This module allows you to use any context provider that returns a Group context to set said Group as a global context value. You can then choose one of several access policies to activate when a Group entity was either found or not found.
An example would be where you use a context provider that derives a Group entity from the currently active domain. Then you would deny all Group access aside from the one that was tied to the current domain, effectively splitting one Drupal installation into multiple websites.
To make setting up your site easier, the module also comes with an admin mode that you can toggle from the admin toolbar. While this mode is on, you can use the site as if Group Sites wasn't even installed.
Features
- An admin mode allowing you to bypass the restrictions so you can more easily set up your website
- A few access strategies available out of the box
- Full compliance with Drupal core's context provider system (ContextProviderInterface)
Additional Requirements
Depends on the Group module.
Recommended modules/libraries
Can be coupled with Domain to allow full entity access and query access per domain. Use the Group Context: Domain module for this.
Similar projects
This module differs from projects such as Domain Group or Group Domain in that it does not care what your source of selection is. It could be Domain, but it will still work equally well if you decide to base your Group context on a path prefix, user language or whatever. Essentially this module abstracts the microsite logic and makes it available for a multitude of use cases.
Supporting this module
Drop me a line if you want to help fund (feature) development.
Ask your assistant about Group sites
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
1 tracked project depends on this one
- LocalGov Microsites Group 54 sites
More in the Group ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.x-dev | Dev | 10–11 | Nov 8, 2024 | ||
| 1.1.0 | Stable | 10–11 | Nov 8, 2024 | ||
| 1.0.3 | Stable | 9–10 | Jun 7, 2024 | ||
| 1.0.2 | Stable | 9–10 | Jun 7, 2024 | ||
| 1.0.1 | Stable | 9–10 | Nov 6, 2023 | ||
| 1.0.0 | Stable | 9–10 | Oct 24, 2023 | ||
| 1.0.0-alpha3 | Pre-release | 9–10 | Oct 18, 2023 | ||
| 1.0.0-alpha2 | Pre-release | 9–10 | Oct 12, 2023 | ||
| 1.0.0-alpha1 | Pre-release | 9–10 | Oct 11, 2023 | ||
| 1.0.x-dev | Dev | 10–11 | Oct 11, 2023 |