2017 © Pedro Peláez
 

silverstripe-module silverstripe-block_enhancements

Enhancement of the silverstripe-blocks module

image

micschk/silverstripe-block_enhancements

Enhancement of the silverstripe-blocks module

  • Wednesday, September 7, 2016
  • by micschk
  • Repository
  • 7 Watchers
  • 16 Stars
  • 87 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 7 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

SilverStripe Blocks Enhancements (WIP)

Work in progress!, (*1)

This module adds enhancements to the Silverstripe Blocks module, namely: * Visual display/preview of block layouts * Assign blocks to available block-areas by drag & drop * Inline editing of blocks, blocktype & content * Adds a 'Publish + blocks' button to publish all blocks along with the page in one go * Some other small Ux improvements, (*2)

image Drag to assign block area, block-preview images, inline-editing, (*3)

Usage:

  • Install as usual (remember to run a 'composer update' as well)
  • There's a 'images/BlockIcons.svg' file containing examples of block layout previews.
  • Create a BlockClassName.png image for each BlockClassName in mysite/block_images/

Installation

Composer

composer require micschk/silverstripe-block_enhancements

Install via composer, + run 'composer update' (seems needed for the select2 module to create web-accessible 'components' dir)., (*4)

Then run dev/build and see the README of sheadawson/silverstripe-blocks for further instructions, (*5)

Requirements (all pulled in by composer)

  • SilverStripe CMS ~3.1
  • Silverstripe Blocks module + requirements
  • (This module contains a slightly modified copie of EditableRow by Milkyway Multimedia, thanks)

The Versions