concrete5-community / blocks_cloner
A ConcreteCMS package to copy blocks between websites
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Type:concrete5-package
Requires
- concrete5/core: ^8.5.2 || ^9
- dev-main
- 0.9.11
- 0.9.10
- 0.9.9
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- dev-always-relate-version-edits
- dev-check-import-export-stacks
- dev-import-check-icons
- dev-import-in-stacks
- dev-export-stacks-blocks
- dev-fix-ga-style-display
- dev-export-styles-global
- dev-fix-npm-deps
- dev-new-page-version
- dev-render-imported-block-design
- dev-easier-extensibility
- dev-misc
- dev-fixes
- dev-export-block-styles
- dev-pixel-converter
- dev-improve-converters
- dev-conversion
- dev-add-enviro
- dev-page-feeds
- dev-page-types
- dev-upload-files
- dev-nicer-highlight
This package is auto-updated.
Last update: 2025-03-29 17:28:53 UTC
README
Blocks Cloner
This repository contains a package for ConcreteCMS that lets you copy blocks between two instances of Concrete.
This works by copying and pasting text in the so-called CIF format.
This is also useful for package developers: they can test if new blocks correctly support exporting and importing.
Installation
For composer-based Concrete instances, simply run
composer require concrete5-community/blocks_cloner
Otherwise, you can:
- download a
blocks_cloner-vā¦.zip
file from the releases page - extract the zip file in your
packages
directory
Then, you have to login in your Concrete website, go to the Dashboard > Extend Concrete > Add Functionality, and install the package.
Usage
Simply enter the Edit Mode of a website page.
Exporting Blocks
When clicking on a block, the context menu will contain a new "Export as XML" entry: click it to copy and paste the CIF.
You'll also see a new "Export Block as XML" icon in the toolbar: if you click it, you'll see a panel that lets you view the full structure of the page. Click on a block of that structure to export its CIF.
Importing Blocks
You can import a block into an area by clicking its handle: the context menu will display a new "Import Block from XML" entry: click it to paste the CIF of the block to be added.
In the toolbar you'll also see a new "Import block from XML" icon: if you click it, you'll see a panel where you can see all the areas in the page. To add a block to a specific area, simply click it.
Do you really want to say thank you?
You can offer me a monthly coffee or a one-time coffee š