Migrate a template-built site to Layouts
An existing site gets the Layouts editor without a redesign.
Life cycle: Migrate, example 14 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Create a shared Header / Footer with those template blocks; create a layout per page type linking
headerandfooter; map each by class; add blocks where editors need them.
With templates
- Save the header, breadcrumb and footer parts as templates the Template block can name (
explayouts/tpl_block/<name>.tpl), or map them by place as the media theme does.
Which to choose
This is how the Fit & Healthy theme is built: template blocks carry the old chrome.
Check
- Every page looks as before; editors can add blocks in
main.
Related pages
- Your own template blocks
- Shared layouts and zone linking
- Migrate examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.