Skip to content

Pre-rolled dropdown menus of countries, US states, Canadian provinces and UK counties.

Notifications You must be signed in to change notification settings

amphibian/pi.reegion_select.ee_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

REEgion Select will display a dropdown list of: countries (based on the ISO 3166-1 list of countries, dependent territories, and special areas of geographical interest) US states (based on the USPS official list of US states and possessions) Canadian provinces and territories UK counties Canadian provinces and US states together Use the following EE tags to generate each type of dropdown: {exp:reegion_select:countries} {exp:reegion_select:states} {exp:reegion_select:provinces} {exp:reegion_select:ukcounties} {exp:reegion_select:provinces_states} REEgion Select accepts five optional parameters: name="" Value for the "name" attribute of the menu. Defaults: "country", "state", "province", "county", "province_state".

  • codes="true"

    Whether to use the ISO 3166-2 abbreviation as the value for countries, states, and provinces. Default is "false" (uses the region name as the value).

  • selected=""

    Value of the element that should be selected by default.

  • id=""

    Value for the "id" attribute of the menu. class="" Value for the "class" attribute of the menu.

  • show=""

    A pipe-delimited list of values to show, if you don't want all of the default values to display. (i.e. show="CA|NY|OH|MI")

  • null_divider="false"

    Whether or not to include a divider option with a null value. Defaults to "true".

  • Insipiration from - and props to - Nathan Pitman's UK Counties Select and US States Select plugins, and Bridging Unit's Countries Select plugin. Thanks to Tim Kelty for adding new parameters.

    About

    Pre-rolled dropdown menus of countries, US states, Canadian provinces and UK counties.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages