A layout for every other page
No page is left without header and footer.
Life cycle: Launch, example 5 of 33. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Layouts > Layout mappings > New mapping; Link layout: Default Layout; Priority: the lowest (10).
- Target: Path prefix
/, Add target. - Add mapping.
Default Layout has only its header and footer linked to Header / Footer and one block of its own.
With templates
explayouts.ini [ResolverSettings] DefaultLayoutnames the layout used when no mapping matches (on this installation the identifier of Default Layout).
Which to choose
Keep both: the mapping is visible to editors, the setting is the safety net.
Check
- A page of a class without its own mapping still has the site header.
Related pages
- Which layout does a page get?
- Launch 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.