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
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"; doneSee 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.tplRead each change and decide whether your copy needs it. Fixes for escaping (
|wash), accessibility and markup that the kernel now expects are usually needed.Merge the needed changes by hand into your copy, keeping your own changes.
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).
Related pages
- Upgrade testing, step by step
- Override basics
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.