Plan the mapping priorities
No page gets the wrong layout because a general mapping comes first.
Life cycle: Plan, example 11 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Fit & Healthy: home (Location 89) 210, recipes 160, articles 130, topics 120, Default Layout (path prefix
/) 10. - Give single pages (Location, Path) high numbers, class rules middle numbers, catch-alls low numbers.
Without mappings
- Without any mapping the page uses
[ResolverSettings] DefaultLayoutofexplayouts.ini(on this site the identifier of Default Layout), or no layout at all.
Which to choose
Leave gaps between numbers (10, 20 ...) so new mappings fit in.
Check
- For three sample pages, going down the list by priority leads to the expected layout.
Related pages
- Which layout does a page get?
- 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.