Part of the EllisLab Network

Module Information

Fresh Variables 1.0 first_party

Download
Author:
Derek Jones
Published:
Nov 21, 2007
Last Updated:
Apr 02, 2008
License:
First Party License
Categories:
Modules  
Allows you to create and manage early-parsed global variables from the control panel.

Requirements

ExpressionEngine 1.6.1 or greater, and a DOM-compliant web browser (confirmed to not work with IE6 or IE7)

Example Usage

n/a

Notes

  • Allows authorized member groups to add and maintain global variables without needing access to Templates or FTP
  • Variables are parsed very early on, making them suitable for use in tag parameters, or even to contain tags themselves.
  • Works with the Multiple Site Manager, allowing variables to be installation-wide or only available to a specific site.
  • path.php variables override Fresh Variables, allowing even greater level of control of content

NOTE: Unlike path.php global variables, Fresh Variables can be used to contain HTML, ExpressionEngine tags, and even PHP, so bear this in mind when granting access to the module.



Installation Instructions


The Fresh Variables Module is simple to install.

  1. Download Fresh Variables
  2. Upload the files to the following locations:
    • /system/modules/fresh_variables/mcp.fresh_variables.php
    • /system/modules/fresh_variables/mod.fresh_variables.php
    • /system/extensions/ext.fresh_variables.php
    • /system/languages/english/lang.fresh_variables.php
  3. Make sure that Extensions are enabled in ExpressionEngine by visiting Admin > Utilities > Extensions Manager in your control panel. If the button on the top right reads "Enable Extensions?", click it to enable Extensions in this installation.
  4. Go into the Modules section of your ExpressionEngine Control Panel. Find Fresh Variables in your list of modules, and click install. The companion extension will automatically be installed and uninstalled along with the module from the Modules section.

That's it! You are now ready to begin creating and managing Fresh Variables!