dpc-sdp/tide_site

This package is abandoned and no longer maintained. No replacement package was suggested.

Post content to multiple sites and sections.

Installs: 40 491

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 15

Forks: 2

Open Issues: 15

Type:drupal-module

4.1.2 2024-08-07 10:14 UTC

This package is auto-updated.

Last update: 2024-10-30 04:21:22 UTC


README

Tide Site

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.

CircleCI Release https://www.drupal.org/8 Licence: GPL 2 Pull Requests

What is in this package

  • Fields for Site taxonomy vocabulary.
  • JSONAPI and Tide API module integration.
  • Preview Links support (with Tide API).
  • Simple Sitemap integration configuration.

Installation

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 

Support

Digital Engagement, Department of Premier and Cabinet, Victoria, Australia is a maintainer of this package.

Contribute

Open an issue on GitHub or submit a pull request with suggested changes.

Development and maintenance

Development is powered by Dev-Tools. Please refer to Dev-Tools' page for system requirements and other details.

To start local development stack:

  1. Checkout this project
  2. Run ./dev-tools.sh
  3. Run ahoy build

Related projects

License

This project is licensed under GPL2

DRUSH

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.

Attribution

Single Digital Presence offers government agencies an open and flexible toolkit to build websites quickly and cost-effectively.

SDP logo

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.

Salsa logo