Skip to the content
Documentation

DevelopmentMode (11403666)

No ratings yet

Summary

Controls if development is enabled or not.

Usage

DevelopmentMode=enabled|disabled

Description

When enabled the system will perform more checks like modification time on compiled vs source file and will reduce need for clearing template compiled files.

Note: Live sites should not have this enabled since it increases file access  and can be slower.
Note: When switching this setting the template compiled files must be cleared.

Contributors

Comments (3 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Information in file

    Paul Leclercq ·

    Well it is not yet documented but this is what appears in the default site.ini file:
    # By enabling development mode all untranslated texts will be translated
    # using the bork rules.
    # See lib/ezi18n/classes/ezborktranslator.php for more information.
    DevelopmentMode=disabled
    And According to the ezborktranslator file:
    \class eZBorkTranslator ezborktranslator.php
    \ingroup eZTranslation
    \brief Translates text into the Bork language (Mock Swedish)
    Does this mean it is a quick translatation mode into swedish... ?? ! ! ?

    1. Re: Information in file

      Marco Zinn ·

      I think, Paul is wrong here.
      There are 2 different settings called "DevelopmentMode" in the site.ini file (as of ez 4.0, at least)
      The one Paul mentions is in [RegionalSettings] . The one we talk about here (in [TemplateSettings]) has this comment and is used during template development.
      # Controls if development is enabled or not.
      # When enabled the system will perform more checks like modification time on
      # compiled vs source file and will reduce need for clearing template compiled
      # files.
      # Note: Live sites should not have this enabled since it increases file access
      # and can be slower.
      # Note: When switching this setting the template compiled files must be cleared.
      DevelopmentMode=disabled

  2. CSS Concatenation - ?

    Paul Bolger ·

    Switching on Development Mode also disables the new (4.2) "CSS Concatenation" - my term, not sure if there's an official one as yet - the collection of CSS files into one compressed file.
    See

    http://share.ez.no/forums/developer/how-to-disable-css-caching

Comments

Add a comment

Comments are read by a moderator before they appear.