ContentBlocks ContentBlocks 2.x Migration from v1
ContentBlocks 2 is a complete rewrite, not an in-place upgrade. You should plan for a migration path, rather than expecting a one-click update.
Table of Contents
Major changes
- File-based configuration — blocks, layouts, and canvas settings move from the manager component to JSON files on disk.
- New database tables — canvas data uses
cbCanvas,cbCanvasLayout, andcbCanvasBlock. - Twig templates — front-end output uses
.twigor.tplfiles alongside JSON definitions. - Terminology — v1 “fields” become v2 “blocks”.
What was removed
- Manager field/layout editor as the source of truth (definitions are files)
- Templates (preset layout+field inserts via Template Builder) — use starter blocks on a layout column. See Templates and Defaults.
- Default Templates — no v2 equivalent yet
- Categories in the component — use
categoryon JSON definitions instead
Migration approach
Hold off on migration until we provide migration tooling during the beta.