2017 © Pedro Peláez
 

silverstripe-module embargoexpiry

Adds embargo period and expiry dates to content items. Ripped from advancedworkflow module

image

silverstripe/embargoexpiry

Adds embargo period and expiry dates to content items. Ripped from advancedworkflow module

  • Thursday, July 20, 2017
  • by sminnee
  • Repository
  • 6 Watchers
  • 6 Stars
  • 3,795 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 2 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

SilverStripe Embargo-Expiry Module

THIS MODULE HAS BEEN REPLACED WITH https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry), (*1)

This is stripped down version of the AdvancedWorkflow module. It only includes the embargo-expiry features, all other features have been removed from the original code., (*2)

Note: This is not compatible with the AdvancedWorkflow module!, (*3)

Forked from AdvancedWorkflow module (commit: da4efb25984), (*4)

Overview

A module that provides embargo and expiry dates for scheduled publishing and unpublishing of content items., (*5)

Embargo - allow some content changes to only appear as published at some future date. Expiry - a date-time on which to unpublish some content changes., (*6)

Requirements

  • SilverStripe Framework and CMS 3.1 or newer
  • Queued Jobs module (for embargo/expiry functionality)

Installation

Install with composer, (*7)

composer require silverstripe/embargoexpiry

Then run a dev/build to rebuild your database and class cache, (*8)

./framework/sake dev/build flush=all

Add WorkflowEmbargoExpiryExtension as a SiteTree extension, in your mysite/_config.yml file., (*9)

SiteTree:
    extensions:
        - WorkflowEmbargoExpiryExtension

Ensure the QueuedJobs module is installed and configured correctly. You should have a cronjob similar to the following in place, running as the webserver user., (*10)

*/1 * * * * cd  && sudo -u www php /sites/default/www/framework/cli-script.php dev/tasks/ProcessJobQueueTask

Note: you'll need to update the path to cli-script.php to reference your own environment., (*11)

The Versions

20/07 2017

dev-master

9999999-dev

Adds embargo period and expiry dates to content items. Ripped from advancedworkflow module

  Sources   Download

BSD-3-Clause

The Requires

 

by Andrew Short

silverstripe expiry embargo