2017 © Pedro Peláez
 

silverstripe-module silverstripe-ozzymental

Useful additions to the Elemental module.

image

nyeholt/silverstripe-ozzymental

Useful additions to the Elemental module.

  • Tuesday, December 12, 2017
  • by nyeholt
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4,192 Installations
  • PHP
  • 0 Dependents
  • 2 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

OzzyMental - some Elemental extensions

Adds in, (*1)

  • ElementaryPage - a page type that uses elements
  • EmbeddedItemElement - An element type that uses OEmbed for embedding arbitrary URL content
  • TemplatedElementExtension - with the User Templates module, allows for elements to be individually templated.

Composer Install

composer require nyeholt/silverstripe-ozzymental:~2.0

Requirements

  • SilverStripe 4.1+

Configuration

ElementaryPage can be used out of the box as a new page type when creating a page, (*2)

EmbeddedItemElement will be available as an element to add, (*3)

TemplatedElementExtension - NOT AVAILABLE IN SS4 as yet, (*4)

Templated elements

Add in User Templates module, and you can choose a CMS managed template to be bound to the template, (*5)

You'll need to add an ElementHolder.ss template to your theme that contains something like, (*6)


$TemplatedContent

to make use of it., (*7)

Then, bind the extensions, (*8)

---
Name: element_config
---
DNADesign\Elemental\Models\BaseElement:
  extensions:
    - Symbiote\Elemental\Extension\TemplatedElementExtension

DNADesign\Elemental\Controllers\ElementController:
  extensions:
    - Symbiote\Elemental\Extension\TemplatedElementControllerExtension

---
Name: elemental_overrides
Only:
  moduleexists: usertemplates
---
DNADesign\Elemental\Models\BaseElement:
  has_one:
    LayoutTemplate: Symbiote\UserTemplates\UserTemplate

The Versions

12/12 2017

dev-master

9999999-dev

Useful additions to the Elemental module.

  Sources   Download

BSD-3-Clause

silverstripe elements multirecord-editing

12/12 2017

1.0.0

1.0.0.0

Useful additions to the Elemental module.

  Sources   Download

BSD-3-Clause

silverstripe elements multirecord-editing