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

Layouts for designers

The layouts editor from a designer's side: layouts, zones, blocks, collections and rules, how the pagelayout resolves and draws a layout, which templates draw what, and how a design takes over their markup.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/theme-design/layouts-for-designers.md

On this page

Layouts for designers

This page is for designers whose sites use the layouts editor, the page builder in which editors compose pages from blocks. Editors decide what goes on a page; designers decide how every block looks. The page explains the concepts, the rendering chain and where your templates plug in. Editors' side: The layouts editor; the full reference: Exponential Layouts.

Contents

  1. Five ideas
  2. The rendering chain
  3. The templates
  4. Taking over the markup in your design
  5. What to read next

Five ideas

IdeaIn one lineDesigner's concern
Layouta named arrangement based on a layout typethe grid of its zones
Zonea named region of a layout (main, left, footer)where blocks sit and how wide they are
Blockone item in a zone: text, image, list, hero ...the block's markup and CSS per view type
Collectionthe content a list-like block shows (picked or queried)how items are drawn
Rulewhich pages get which layoutnone, but it explains which layout you see
The Layouts dashboard: the counts of layouts, zones, blocks, rules and collections and the recent layouts
The Layouts dashboard: the counts of layouts, zones, blocks, rules and collections and the recent layouts

The rendering chain

  1. The pagelayout asks for a layout: fetch( 'explayouts', 'resolve_layout', hash() ) (or resolve_layout_for_node).
  2. The resolver walks the enabled rules by priority and returns the first published layout that matches.
  3. explayouts/layout.tpl draws the layout: with the layout type's own template ([LayoutType_<type>] Template=) or the zones one under another.
  4. explayouts/zone.tpl (or zone_blocks.tpl inside a layout type template) draws each top-level block of the zone.
  5. Each block is drawn by explayouts/block/<definition identifier>.tpl, which can switch on $block.view_type.

If no rule matches, the pagelayout falls back to {$module_result.content}.

The templates

In extension/explayouts/design/standard/templates/explayouts/:

TemplateDraws
layout.tpla layout: picks the layout type template or lists zones
layouts/<type>.tplthe grid of one layout type (1_column, 2_column, hero, sidebar_left ...)
zone.tpl, zone_blocks.tplthe top-level blocks of a zone
block/<definition>.tplone block definition (title.tpl, list.tpl, two_columns.tpl, full_view.tpl ...)
tpl_block/<name>.tplthe "template block": a part of the page drawn by a template the block names

A block template receives $block (with id, definition_identifier, view_type, name, values, and for children parent_id and placeholder), $zone and $module_result. The full_view block prints {$module_result.content}: the page's own content inside the layout.

Taking over the markup in your design

The layouts templates live in the standard design of the extension, so any design above standard in your cascade replaces them by path. The media design has templates/explayouts/layout.tpl, zone.tpl, block/... and tpl_block/... of its own; the starter design too. Copy only the block templates whose markup you want to change. See Block view templates.

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