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

How the footer is built

From the footer zone of the shared layout Header / Footer to pagelayout/footer.tpl and its three data sources - FooterMenuID, the site info object and the Footer links folder - with the real file paths.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/how-the-footer-is-built.md

On this page

How the footer is built

The footer follows the same road as the header (How the header is built). Paths are relative to extension/sevenx_themes_media/design/media/templates/.

Contents

  1. From layout to template
  2. Inside footer.tpl
  3. What to change where

From layout to template

StepWhat
1The page's layout links its zone footer to zone footer of the shared layout Header / Footer
2That zone holds one Template block with the template name footer (block 14 on this site)
3explayouts/layout.tpl places the footer zone after <main>, explayouts/zone.tpl renders its blocks
4explayouts/block/tpl_block.tpl asks tpl_block_template(), which answers pagelayout/footer.tpl (by block ID, else because it is a root block in zone footer)

A page without a layout includes pagelayout/footer.tpl from pagelayout.tpl directly.

Inside footer.tpl

pagelayout/footer.tpl first fetches the site info object, the object whose remote ID is menu.ini [SiteInfo] RemoteID (media-o-site-info on this site). Without that object it renders nothing. Then:

PartDataTemplate code
Logothe design's logo{include uri='design:content/parts/site_logo.tpl'}
First link lineezini('SiteInfo','FooterMenuID','menu.ini'), one fetch('content','node', ...) per ID<li id="menu-item-additional_menu-location-id-...">
Social iconsfields facebook, twitter, instagram, linkedin of the site info object, shown when they have content$ft_site_info.data_map.facebook.has_content
Second link linefetch('content','list', ...) of the children of the object with remote ID [SiteInfo] FooterLinksRemoteID (default media-o-footer-links), class ng_menu_item, in the folder's sort order<div class="footer-menu footer-links">
Cookie settingsparts/cookie_settings_link.tpl
Info textstranslatable strings, context design/media/pagelayout'...'|i18n('design/media/pagelayout')

NexusFooterMenuID[] plays the same part as NexusMainMenuID[] in the header: it gives the id and data-location-id attributes of the first items the IDs of the reference site. A link whose URL alias starts with fit-healthy/ is written with ezroot instead of ezurl.

What to change where

ChangeWayPage
Add a page to the first linesettings (FooterMenuID[])Footer menu items
Add a link to the second linecontent (Menu item in Footer links)Footer links from the content tree
Social profile addressescontent (edit the site info object)
Blocks above the footer on article and recipe pagesLayouts editor (shared layout Prefooter)Shared layouts and zone linking
Footer markuptemplate override in your own design extensionTwo ways to build

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