PrecEEdence

Developer

Protean Web

3rd Party (Free)

1 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • 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

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 Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Oct 14, 2011

PrecEEdence Links

This entry was created October 17, 2011, 9:31 am.
This entry was last updated February 12, 2012, 4: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!

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!