2017 © Pedro Peláez
 

silverstripe-module silverstripe-gallery

A Silverstripe extension to add up to two galleries/carousels etc to any page

image

webfox/silverstripe-gallery

A Silverstripe extension to add up to two galleries/carousels etc to any page

  • Tuesday, May 16, 2017
  • by webfox
  • Repository
  • 2 Watchers
  • 0 Stars
  • 297 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

silverstripe-gallery

This plugin simply adds the required dataobjects and makes an extension available to automatically add up to two gallery/carousel etc tabs to any page on your site. This plugin does not do the frontend for you at all as there are so many different options that it's impracticable., (*1)

Just loop over $PrimaryGalleryImages or $SecondaryGalleryImages and render the slides out as you wish. $Image refers to the uploaded image $Title refers to the title on the image, (*2)

Installation Instructions

This module supports installation via composer only,, (*3)

Run the following to add this module as a requirement and install it via composer., (*4)

composer require "webfox/silverstripe-gallery"

Next up add the required config settings, below is an example of adding a carousel to all Page and all subclasses, setting a custom folder for the images to upload to, and setting custom tab titles:, (*5)

Page:
  primary_gallery:
    title: 'Carousel Images'
    folder: 'Carousel-Images'
  secondary_gallery:
    title: 'Gallery Images'
    folder: 'Gallery-Images'
  extensions:
    - GalleryExtension

By default both galleries are enabled, but can be disabled by setting enabled to false, which can also be used to disable the gallery on a subclass:, (*6)

SubclassOfPage:
  primary_gallery:
    enabled: false
  secondary_gallery:
    enabled: false

then browse to /dev/build?flush=all, (*7)

Requirements

  • Silverstripe 3.1+

The Versions

16/05 2017

dev-master

9999999-dev

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

12/12 2016

v2.0.2

2.0.2.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

21/11 2016

v2.0.1

2.0.1.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

02/11 2016

v2.0.0

2.0.0.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

10/06 2016

v1.0.2

1.0.2.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

05/04 2016

v1.0.1

1.0.1.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox

09/11 2015

v1.0.0

1.0.0.0

A Silverstripe extension to add up to two galleries/carousels etc to any page

  Sources   Download

MIT

The Requires

 

by Matthew Hailwood

gallery silverstripe carousel webfox