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.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | No | 1.0 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. 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