This one’s on the house
Compatibility: | EE4, EE3, EE2, EE5 |
---|---|
Latest release: | 1.1.2 (released 2018-02-12) |
Licensing: | CC Attribution-Share Alike 3.0 |
Compatibility
Requires EE 3+ and is especially useful in combination with Low Search. The EE2 compatible version is available here.
Installation
- Download and unzip;
- Copy the
low_options
folder to yoursystem/user/addons
directory; - In your Control Panel, go to the Add-on Manager and install Low Options;
- All set!
Tags
Use the channel field’s short name as the third tag part to list the options.
{exp:low_options:channel_field_short_name}
{if option:group != ''}<optgroup label="{option:group}">{/if}
{options}<option value="{option:value}">{option:label}</option>{/options}
{if option:group != ''}</optgroup>{/if}
{/exp:low_options:channel_field_short_name}
Parameters
ignore=
: Pipe-separated list of values to ignoreshow_empty=
: Set tono
to only show values that have been assigned to entrieschannel=
: Use in combination withshow_empty="no"
to filter assigned entriesstatus=
: Use in combination withshow_empty="no"
to filter assigned entriescategory=
: Use in combination withshow_empty="no"
to filter assigned entriesshow_future_entries=
: Use in combination withshow_empty="no"
to filter assigned entriesshow_expired=
: Use in combination withshow_empty="no"
to filter assigned entriessort=""
: Only applies to text fields: set todesc
to display generated options in reverse order