Skip to content
Post content to multiple sites and sections.
PHP Gherkin Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
config SDPA-3224 Remove the summary_contents view (#38) Sep 16, 2019
css
modules/tide_site_simple_sitemap Added submodule. Aug 2, 2018
src
tests [SDPA-1213] Upgraded Tide Site to be compatible to JSON:API 2.x. (#18) Mar 21, 2019
.gitattributes Updating .gitattributes to remove composer.json and tests Jan 29, 2019
.gitignore Updated development stack and fixed CI. (#16) Jan 22, 2019
LICENSE.txt [SDPA-633] SDPA-633 Make the SDP Repositories Public (#3) Aug 29, 2018
README.md
composer.json [SDPA-2992] fix cache issue (#28) Aug 5, 2019
dev-tools.sh
tide_site.drush.inc [SDPSUP-813] : Added a drush command that updates site taxonomies bas… Sep 7, 2019
tide_site.info.yml Added Prominence of Acknowledgement of Country field. (#37) Sep 13, 2019
tide_site.install [SDPA-3237] Removed unrequired update_hook. (#39) Sep 17, 2019
tide_site.libraries.yml
tide_site.module SDPA-3154 Fixed performance issue (#32) Sep 5, 2019
tide_site.services.yml SDPA-3224 Remove the summary_contents view (#38) Sep 16, 2019
tide_site.tokens.inc Added Entity Reference Site enhancer and custom node tokens. (#21) Jun 5, 2019

README.md

tide_site

Post content to multiple sites and sections.

CircleCI

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Recommended Modules
  • Installation
  • Drush

INTRODUCTION

The Tide Site module provides the functionality to post to multiple sites and sections from a single content server.

REQUIREMENTS

RECOMMENDED MODULES

INSTALLATION

Include the Tide Site module in your composer.json file

composer require dpc-sdp/tide_site

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.

You can’t perform that action at this time.