derralf / silverstripe-elemental-mover

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SilverStripe Elemental Mover

A simple experimental extension to move Elements to other Areas/Pages.
(private project, no help/support provided).

Requirements

  • SilverStripe CMS ^4.3
  • dnadesign/silverstripe-elemental ^4 || ^5

For a SilverStripe 4.2 and Elemental 3.x compatible version of this module, please see the 1.x release line.

Installation

  • Install a module via Composer
composer require derralf/elemental-mover
  • Apply extension to BaseElement in mysite/_config/elements.yml
DNADesign\Elemental\Models\BaseElement:
  extensions:
    - Derralf\ElementalMover\ElementalMoverExtension

Configuration

none

Usage

  • Go to "Expert Settings" tab, select another page and save.
  • Maybe you have to set "inline_editable: false" for base element in your elements.yml

Caution

  • You will eventally get a "page does not exist" after moving/saving. I don't know how to prevent this. Just select another Page and move on editing over there.
  • May not work properly with mutliple Element Areas per Page

About

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%