Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Subsite

No security coverage
View on drupal.org

Subsite lets you make any node or set of nodes look like a different website by overriding the theme, branding, main menu, and more. Perfect for event and campaign micro-sites etc, subsite has been designed to be used by editors as part of the editorial process. Configuration for each subsite is stored with the node in a field which means it supports content revisions and works with your usual content workflow.

Features

  • Lightweight, field-based solution - it's not intended as a replacement to Domain Access or Organic Groups.
  • Designed to be used by content editors - not site admins.
  • Any node or set of nodes can make a subsite.
  • Have as many sub-sites as you like.
  • All configuration is saved in a field attached to a single node for each subsite.
  • Any content type can be subsite enabled by adding a subsite field.
  • Should "just work" with modules like Subdomain.

Currently includes plugins for:

  • Theme override - select from any enabled theme.
  • Branding override - override site name, logo, favicon etc.
  • Book module integration - use books to maintain a hierarchy of sub-site pages and override the main menu navigation.
  • Social media links module integration - override social links for each subsite.

Installation

  1. Add a subsite field to any content type.
  2. On the content type "Manage form display" and "Manage display" tabs set the subsite field to hidden.
  3. There may be hard dependencies on the book and social_media_links modules, so download (not book - that's in core) and enable if necessary. TODO!

Use

To create a subsite

Create or edit a node of the subsite type(s) and try out the "Subsite" node settings in the node settings panel.

To create a multi-page subsite

  1. Make sure the book module is enabled with book support configured for the subsite enabled content type(s) (Content types allowed in book outlines).
  2. The subsite "homepage" node needs to be the top-level page in a book - so if it's not already select the "Create a new book" option in the "Book outline" vertical tab on the node edit page.
  3. Add sub pages as child pages to the subsite book. The child pages can be of any content type.

Status

Although currently being used on a live site (http://www.hfsc.org.uk v http://www.hfsc.org.uk/solent-forts-race), there is still some work to do before it is ready for general use. Written whilst going through the "first Drupal 8 site" experience there's considerable room for improvement and a fair bit of refactoring to do. Suggestions welcome - code, architecture, features, whatever.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.1.0 Stable Dec 27, 2024