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

Shared layouts and zone linking

Why one header serves every page - shared layouts, linked zones and the real link map of the Fit & Healthy site - and the "why doesn't my change appear" cases that come from it.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/shared-layouts-and-zone-linking.md

On this page

Shared layouts and zone linking

A layout is made of zones, and a zone either holds its own blocks or is linked to a zone of a shared layout. A linked zone shows the blocks of the shared zone. Change the shared zone once and every linked page changes.

Contents

  1. The shared layouts of the site
  2. Who links to what
  3. What linking means for editing
  4. See the links
  5. Common surprises

The shared layouts of the site

Layouts > Shared layouts lists the layouts that other layouts link to:

The Shared layouts list: Header / Footer with 36 references, Prefooter with 2 references, and the Starter shared layouts
The Shared layouts list: Header / Footer with 36 references, Prefooter with 2 references, and the Starter shared layouts
Shared layoutTypeZones and blocks
Header / Footerlayout_2header: template blocks header and breadcrumb; footer: template block footer; post_header, main, pre_footer: empty
Prefooterlayout_1main: a Column (background secondary) with a Title "Most popular articles" and a List (view Grid, 3 columns) of three hand-picked articles

The Starter shared layouts belong to another theme of the installation.

On the Fit & Healthy site (published layouts, from the database):

Layoutsheaderpre_footerfooter
Full / Article, Full / RecipeHeader / Footer: headerPrefooter: mainHeader / Footer: footer
Default Layout, Full / Topic, Full / Video, Full / Article (Plain), the five Landing pages (Running, Fitness, Healthy Eating, Home, Video), Showcase, the six Bold Agency layoutsHeader / Footer: headerown (empty)Header / Footer: footer

So the Prefooter shows only on articles and recipes. Adding a block to it changes those two page types and no others.

What linking means for editing

  • Blocks of a linked zone are not the page layout's blocks. The editor shows the zone as linked; its blocks are edited by opening the shared layout itself (Layouts > Shared layouts > Header / Footer).
  • A shared layout is edited like any layout: open it, change it in a draft, Publish layout. Every linked page shows the published version.
  • Linking is set per zone, in the editor of the page layout. A zone can be unlinked to give one page type its own blocks.

In the console, exp:layouts list shows the column Links to:

$ ./console exp:layouts list
ID     Identifier                               Name                                 Status     Shared    Rules  Links to
2      fd0aa7af77a85a03bf1080018f5db1dc         Header / Footer                      published  shared        0
7      d14c82715a0c5f1da1e6df4d0b77e638         Prefooter                            published  shared        0
...
21     84f28edc38d2524da1e1d720de5942ba         Full / Article                       published                1  fd0aa7af77a85a03bf1080018f5db1dc, d14c82715a0c5f1da1e6df4d0b77e638
...
29     df2a8cde629658cc80f2fe59cefa77e9         Landing Page / Home                  published                2  fd0aa7af77a85a03bf1080018f5db1dc

The links are stored per zone as linked_layout_id plus linked_zone_identifier; both are needed.

Common surprises

What you seeWhyDo
You added a block to the page layout's header zone and it is not shownThe zone is linked; the page shows the shared zoneAdd it to Header / Footer, or unlink the zone
A block added to Prefooter shows on articles but not on landing pagesOnly Full / Article and Full / Recipe link pre_footerLink the other layouts' pre_footer, or add the block there
The header menu is not in the editorThe header is a template block; the menu is in menu.iniAdd a header menu item
You changed Header / Footer and nothing changedThe draft is not published yetPublish layout

More cases: Why doesn't my change appear?

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