Sarge 1.2.0
What is Sarge?
Sarge enhances ExpressionEngine’s built-in Drop Down List field by giving you the capability to group your options into optgroups and specify the values for each option.
Installation
- Download and unzip the latest version
- Upload extensions/ext.sarge.php to system/extensions
- Upload language/english/lang.sarge.php to system/language/english
- Enable Sarge in the Extensions Manager
Configuration
From Sarge’s Settings page, you can set the following preference:
Check for Sarge updates?
Powered by LG Addon Updater, Sarge can call home and check to see if there’s a new update available.
Usage
All Sarge-related Drop-Down List field customization takes place within the Select Options textarea in the Edit Custom Field form.
Adding optgroups
Here’s an example of options being grouped into optgroups:
[optgroup] = Fruit
Apple
Orange
Mango
[/optgroup]
[optgroup] = Veggies
Bell Pepper
Carrot
Potato
[/optgroup]
That will produce:
Specifying an option’s value
By default, an option’s value is the same as its name. With Sarge, you can take control of that value:
Select a fruit =
Apple = apl
Orange = org
Mango = mgo
Download Sarge 1.2.0
Requires ExpressionEngine 1.6+
Support by donating
Recent Changes
Sarge 1.2.0
- Stand Alone Entry Form support (sponsored by Masuga Design)
Sarge 1.1.0
- LG Addon Updater support
Brandon's third party ExpressionEngine offerings are a joy to work with. Many are on my to install list for new clients.