Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CiviCRM contact distance search

Security covered Maintenance fixes only 7 sites

This module adds the ability to search for CiviCRM contacts based on their distance from specified UK, CA, and US postcodes. It provides a configurable Drupal view for contacts, with an option to display a map and use the user's current location.

INTRODUCTION
------------------
The MillerTech CiviCRM contact distance search module enables the facility to search CiviCRM contacts based on distance from UK, CA and US post codes.

This module will create a new Drupal view for CiviCRM contacts, the view is fully configurable and extendable.

The module also optionally allows to display a map and allows you to use your location.

INSTALLATION
-----------------
Follow the steps below to install.

1. Conatct's primary address and Latitude, Longitude information needed
to be filled for search CiviCRM contacts based on distance.
Latitude, Longitude information can be filled by
executing "Geocode and Parse Addresses" sheduled job
( www.yourdomain.com/civicrm/admin/job?reset=1 )

2. Install the module as normal drupal module.
more info
( https://www.drupal.org/documentation/install/modules-themes/modules-7 )

3. clear all cache

4. Export and save the view civicrm_contact_distance_search for backup
purpose before you add extra filters on view.

4. admin/config/development/google_api_key
Add the google map api key to get advanced searching counts per day
To get api key
--------------
* Login in to https://console.developers.google.com
* Create project for api (also able to use exisitng one)
* Click on project
* Navigate to APIs & auth >> APIs
* Under the Google Maps APIs section enable
Google Maps JavaScript API v3 & Geocoding API
* Navigate to APIs & auth >> Credentials
* Under the Key for browser applications section you can find the API key

5. Access the url www.yourdomain.com/civicrm-contact-distance-search
to get the view page
(default searching miles 2500)

6. All locations will be indexed in google map.

7. There are settings for enable/disable find nearest postcode & googleMap index
[admin/config/development/google_api_key]

8. Supports for views table display format

Ask your assistant about CiviCRM contact distance search

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Mar 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-beta1 Pre-release 8–9 Mar 31, 2023