EE 1
EE 2
PrecEEdence
Developer
3rd Party (Free)
Download v1.0
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
This plugin returns the first non-empty parameter, or the first parameter that meets a specified condition or regular expression. The plugin also supports get, post, global, and stash variables.
SIMPLE EXAMPLES:
====================
{exp:preceedence var1=”” var2=“test2” var3=“test3”}
Outputs: test2
{exp:preceedence var1=“test1” var2=“test2” var3=“test3” condition=”!test1” before=”<em>” after=”</em>”}
Outputs: test2
{exp:preceedence var1=“get:qs” condition=”!test1” default=”<b>default</b>” before=”<em>” after=”</em>”}
Assuming there exists a querystring get variable, “qs=test1”:
Outputs: default
Otherwise the value of the querystring variable (or an empty string if its undefined) is returned
ADVANCED EXAMPLES:
=====================
{exp:preceedence var1=“test1” var2=“test2” var3=“3” condition=”#test(\\d)#”}
Outputs: 1
{exp:preceedence var1=“test1” var2=“test2” var3=“3” condition=”!#test(\\d)#”}
Outputs: 3
Download PrecEEdence
| EE Version | Downloads | Add-On Version | Release Date |
|---|---|---|---|
| 2.+ | Download | 1.0 | 2011-10-14 12:14 PM |
PrecEEdence Links
This entry was last updated February 12, 2012, 3:20 pm.
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!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!