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

Override a single node

A special template for one page (the front page, a campaign page, a contact page): matching by remote id rather than node id, priority over class rules, and when a layout or a dedicated class is the better tool.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/templates/override-a-single-node.md

On this page

Override a single node

This page is for designers who need one page to look different from all others of its class: the front page, a landing page, the contact page.

Contents

  1. The rule
  2. Node id or remote id
  3. Finding the remote id
  4. Alternatives

The rule

[mytheme_full_front]
Source=node/view/full.tpl
MatchFile=full/front.tpl
Subdir=templates
Match[node_remote_id]=mytheme-front-node
Priority=0

Priority=0 puts it before the class rules (Override ordering).

Node id or remote id

KeyWorks onSurvives a reinstall or a copy to another installation
Match[node]=2that node idno: ids differ between installations
Match[node_remote_id]=...the node's remote idyes, when the content is installed from a package that keeps remote ids
Match[remote_id]=...the object's remote id (all its locations)yes

The starter theme matches its root page with Match[remote_id]=cjw-starter-o-root, set by its content package.

Finding the remote id

In the administration, the node's details show it, or in a template on a test page: {$node.remote_id|wash} (node) and {$node.object.remote_id|wash} (object). A developer can set a readable remote id when the content is created by a package or script.

Alternatives

  • A layout for the page, when editors should be able to change its structure (Layouts for designers).
  • A class of its own (for example frontpage), when several pages share the special look.
  • A section, when a whole area differs (Override by section).

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