Country Selector

Categories

Component ID

2717845

Component name

Country Selector

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is essentially a helper module that allows the user to store their location in a cookie for other modules to use.

A couple of blocks are provided - a block with a country selector dropdown form, and a block that displays the selected country as a link to a country selector page.

Other modules can retrieve the user's set country with the country_select_get_country() function which returns the 2 letter country code.

Future development looks towards incorporating support for country flag modules amongst other things...

This project has had a namechange to a more relevant title, and to not match another project's machine name. It can be found here: https://www.drupal.org/sandbox/bensey/2733821