The template editor
This page is for designers who manage overrides in the administration rather than in INI files. The full description is the feature page Template editor: create, order and edit overrides.
Contents
Where it is
Design tab, left menu Template Editor (/visual/templatelist, settings/menu.ini [Leftmenu_design]
Links[template_editor]). A user needs the visual/templatelist policy.
What it does
- Lists the templates of a siteaccess and, per template, its overrides in evaluation order.
- Creates an override: pick the template, the conditions (class, node, section ...), the new file name; a new
override is written with
Priority=0so it takes effect at once. - Reorders overrides by drag and drop and saves
Priorityvalues (10, 20, 30 ...) for that template's rules. - Edits template files in the browser.
Editor or files?
| Template editor | Files in a theme extension | |
|---|---|---|
| Quick fix on one site | good | slower |
| Version control, review, deploy to several sites | no | yes |
| Survives a reinstall or a move to another server | only with the site's settings | yes, with the extension |
For a theme you maintain, keep overrides and templates in your extension's files (Override basics) and use the editor to look at the order and to experiment on a test siteaccess.
Related pages
- Override ordering
- 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.