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

Which way: the decision table

For each kind of change on a site - layout, block look, menu, chrome, content view, new block type - which way to build it (Layouts editor, template override, settings, content) and why, with the Fit & Healthy example…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/decision-table.md

On this page

Which way: the decision table

Each row is a kind of change. Way is what to use; Also is the second way when the first is not enough.

Page composition

ChangeWayAlsoExample on Fit & Healthy
Arrange blocks on a landing pageLayouts editorLanding Page / Home (28 blocks)
Add a block above the footer on article pagesLayouts editor, shared layout PrefooterPrefooter: "Most popular articles"
Show a block on every pageLayouts editor, shared layout Header / Footer, zone post_header or pre_footerZone header: breadcrumb template block
Give one page type its own layoutLayouts > Layout mappingsFull / Article for articles
Hand-pick the items of a listLayouts editor, List block, manual collectionPrefooter list: three articles
A list that updates itselfLayouts editor, List block, dynamic collectionTemplate with fetch('content','list', ...)

Look and markup

ChangeWayAlsoExample
How every block of one type looksTemplate override explayouts/block/<type>.tplBlock options (Design tab) per blockexplayouts/block/list.tpl
A new look for one block type, chosen per blockNew view type in explayouts.ini plus its templateList: list, grid, list_numbered, list_zigzag, list_accordion, grid_featured
How a content class shows in a listTemplate content/views/<view>/<class>.tplThe block's item view typecontent/views/line/...
The HTML page around everythingTemplate pagelayout.tplextension/sevenx_themes_media/design/media/templates/pagelayout.tpl
Header or footer markupTemplate pagelayout/header.tpl, pagelayout/footer.tplPlaced by template blocks
Colors, fontsStylesheets of the designBlock option background colorbackground_color:color = primary on the header column
ChangeWayAlso
Add, remove, reorder header menu itemsSettings: menu.ini [SiteInfo] MainMenuID[]Add a header menu item
Footer first lineSettings: FooterMenuID[]Footer menu items
Footer second lineContent: Menu items in Footer linksFooter links from the content tree
Menu item textContent: rename the page
A menu that follows the tree by itselfTemplate override of the menu template

New capabilities

ChangeWay
A new kind of block[BlockDefinition_<id>] in explayouts.ini (name, handler, view types, category), a handler class, a template explayouts/block/<id>.tpl
A new layout type (other zones)[LayoutType_<id>] in explayouts.ini plus its template
A template the editor's Template block can nameexplayouts/tpl_block/<name>.tpl in a design

Rules of thumb

  1. Editors change it often? Layouts or content. Templates need a deploy.
  2. Must look the same everywhere? Template. A layout can be changed by anyone with the editor.
  3. A list of pages someone picks by hand? A manual collection in a block, or a settings list like the menus.
  4. Not sure? Build the block's template once (way 1), let editors place it (way 2).

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