Download the PHP package dynamic/silverstripe-blocks-to-elemental-migrator without Composer
On this page you can find all versions of the php package dynamic/silverstripe-blocks-to-elemental-migrator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamic/silverstripe-blocks-to-elemental-migrator
More information about dynamic/silverstripe-blocks-to-elemental-migrator
Files in dynamic/silverstripe-blocks-to-elemental-migrator
Package silverstripe-blocks-to-elemental-migrator
Short Description Migrate data from SilverStripe Blocks to SilverStripe Elemental
License BSD-3-Clause
Informations about the package silverstripe-blocks-to-elemental-migrator
SilverStripe Blocks to Elemental Migrator
Summary
SilverStripe 3 saw the creation of new way to manage content. One of these ways was the Blocks module. With the release of SilverStripe 4, Elemental is now the preferred "Block" type module for managing sets of flexible content. This module aims to make migrating from the Blocks module to Elemental a little easier.
This module provides a base task that is customisable to allow for additional blocks you may have created to be migrated to existing elements, or new elements you have created.
Requirements
- SilverStripe ^4.0
- SilverStripe Elemental ^2.0
- SilverStripe Blocks ^2.0
Installation
composer require dynamic/silverstripe-blocks-to-elemental-migrator
Usage
Configuration
Configuration supports mapping Blocks and their relations to DataObjects to Elements and their relations to DataObjects. Below is a sample configuration migrating AccordionBlock
, ImageBlock
and RecentBlogPostsBlock
to ElementAccordion
, ElementImage
and ElementBlogPosts
respectively.
blockmigration.yml
You may run into some snags depending on your project. Check out the Advanced Configuration for additional options and suggestions.
All versions of silverstripe-blocks-to-elemental-migrator with dependencies
sheadawson/silverstripe-blocks Version ^2.0
dynamic/silverstripe-classname-update-tasks Version ^1.0@dev