Block Country
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This module helps to create country specific Blocks. It Add country setting to block and manages country specific display of block.
Block 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 block, Go to that block's configuration country settings is listed under block "Visibility settings"
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.
Block Country 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.