We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin: UK Counties Select

Development and Programming

nathanpitman's avatar
nathanpitman
531 posts
17 years ago
nathanpitman's avatar nathanpitman

I’m really not sure if this has been done before or not but I just write a little plug-in to return a drop down select with a list of UK counties.

UK Counties Select Plug-in

😊

UPDATE: Also attached to this post and now updated to include ‘Greater London’ and ‘Greater Manchester’.

       
Rob Allen's avatar
Rob Allen
3,114 posts
17 years ago
Rob Allen's avatar Rob Allen

Oooh nice… that might have some uses!

       
nathanpitman's avatar
nathanpitman
531 posts
17 years ago
nathanpitman's avatar nathanpitman

Obviously this could be easily adapted to create drop down selects for any kind of data… I see a set coming on! 😊

       
Les McKeown's avatar
Les McKeown
133 posts
17 years ago
Les McKeown's avatar Les McKeown
I see a set coming on!

I’d love a couple of plugins with countries and US states as drop-downs! GFI Nathan 😊

       
nathanpitman's avatar
nathanpitman
531 posts
17 years ago
nathanpitman's avatar nathanpitman

…I’ll see what I can do. Maybe I should have a parameter to pass whether to show ‘regions’ for UK or US and then a 2nd plug-in for countries. 😊

       
Les McKeown's avatar
Les McKeown
133 posts
17 years ago
Les McKeown's avatar Les McKeown

That would be excellent!

       
nathanpitman's avatar
nathanpitman
531 posts
17 years ago
nathanpitman's avatar nathanpitman

Ok so I put modified my UK Counties Select plug-in to create the ‘US States Select’ plug-in. Attached for your delectation. I don’t live in the US, or claim to have much geographical knowledge so do let me know if anything needs correcting!

I will endeavor to develop a future version which provides the option of displaying the full state name or the 2 letter abbreviation.

       
Les McKeown's avatar
Les McKeown
133 posts
17 years ago
Les McKeown's avatar Les McKeown

Thanks for doing this, Nathan - you’re a man of your word 😊

       
BridgingUnit's avatar
BridgingUnit
214 posts
17 years ago
BridgingUnit's avatar BridgingUnit

Hi folks, just wanted to flag up that I made a country select plugin last night as I needed it on a project I’m working on.

       
Derek Hogue's avatar
Derek Hogue
317 posts
17 years ago
Derek Hogue's avatar Derek Hogue

I’ll put another flag up … I just posted my REEgion Select plugin, which expands on the aforementioned plugins and addresses some of the ideas above. 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.