Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

DevelopmentMode

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.

Svitlana Shatokhina (24/05/2006 8:16 am)

Sarah Haïm-Lubczanski (12/11/2014 4:09 pm)

Svitlana Shatokhina, Sarah Haïm-Lubczanski


Comments

  • Information in file

    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... ?? ! ! ?
    • Re: Information in file

      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
  • CSS Concatenation - ?

    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