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

Comparing your overrides with the standard templates

Find out whether the standard templates you copied into your theme changed upstream - list your copies, diff them against the new release, and merge fixes (especially escaping and accessibility fixes) into your versions.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/lifecycle/comparing-overrides-with-the-standard.md

On this page

Comparing your overrides with the standard templates

This page is for designers whose theme contains copies of standard templates (from design/standard or another theme) that it changes. When the original is fixed upstream, your copy keeps the old version until you merge the fix.

Step by step

  1. List your copies: every template in your design that has a counterpart in design/standard/templates/ (or in the base theme):

    cd extension/mytheme/design/mytheme/templates
    find . -name '*.tpl' | while read f; do [ -f "../../../../../design/standard/templates/$f" ] && echo "$f"; done
  2. See what changed upstream between the old and the new release, for each file:

    git -C /path/to/exponential log --oneline v6.0.13..v6.0.14 -- design/standard/templates/node/view/full.tpl
  3. Read each change and decide whether your copy needs it. Fixes for escaping (|wash), accessibility and markup that the kernel now expects are usually needed.

  4. Merge the needed changes by hand into your copy, keeping your own changes.

  5. Test the pages that use the template.

Keep the list short

The fewer templates you copy, the less there is to compare. Prefer overriding one template for one class over copying general ones, and use the design cascade instead of copies where you can (The design cascade).

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