2017 © Pedro Peláez
 

silverstripe-module silverstripe-headergallery

SS4 compatible simple header gallery

image

wernerkrauss/silverstripe-headergallery

SS4 compatible simple header gallery

  • Friday, March 16, 2018
  • by wernerkrauss
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

silverstripe-headergallery

A very simple SilverStripe4 compatible module for a simple (header) gallery., (*1)

Usage

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)

Note

Sorting is currently broken as SortableRows is not SS4 ready yet., (*5)

Todo

[ ] 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)

The Versions

16/03 2018

dev-master

9999999-dev

SS4 compatible simple header gallery

  Sources   Download

MIT

The Requires

 

extension silverstripe