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

Development mode for template engine

Currently the developer must remove all compiled template files when a source file has been modified for it to be used in the web page. When all templates are cleared the system will need to compile them again which…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.8/template_development_mode.txt

*Title: Development mode for template engine

*Incentive:
Currently the developer must remove all compiled template files when a source
file has been modified for it to be used in the web page. When all templates
are cleared the system will need to compile them again which takes quite some
time.

*Documentation:
A new INI setting in site.ini has been added, it can be found under the
TemplateSettings group and is called DevelopmentMode. It is disabled by
default and can be enabled by setting.

DevelopmentMode=enabled

After the setting is changed all compiled templates must be cleared, when
they are recreated the code will contain the extra modification checks.

Remember that this setting should not be used on live sites since it performs
extra checking and can make the site slower.

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors