Skip to content

Commit

Permalink
Moved extension into own module
Browse files Browse the repository at this point in the history
For use in new Elemental block extension
  • Loading branch information
purplespider committed Mar 13, 2020
1 parent c25e678 commit e603c15
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 247 deletions.
9 changes: 2 additions & 7 deletions _config/galleries.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
---
Name: basic-galleries
---
SilverStripe\Admin\LeftAndMain:
extra_requirements_css:
- 'purplespider/basic-galleries:client/dist/css/cms.css'
PurpleSpider\BasicGalleries\PhotoGalleryPage:
show_in_sitetree: false
extensions:
- PurpleSpider\BasicGalleries\PhotoGalleryExtension
- PurpleSpider\BasicGalleryExtension\PhotoGalleryExtension
gallery-title: Image Gallery
gallery-cms-tab: Main
content-cms-tab: Top Content
PurpleSpider\BasicGalleries\PhotoGalleryImage:
ondelete_delete_image_files: false
content-cms-tab: Top Content
3 changes: 0 additions & 3 deletions client/dist/css/cms.css

This file was deleted.

Binary file removed client/dist/images/gallery-file.gif
Binary file not shown.
Binary file removed client/dist/images/holder-file.gif
Binary file not shown.
47 changes: 0 additions & 47 deletions code/CustomLumberjack.php

This file was deleted.

97 changes: 0 additions & 97 deletions code/PhotoGalleryExtension.php

This file was deleted.

90 changes: 0 additions & 90 deletions code/PhotoGalleryImage.php

This file was deleted.

4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"require": {
"silverstripe/framework": "^4.4",
"silverstripe/cms": "^4.4",
"colymba/gridfield-bulk-editing-tools": "3.*",
"symbiote/silverstripe-gridfieldextensions": "^3",
"silverstripe/lumberjack": "2.*"
"purplespider/silverstripe-basic-gallery-extension": "^1"
},
"extra": {
"expose": [
Expand Down

0 comments on commit e603c15

Please sign in to comment.