Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.39 KB

README.markdown

File metadata and controls

23 lines (14 loc) · 1.39 KB

This version of REEgion Select is a FieldFrame fieldtype that will display dropdown lists of various types of geographical regions as a custom field in ExpressionEngine. (If you'd like to display these same dropdown lists on the public-facing side of your ExpressionEngine-powered site, please see my plugin of the same name.)

The REEgion Select fieldtype will display dropdown lists of: countries (based on the ISO 3166-1 list of countries, dependent territories, and special areas of geographical interest) U.S. states (based on the USPS official list of US states and possessions) Canadian provinces and territories UK counties Canadian provinces and U.S. states together For each instance of the REEgion Select fieldtype you can choose which one of the aforementioned regions you'd like to display, as well as whether to use the ISO 3166-2 abbreviation as the output value for countries, states, and provinces, or to instead display the region's name. Additionally, by adding the "swap" parameter to your field's display tag, you can display the alternate value (code or region name) for the field, i.e. {my_reegion_select_field} = California {my_reegion_select_field:swap} = CA (Thanks to Tim Kelty for this last addition.) REEgion Select is FF Matrix-compatible.