Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,220 of 9,220 pages
About the help in other languages
All help pages

Shared layouts and linked zones

One header, footer or pre-footer for every page: shared layouts, zones linked to a shared layout's zone, what a designer must know about how linked zones render, and how to plan a design around them.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/theme-design/shared-layouts-and-linked-zones.md

On this page

Shared layouts and linked zones

This page is for designers who plan a site where header, footer or other regions are the same on every page and editors change them in one place. The layouts editor does this with shared layouts.

Contents

  1. How it works
  2. What the designer plans
  3. How a linked zone renders
  4. Rules worth knowing

How it works

  • A layout marked shared is not mapped to pages by a rule; it exists to be borrowed.
  • Any zone of another layout can be linked to a zone of a shared layout. It then shows the shared layout's blocks in place of its own.
  • Edit the shared layout, publish, and every page that links to it follows.
Layouts, Shared layouts: the layouts other layouts link zones to, such as the header and footer
Layouts, Shared layouts: the layouts other layouts link zones to, such as the header and footer

On the demonstration installation the "Header / Footer" and "Prefooter" layouts are shared and linked from the other layouts (layout type layout_2, with zones header, post_header, main, pre_footer, footer).

What the designer plans

  • Layout types with stable zone names. A header and a footer zone in every layout type of your design make linking straightforward.
  • Block templates that work in any zone. A block from the shared footer is drawn inside the linking layout's zone markup; it must not assume its original surroundings.
  • One stylesheet for header and footer blocks: they appear on every page.

How a linked zone renders

The zone template draws the blocks of the shared layout's published zone instead of its own; for templates nothing changes, the blocks arrive in $zone.blocks as usual (doc/eng-us/bc/6.0/LAYOUTS.md, "How rendering actually works": "or, for a linked zone, the shared layout's blocks").

Rules worth knowing

  • Only published shared layouts can be linked: a zone never shows someone's unfinished draft.
  • A linked zone ignores its own blocks while the link exists; removing the link restores them.
  • Blocks of a published shared layout cannot be edited through a linking layout: open the shared layout and draft it.
  • The legacy admin's "Shared layouts" screen counts the zones linking to each shared layout; check it before changing or deleting one.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x