From 9085db3b4ebc80dc16469cd426419566ab060b92 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sun, 13 May 2018 23:12:56 +0700 Subject: [PATCH] [IMPROVEMENT] Few more SS basic modules --- composer.json | 8 +++++++- site/_config/version-truncator.yml | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 site/_config/version-truncator.yml diff --git a/composer.json b/composer.json index b69c71d..ebf74c6 100755 --- a/composer.json +++ b/composer.json @@ -18,9 +18,15 @@ "dnadesign/silverstripe-elemental-list": "*", "dnadesign/silverstripe-elemental-virtual": "*", "dnadesign/silverstripe-elemental-userforms": "*", + "dynamic/silverstripe-elemental-blocks": "*", "vulcandigital/silverstripe-seo": "^1.0", "hestec/silverstripe-cookiebar": "^1.0", - "drmartingonzo/ss-tinymce-charcount": "^1.0" + "drmartingonzo/ss-tinymce-charcount": "^1.0", + "axllent/silverstripe-version-truncator": "*", + "firesphere/googlemapsfield": "^1.0@dev", + "dorsetdigital/silverstripe-canonical": "^1.0", + "gorriecoe/silverstripe-dataobjecthistory": "^1.2", + "mak001/silverstripe-categorization": "^1.0@dev" }, "require-dev": { "phpunit/phpunit": "^5.7" diff --git a/site/_config/version-truncator.yml b/site/_config/version-truncator.yml new file mode 100644 index 0000000..3477e43 --- /dev/null +++ b/site/_config/version-truncator.yml @@ -0,0 +1,6 @@ +Axllent\VersionTruncator\VersionTruncator: + keep_versions: 4 # how many (published) versions of each page to keep + keep_drafts: 2 # how many drafts of each page to keep + keep_redirects: true # keep page versions that have a different URLSegment (for redirects) + keep_old_page_types: false # keep page versions where page type (ClassName) has changed + \ No newline at end of file