Country Variables

Developer

Big Unit Solutions

3rd Party (Free)

2 downloads (last 90 days)

Creative Commons Attribution Download

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

Allows you to make global variables country-specific. For example, declare a variable 'phone_number' just once and give it different values for different counrtries. Can automatically detect country based on ip address too.

Please make sure you install the ip2nation module first!

The module interface is essentially a grid, with variables down and countries across.

I would suggest adding all your variables first and then adding the countries one-by-one.

If you add a variable, you can add values for each country at that time.

If you add a country, you can add values for each variable at that time.

Usage is as follows:


{exp:country_variables country_code="au"}
    {phone_number_toll_free_alpha}
{/exp:country_variables}

If you omit the country code parameter, the module will detect the country based on IP address (ip2nation is required) and use it. If it can’t figure out your country it will default to the setting specified as default in the module.

Download Country Variables

EE Support Downloads Add-On Version Release Date
Not Specified Download

This entry was created January 11, 2011, 12:49 pm.
This entry was last updated January 13, 2011, 6:59 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

1 Review:

Danielle LeComte 09.09.11

Danielle LeComte
Rating - {addon_rating_average}

Doesn’t recognize the country via IP address. Any suggestions on how to get that working?