EE 1
EE 2
Super Globals
Developer
3rd Party (Commercial)
Current Version: 1.2.2
Release Date: Jan 4, 2012
Buy Now!
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
Super Globals lets you manage all your early and late parsed variables, as well as snippets, in one easy to use screen and organized into tabs. Define what member groups can add and manage tab groups, variables, and even what specific variables they can edit.
The extension allows you to use GET and POST variables without enabling PHP in your templates, or adding PHP to your config file. As a bonus, Super Globals also includes is access to every member field for the current user with a single variable. If logged in, {member:bio} will return the Bio text. {member:bio:label} will print “Bio”. The :label is especially useful for Custom Member Fields in which you may have a long Label name. These variables are usually available with a 3rd party modules such as User, or using the built in{exp:member:custom_profile_data} tag pair, but with Super Globals you can access them anywhere as a single variable… no tag pair required, and even use them in template conditional statements.
The module lets you create a custom list of variables from 9 different variable types which include Text, Textarea, Select list, Multi-Select list, Radio group, Checkbox group, Channel Entries, Categories, Link, and Snippet. To top if off, the Link variable type gives you a list of your site pages if you use the Structure or Pages module.
The Accessory will replace the Global Variables and Snippets menu items in Design > Templates with a link to Super Globals. You can also change the display name to whatever you like, such as “Site Variables”, “Site Settings” etc.
In order for GET and POST variables to work, the possible names must be used at least once, or entered into the default list in the settings menu. For example, the first time you submit a form with the field first_name, your template may render{post:first_name} and not parse it, thus not showing the value it contains. The second time, and any time thereafter, the variable will work properly.
If you are submitting a form with the following fields: first_name, last_name, and message, you can access the posted values by using {post:first_name}, {post:last_name} and {post:message} anywhere in your templates, even in a conditional. The same works for GET variables, e.g. {get:referrer}
All multiple options, such as Entries, Categories, Radios, Checkboxes, and Select values are separated by a pipe. For example, 3 selected channel entries would output as 2|5|9
Super Globals Links
Hooks Used
If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.
This entry was last updated March 29, 2012, 9:03 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!
1 Review:
Brian Hildreth 11.19.10
If you use the User module, this is an excellent addition, and almost a must have for any member site.