Multi-site and multi-sections functionality for Tide distribution for Drupal 8
Tide is a Drupal 8 distribution focused on delivering an API first, headless Drupal content administration site.
- Fields for
Site
taxonomy vocabulary. - JSONAPI and Tide API module integration.
- Preview Links support (with Tide API).
- Simple Sitemap integration configuration.
To install this package, add this custom repository to repositories
section of
your composer.json
:
{
"repositories": {
"dpc-sdp/tide_site": {
"type": "vcs",
"no-api": true,
"url": "https://github.com/dpc-sdp/tide_site.git"
}
}
}
Require this package as any other Composer package:
composer require dpc/tide_site
Digital Engagement, Department of Premier and Cabinet, Victoria, Australia is a maintainer of this package.
Open an issue on GitHub or submit a pull request with suggested changes.
Development is powered by Dev-Tools. Please refer to Dev-Tools' page for system requirements and other details.
To start local development stack:
- Checkout this project
- Run
./dev-tools.sh
- Run
ahoy build
- tide
- tide_api
- tide_core
- tide_event
- tide_landing_page
- tide_media
- tide_monsido
- tide_news
- tide_page
- tide_search
- tide_test
- tide_webform
This project is licensed under GPL2
The Drush command tide-site-env-domain-update
, alias tide-si-domup
, will
update one or more taxonomy terms in the Sites vocabulary with new Domains.
This command expects an environment variable FE_DOMAINS
to exist. The var
must be in this format:
FE_DOMAINS="4|develop.premier.vic.gov.au,174|temp.exmaple.com<br/>example.com,172|dddtemp.exmaple.com<br/>dsa.example.com"
The var will get split into an array based on commas, each value being an
array of tids and domain values. This will then be split into an array based
on pipes. The key being the tid and value being a list of domains separated by
, which will be converted into new lines.
This command can be used to ensure the preview and url enhancer features will work on headless sites on non production environments.
Single Digital Presence offers government agencies an open and flexible toolkit to build websites quickly and cost-effectively.
The Department of Premier and Cabinet partnered with Salsa Digital to deliver Single Digital Presence. As long-term supporters of open government approaches, they were integral to the establishment of SDP as an open source platform.