2017 © Pedro Peláez
 

silverstripe-module silverstripe-adaptivecontent

SilverStripe Adaptive Content

image

heyday/silverstripe-adaptivecontent

SilverStripe Adaptive Content

  • Sunday, January 17, 2016
  • by heyday
  • Repository
  • 20 Watchers
  • 2 Stars
  • 635 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 2 % Grown

The README.md

SilverStripe Adaptive Content

Generic sets of fields as data extensions. Originally intended to be the back-end for an "adaptive" content strategy (content adapting to device/context), but generally quite useful as a set of common, reusable fields., (*1)

See 1.0 branch for SilverStripe 2.4 compatible version., (*2)

Installation (with composer)

$ composer require heyday/silverstripe-adaptivecontent:~3.0

Usage

The main component of this module can be used simply by adding the AdaptiveContent extension to a dataobject or page:, (*3)

SomeDataObject:
  extensions:
    - AdaptiveContent

The other field extensions work in the same way:, (*4)

SomePage:
  extensions:
    - AdaptiveContent
    - AdaptiveContentHierarchy
    - AdaptiveContentRelated('Page')

Example use

See heyday/silverstripe-slices for an example use of this module., (*5)

Unit testing

$ composer install --dev
$ vendor/bin/phpunit

The Versions

31/07 2013

2.0.2

2.0.2.0

SilverStripe Adaptive Content

  Sources   Download

The Requires

 

The Development Requires

25/07 2013

2.0.1

2.0.1.0

SilverStripe Adaptive Content

  Sources   Download

The Development Requires

22/07 2013

2.0.0

2.0.0.0

SilverStripe Adaptive Content

  Sources   Download

The Development Requires

23/04 2013

1.0.x-dev

1.0.9999999.9999999-dev

SilverStripe Adaptive Content

  Sources   Download

The Development Requires