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.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
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