1.0releasedProduction Mode

Add a 'production-mode' parameter of 'production' or 'development', to the Parameter Pool

Clone URLhttps://github.com/firegoby/production_mode.git

Add as a submodulegit submodule add https://github.com/firegoby/production_mode.git extensions/production_mode --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNoNo1.0NoNoNoNoNoNoNoNoNoNoNoNoNoNo. Soon?

Readme

Production Mode

This extension adds a production-mode parameter of production or development to the Parameter Pool.

  • Version: 1.0
  • Date: 22nd November 2012
  • Requirements: Symphony 2.3
  • Author: Chris Batchelor (based on work by Alistair Kearney and the Symphony Team)

Synopsis

The Production Mode extension adds a production-mode parameter of production or development to the Parameter Pool. This allows XSLT templates to perform logic based on production mode. It is primarily designed to work with Symphony No.5 to help select between compiled/minified and development assets (e.g. <script>, <link>) depending on production mode.

Installation & Updating

Information about installing and updating extensions can be found in the Symphony documentation at http://symphony-cms.com/learn/.

Version history

Symphony 2.3 only

  • Initial release