Skip to content

restruct/silverstripe-block_enhancements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Blocks Enhancements (WIP)

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)