Choose the layout type for a page type
Pick the zones a new page type needs before creating its layout.
Life cycle: Plan, example 2 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Layouts > Layouts > New layout shows the types: 1 column, 2 columns, 3 columns, 4 columns, Hero + 3 columns, Sidebar left, Sidebar right, Featured, Mosaic, Single zone, Header / Main / Footer, Header / Left / Right / Footer.
- On the media theme, choose Header / Main / Footer or Header / Left / Right / Footer: the theme's
explayouts/layout.tplplaces the zonesheaderandfooteraround<main>and arrangesleftandrightforlayout_4.
With templates
- The zones of each type are in
extension/explayouts/settings/explayouts.ini.append.php,[LayoutType_<id>] Zones[]; a new type is a new block there plus its template.
Which to choose
Use the two types the theme draws; a new type needs template work in the theme's layout template too.
Check
- The new layout shows the zones you expect in the editor.
Related pages
- Build a campaign page, start to finish
- Plan 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.