Sarge 1.2.0

Sarge

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

  1. Download and unzip the latest version
  2. Upload extensions/ext.sarge.php to system/extensions
  3. Upload language/english/lang.sarge.php to system/language/english
  4. 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:

Drop-Down List with optgroups

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

Download Sarge 1.2.0

Requires ExpressionEngine 1.6+

Support by donating

Support by donating

Recent Changes

Sarge 1.2.0

Sarge 1.1.0

  • LG Addon Updater support

Subscribe 

Brandon's third party ExpressionEngine offerings are a joy to work with. Many are on my to install list for new clients.

—Sue Crocker, EE HowTo