Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to share location among event content type?

Posted on 2009-07-03
2
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
Anybody13 earned 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

610 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