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.
Project information
- Module categories: Access Control, Site Structure
- 180 sites report using this module
- Created by ashishdalvi on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Initial stable release.
Development version: 7.x-1.x-dev updated 5 May 2016 at 07:18 UTC