There is a really cool jquery autocomplete country plugin that would look really good with this module instead of just the text country names list. I'm not sure the autocomplete feature is needed, just adding the country flag next to each country code in the list.

It would mean including the famfamfam country icons with this module though.

Comments

ckng’s picture

Thanks for the suggestion but IMO it is site specific themeing need? If this is to be included there should be presented as option on the setting page.

This can be easily achieved using CSS and a piece of JS code to glue them together.
You can modify the phone field output for more robust CSS selector. If default output, it should be

.cck-phone-field-cc option[value="us"] {
  background: transparent url(images/flags/us.gif) no-repeat 3px 3px;
  padding-left: 20px;
}
.cck-phone-field-cc option[value="uk"] {
  ..
}

The above can be done using JS as well.

JS code is needed to 'assign' the selected flag to the select field. Feel free to share your JS code here so other can benefit from it.

univate’s picture

Sorry for not posting the link to the feature I was talking about:
http://www.devtaxi.com/tools/accountry/

johnv’s picture

An alternative might be to use the countryicons module. E.g. the Countries module uses countryicons to show either full name, iso-code or flag formatters.

Alexander Matveev’s picture

Subscribe

Tsubo’s picture

subscribe