Solved

How to share location among event content type?

Posted on 2009-07-03
2
365 Views
Last Modified: 2012-05-07
Dear Gurus,

If I am not providing some necessary information please correct me and let me know.  I am a newbie to drupal.  I am using Drupal 5.19 (I downgraded from drupal 6 because it didn't seem to have the modules I needed).

I am trying to create a site that lists events and their time, location information on a google map (please note:  some events may have multiple locations and some locations may have multiple events).   I got the following modules installed and working correctly: GMap, Location, Calendar, Event.  I now have a new content type called "event" which allows me to enter start and end date,  type in and address and also put a pin on a google map.  There is an overall map which shows all the events I have entered.

My problem is, as I am creating more events I am realizing that many events share the same address and each time I create a new event it is adding another marker to the same location on the map.  I would like to have just one marker per location and preferably separate locations from all other content type so a location is not tied to an event.
The behavior I would like to have is,  when someone creates a new event, they would see a drop down list of locations that have been created; and they would pick one or more.  

Is this an easy thing to do?  Do I need a different module or could I do it with what I have?
 I don't want to have to create my own module since I am so new to this.

Thanks,

0
Comment
Question by:tangowayne
2 Comments
 
LVL 3

Accepted Solution

by:
Anybody13 earned 125 total points
ID: 24776288
Hey, the solution is not that difficult...

One Idea would be taxonomy, but in this case you would not have enough information with these terms.

The better solution is to use Views.

Make a content type "Location"... create a view listing all of those.

Then create a content type "Event" with CCK-Fields. One of them should be a CCK-Views field, where you connect the locations-view... now everything will work as you want it.

By the way, this will work great with D6 and me in your case would choose D6, but it's your decision.

Hope I helped you!
0
 

Author Closing Comment

by:tangowayne
ID: 31599704
I had to do some self tutoring to figure out how to create CCK fields but it worked.  Thanks.  Not sure why D6 is better than D5 for this.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now