serieseight/country-detect

This package is abandoned and no longer maintained. No replacement package was suggested.

Country detect plugin for Craft CMS ^3.0.

1.0.1 2018-08-08 09:32 UTC

This package is auto-updated.

Last update: 2023-06-26 18:15:33 UTC


README

68747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f706c7567696e2d69636f6e732e6372616674636d732f636f756e7472792d6465746563742e7376673f31353333373138323634

Country Detect plugin for Craft CMS 3.x

Country detect plugin for Craft CMS 3.x. For Country Detect to work, your website must be going through Cloudflare. On your domain's settings screen go to Network and ensure IP Geolocation is turned on.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require serieseight/country-detect
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Country Detect.

Usage

{{ craft.countryDetect.country }}

Built by Series Eight.

Based on Country Detect by Mutual.

plugin-logo.png