Country Specific Menu

Component ID

2712885

Component name

Country Specific Menu

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module helps to create country specific Menu Items. It Add country setting to menu item and manages country specific display of menu item.

Menu item will be only visible for the selected countries. It detects and gets User's country from Ip2Country information and based on this it manages block visibility.

CONFIGURATION
To add country specific visibility to a Menu item, Go to that respective Menu item edit page and select the respective country from country field.

REQUIREMENTS
Install IP-based determination of Country Module. ( https://www.drupal.org/project/ip2country )
Ip2country module uses a visitor's IP address to identify the geographical location (country) of the user.

Note: Possible Performance issues.
Country Specific Menu module implements hook_boot() to detect user geographical (country) based on IP address.
block_country_boot() hook will be run for each page request - even for non-logged users and anonymous cache enabled - and this will give performance issues for large scale websites.