micschk/silverstripe-block_enhancements

Enhancement of the silverstripe-blocks module

0.1 2016-05-27 14:26 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:28:07 UTC


README

Work in progress!

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

image Drag to assign block area, block-preview images, inline-editing

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).

Then run dev/build and see the README of sheadawson/silverstripe-blocks for further instructions

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)