dev-master
9999999-devSS4 compatible simple header gallery
MIT
The Requires
by Werner Krauß
extension silverstripe
SS4 compatible simple header gallery
A very simple SilverStripe4 compatible module for a simple (header) gallery., (*1)
in your templates you can use $HeaderGallery
to get the gallery of the current Page, (*2)
If you want fallback for parent pages or the home page you can use $HeaderGalleryPics
, (*3)
As this module adds a many-many relation to Page you can reuse Images on different Pages., (*4)
Sorting is currently broken as SortableRows is not SS4 ready yet., (*5)
[ ] add GridfieldGalleryTheme when it's SS4 ready, (*6)
[ ] add GridfieldSortableRows when it's SS4 ready, (*7)
[ ] unit tests of course (at least for the fallback method), (*8)
SS4 compatible simple header gallery
MIT
extension silverstripe