2017 © Pedro Peláez
 

silverstripe-module silverstripe-green-addons

Addons for the silverstripe-green module that provide template parsing and code generation

image

unclecheese/silverstripe-green-addons

Addons for the silverstripe-green module that provide template parsing and code generation

  • Wednesday, October 19, 2016
  • by unclecheese
  • Repository
  • 0 Watchers
  • 2 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Addons for SilverStripe Green

This module provides additional feautres to the silverstripe-green module., (*1)

Installation

composer require unclecheese/silverstripe-green-addons, (*2)

Auto-populating content

You can parse your index.ss template for variables and auto-create content using a task:, (*3)

$ framework/sake dev/tasks/GreenTemplateParserTask module=my-design-module, (*4)

This task looks at both variables and blocks defined in your template, converts them into the appropriate structure in JSON or YAML, and assigns placeholder content to them., (*5)

This feature is also available when editing YAML in the CMS. Just click (Load from template) above the code editor, and it will populate the editor automatically., (*6)

The Versions

19/10 2016

dev-master

9999999-dev https://github.com/unclecheese/silverstripe-green-addons

Addons for the silverstripe-green module that provide template parsing and code generation

  Sources   Download

BSD-3-Clause

The Requires

 

json yaml silverstripe design green