[support] Page with events at different locations

Michelle Ziegmann michelle at media.berkeley.edu
Tue Jul 19 20:29:51 UTC 2011


I think you would be better off approaching this with custom fields 
rather than taxonomy terms.

So you would have 1 content type for the events, with a custom field 
"Date/Time" (you'll need the "date" module).
You would have a second field on that content type for the "Location". 
This could either be a text field with a select list, or a Node 
Reference type of field to another content type "Location". Either way 
will work, but if you want to include additional information about each 
location option, the Node Reference is a better option. This way, for 
each location you can include a description, directions, or even a 
geolocation or map field.

This is the most flexible because then you can easily display your 
events by date, such as on a calendar (get the "calendar" module). You 
could also show events by Location. All of these display are created in 
Views. If you use the Node Reference option and are using Drupal 6, 
there's a nifty module "Node Relationships" that can easily set up a 
displayed list of Events that have been associated with a particular 
Location.

I'm not sure I understand why you need a unique term reference issue - 
but going the route above, you definitely don't need a unique term for 
each event.

Hope this is helpful!

Michelle


On 7/19/2011 1:08 PM, Ursula Pieper wrote:
> I want to create a content type for events (concerts).
>
> An individual concert production can potentially take place in 
> different locations (Friday in San Francisco, Saturday in Berkeley, 
> basically same concert).
>
> Is it possible to associate in some way a date with a term reference 
> (which would be the location)? I envision an unlimited datetime entry 
> that associate with the location. I have problems wrapping my head 
> around how to achieve this, or how to solve the issue differently, but 
> still user-friendly.
>
> One way I image would be using two content types:
> The first for the general information for the concert, including a 
> term-reference that is distinct for this production.
> The second for the datetime - location that also includes a 
> term-reference for this production.
> The second content type would have a radio-button list for the 
> production.
>
> For the first one, I'd somehow need to make sure, that the 
> term-reference is not yet in use, and how would I do that (I am 
> thinking in a database way - first content type has a unique key, that 
> corresponds to the second content type's foreign key).
>
> Is there a better - drupal - way?
>
> Grateful for any comments, tips or pointers ...
>
> Thanks, Ursula
>
> (actually, just writing this made the task clearer for me, that's 
> called confessional debugging, I am still interested to hear whether I 
> am missing something, and how to ensure the unique term reference)
>
>

-- 
Michelle Ziegmann
===========================
Electronic Communications Specialist
University of California Berkeley
Educational Technology Services

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110719/1d1d451c/attachment.html 


More information about the support mailing list