Country Cookie

Categories

Component ID

2733821

Component name

Country Cookie

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_cookie_get_country() function which returns the 2 letter country code.

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