CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Show map with group of members
Pages: [1]

Author Topic: Show map with group of members  (Read 428 times)

heidi durhuus

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.0
  • MySQL version: MySQL server version 5.5.38
  • PHP version: php 5.3
Show map with group of members
September 24, 2014, 01:52:00 am
I have recently installed CiviCRM on a WordPress test site, as I want to learn to install, configure and use CiviCRM, as my organisation wants to use CiviCRM.

The installation went well. Now I am trying to figure out how to create a map on a wordpress page populated with a group of members. In settings - geocoding I have chosen google as provider, after reading: http://wiki.civicrm.org/confluence/display/CRMDOC/Mapping+and+Geocoding

But I don't understand what to do next...

Do I need a plugin, like mappress? If I do, how do I make the link from the member-table in the civicrm database to the POI field in mappress?

- Heidi

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Show map with group of members
September 24, 2014, 01:25:20 pm
I don't know WP but my expectation is
- you enable Google with your key
- you save a record with an address and it should then show 'map' button for that contact
- once you have proven it is working for a single contact
- create a civi Profile and set it to under Profile Adv Settings to "enable mapping for this profile?
Quote
If enabled, a Map link is included on the profile listings rows and detail screens for any contacts whose records include sufficient location data for your mapping provider.
then do whatever a WP user does to direct visitors to a profile

i think this is fairly well covered in the manual - did you check there?

alternatively, once Google or whatever is giving you lat/long you may be able to use WP trickery to show in a different map form - this is certainly possible in Drupal using OpenLayers and Views.

does that help?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

heidi durhuus

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.0
  • MySQL version: MySQL server version 5.5.38
  • PHP version: php 5.3
Re: Show map with group of members
September 25, 2014, 04:19:06 am
Thank you, I think you are right about creating a profile.

Though I can't seem to get the preview of the profile to list the data, it only lists the two variable names (longitude & altitude). I tried putting the html stump into a wordpress page, but it doesn't show anything. I have assigned the profile to the group Summer Camp (from test data), so it should show those contacts in that group who have an address. When I click on a contact, I can get it shown on a map, so the geocode and mapping settings are correct.

I seem to be missing " the profile listings rows" somewhere. I have tried configuring the fields as searchable, but didn't help.

By documentation, you mean: http://book.civicrm.org/user/current/organising-your-data/profiles/ ?

Yes, I read:
"
Enable mapping for this profile?
This applies only if you are using the Profile for a searchable directory; it adds a map to the search results.
 "
I just can't find the map??

 

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Show map with group of members
September 25, 2014, 01:13:20 pm
Yes the documentation beginning "Making directories with Profiles " and "Linking to Your Directory"

-create Profile
- set it to limit to a Group if you don't want to Map everybody
- add fields to profile as Public Pages and Listings

For Drupal
Quote
link to the directory search page using this path: http://www.myorganization.org/civicrm/profile?reset=1&gid=N where N is the ID of the profile directory.
If you add &force=1 to the above URL it will directly show a result set.
If you add &force=1&search=0 it will hide the search criteria and directly show the result set.

For WP
Quote
Wordpress: this feature is not yet implemented.

maybe you didn't get that far?

As an exercise in reminding myself how this all works in Drupal, since I tend to do this via OpenLayers and Views now, here is an example using CiviCRM Profile
http://fuzion.co.nz/civicrm/profile?reset=1&gid=24&force=1&search=0
to give us this Map
http://fuzion.co.nz/civicrm/profile/map?map=1&gid=24&reset=1

and one using Views and OpenLayers (still a work in progress)
http://fuzion.co.nz/map/clients
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Show map with group of members

This forum was archived on 2017-11-26.