Lesson 5.1: What shared layouts are
Every page has the same header and footer. Without shared layouts, every layout would carry its own copy, and a new phone number in the footer would mean editing every layout. A shared layout holds such blocks once; other layouts link a zone to it. This lesson explains the idea and how to recognize it.
At a glance
| Course | Exponential Layouts |
| Module | Module 5: Shared layouts and zone linking |
| Duration | 30 minutes (15 presenting, 15 exercise) |
| Level | Intermediate |
| Audience | Editors and site builders |
| Prerequisites | Module 3 |
Learning objectives
After this lesson, learners can:
- explain what a shared layout is and why it is not mapped to pages by a rule;
- read the Shared layouts screen: each shared layout with its identifier, type, date and number of references;
- recognize a linked zone in the editor (red dashed border, hatched blocks);
- explain that linked blocks are changed in the shared layout, not in the linking one.
Trainer's notes
How to present it
Sources: Shared layouts: header, footer and prefooter and Exponential Layouts: Shared layouts and linked zones.
- The idea (4 minutes). A layout marked shared exists to be borrowed. Any zone of another layout can be linked to one of its zones and then shows that layout's blocks instead of its own. Change the shared layout, publish, and every page follows.
- The screen (3 minutes). Layouts > Shared layouts: Layouts whose zones other layouts link to. Each card: the name, identifier, type, date and references (how many zones link to it), with Preview, and New shared layout at the top. A shared layout with zero references is valid; nobody has adopted it yet.
- In the editor (4 minutes). A zone with a red dashed border and hatched blocks is linked: its blocks come from a shared layout. Linked blocks cannot be changed in the linking layout; Edit linked layout leads to the shared layout, where you make a draft and edit.
- Typical shared layouts (2 minutes). A header and footer (type
layout_2), a prefooter (typelayout_1), a right column for articles.
Common questions
Can a shared layout also be used as a page layout? It is not mapped to pages by a rule; it exists to be linked.
Can a zone link to a draft? No. Only published shared layouts can be linked, so a zone never points at someone's unfinished work.
What happens to the linking zone's own blocks? They are ignored while the link is in place, and come back when the zone is unlinked.
Pitfalls
- Editing a shared layout "just quickly". It changes every page that links to it; check the reference count first.
- Dropping blocks into a linked zone. They do not show while the link is in place.
- Confusing shared layouts and components. Components are styled blocks; shared layouts are whole layouts whose zones are borrowed.
Hands-on exercise
Use the training installation and your layouts training account.
- Open Layouts > Shared layouts. Read the line under the title.
- Write down each shared layout's name, type and number of references.
- Press Preview on the shared layout with the most references.
- Open Layouts > Layouts, find a page layout of type
layout_2that is not shared, and press Preview: find the header and footer from the shared layout. - The trainer opens that page layout in the editor on the projector and points at the linked zones (red dashed border, hatched blocks) and at Edit linked layout.
- Write down which zones of that page layout are linked and to which shared layout.
Expected result
- The learner's notes list the shared layouts with their reference counts, and the linked zones of one page layout.
- The learner can say where the footer of the training site is edited.
- The trainer checks by asking a learner where they would change the phone number in the footer.

Quiz
- Why does a shared layout make sense for a footer?
- What does the number of references on the Shared layouts screen tell you?
- How do you recognize a linked zone in the editor?
- True or false: a zone can link to a draft of a shared layout.
- Where do you change a block that a linked zone shows? A. In the linking layout B. In the shared layout C. In the content tree D. In the mappings
Answers
- The footer is defined once; changing and publishing the shared layout changes every page (Shared layouts).
- How many zones of other layouts link to it.
- A red dashed border and hatched blocks (A tour of the administration).
- False. Only published shared layouts can be linked.
- B.
Further reading
Related pages
- Module 5: Shared layouts and zone linking
- Exponential Layouts: course overview
- Trainers: start here
- 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.