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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • link directly to a map of all contacts: possible?
Pages: [1]

Author Topic: link directly to a map of all contacts: possible?  (Read 1145 times)

thebenedict

  • Guest
link directly to a map of all contacts: possible?
March 04, 2008, 08:02:08 pm
Hi all,

My organization works with partners in several countries, so it would be helpful to provide a map of the contacts' locations. CiviCRM seems to provide exactly this functionality if you submit a blank search, then use the pull-down menu and radio buttons to "Map Contacts" for all records.

I would like to link directly to this map so the users (many not computer savvy) don't have to go through the process of submitting a blank search and mapping. Is there a way to do this without getting involved with the gmap and CiviNode modules for Drupal? Has anyone made a similar map? My site is running CiviCRM 2.0b3 and Drupal 5.7.

Thanks in advance for any help!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: link directly to a map of all contacts: possible?
March 04, 2008, 09:27:12 pm

You can do this via profiles quite easily. I assume you are exposing your data via profiles.

1. Enable mapping for your profile

2. Use a url similar to:

http://drupal.demo.civicrm.org/civicrm/profile?reset=1&gid=1&force=1&map=1

Note that this does not currently work on demo since we changed the url, however it will work with a valid google maps key

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

thebenedict

  • Guest
Re: link directly to a map of all contacts: possible?
March 05, 2008, 05:31:10 am
Many thanks - this is exactly what I was looking for!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • link directly to a map of all contacts: possible?

This forum was archived on 2017-11-26.