From 84a41435c6781615a62f213852d5e1f1a86412a5 Mon Sep 17 00:00:00 2001 From: James Cocker Date: Fri, 16 Jul 2021 13:16:33 +0100 Subject: [PATCH 1/2] Added screenshot --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2570f38..7a3112c 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ composer require purplespider/basic-galleries ^2 4. You can then create Photo Gallery Pages underneath this holder. 5. On a Photo Gallery Page, click on the Image Gallery tab, then click Bulk Upload to add images. +## Screenshot +Screenshot 2021-07-16 at 13 15 28@2x + ## Config You can customise the CMS tab that the gallery appears on, as well as the title of the gallery displayed in the CMS: @@ -40,4 +43,4 @@ HomePage: * 0.* = Silverstripe 3 * 1.* = Silverstripe 4 -* 2.* = Silverstripe 4 (Uses newer version of `PhotoGalleryExtension` with a polymorphic relation, so upgrading from 1 to 2 will break existing galleries.) \ No newline at end of file +* 2.* = Silverstripe 4 (Uses newer version of `PhotoGalleryExtension` with a polymorphic relation, so upgrading from 1 to 2 will break existing galleries.) From 61fcb002baee2c01245624ca0a8593b2791e092c Mon Sep 17 00:00:00 2001 From: James Cocker Date: Wed, 21 Jul 2021 10:52:01 +0100 Subject: [PATCH 2/2] Added v1 Upgrade Notes --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7a3112c..c8eafd8 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,9 @@ HomePage: * 0.* = Silverstripe 3 * 1.* = Silverstripe 4 * 2.* = Silverstripe 4 (Uses newer version of `PhotoGalleryExtension` with a polymorphic relation, so upgrading from 1 to 2 will break existing galleries.) + +## Upgrade Notes +### To v1 (extension moved to seperate module) +* Change any references to the extension, e.g. if applied to the Homepage type, from `PurpleSpider\BasicGalleries\PhotoGalleryExtension` to `PurpleSpider\BasicGalleryExtension\PhotoGalleryExtension` +* `PurpleSpider\BasicGalleries\PhotoGalleryImage` is now `PurpleSpider\BasicGalleryExtension\PhotoGalleryImage` (in case you applied your own extension to it) +* Running dev/build will update table names automatically (via legacy.yml)