Module Description
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.
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.
Module Link
Project Usage
269
Security Covered
Covered By Security Advisory
Version Available
DEV
Module Summary
This module solves the problem of creating country specific Blocks and managing their visibility based on the user's country detected from their IP address.
Data Name
block_country