Early Globalvars
Developer
3rd Party (Free)
EE Version Support
- ExpressionEngine 1.x
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
The purpose of the Early Globalvars plugin is early parsing of global template variables. You can create early-parsed global variables by editing path.php file (for EE1.x) or by using Fresh Variables add-on (for EE1.x) or using Snippets (for EE2.0+). But what should be done in case if you already have some global template variables (they are late-parsed) and found out that you need them to be parsed early? The answer is: use Early Globalvars plugin!
PARAMETERS
1) globalvar - Required. Allows you to specify names of template global variables.
You can stack names of template global variables using pipe character
e.g. globalvar=“main_date_format|comment_date_format”.
2) site - Optional. Allows you to specify site id. Default value is “1”.
USAGE
Wrap the piece of code in which global tempate variables should be parsed early with
{exp:early_globalvars}{/exp:early_globalvars} tag pair:
{exp:early_globalvars globalvar="comment_date_format" parse="inward"}
{exp:comment:preview}
{comment_date format="{comment_date_format}"}
{/exp:comment:preview}
{/exp:early_globalvars}
{exp:early_globalvars} must have parse=“inward” parameter!
This entry was created July 31, 2009, 1:47 pm.
This entry was last updated April 27, 2012, 2:51 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!