concrete5-community / blocks_cloner
A ConcreteCMS package to copy blocks between websites
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 0
Open Issues: 0
Type:concrete5-package
Requires
- concrete5/core: ^8.5.2 || ^9
- dev-main
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.12
- 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-fix-mismatched-html-elements
- dev-h-allow-double-escape
- dev-illuminate-fs
- dev-fix-building-routes-in-vue
- dev-export-whole-stacks
- dev-check-upload-perms
- dev-fix-checking-blocks
- dev-no-xdebug
- dev-fix-copy-http
- dev-show-no-refs
- dev-es2020
- dev-check-area-permissions
- dev-phpcs
- dev-export-area-styles-contents
- dev-container
- 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-04-02 19:39:03 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 XML 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 their data.
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 Single Blocks
When clicking on a block, the context menu will contain a new "Export Block as XML" entry: click it to copy and paste the CIF text.
Exporting Area Styles and/or Blocks
You can also export custom area styles, as well as all the blocks in an area. To do so, simply click on the area handle: you'll see a new "Export Area as XML" menu item: click on it to export the custom area style and/or the blocks it contains.
Exporting Blocks and Areas
You can choose an area or block to export by selecting it from the page structure. Do to so, simply click the "Export as XML" icon you see in the toolbar. A panel will appear where you can choose the item to export.
Importing Blocks and Area Styles
You can import blocks and/or custom area styles into an area by clicking its handle: the context menu will display a new "Import from XML" entry: click it to paste the CIF to be importer.
In the toolbar you'll also see a new "Import from XML" icon: if you click it, you'll see a panel where you can see all the areas in the page. To add data 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 š