Relation between a CCK node and an event

SimonVlc - June 28, 2007 - 22:02

Hi there ;).

I´m building a site with this dependency:

I have a custom CKK node representing Conference Rooms. In every one of this rooms, will take place several "events". I´m looking for a module that can stablish a relation, at creation time of an event, between it and the conference room target.

Anyone hear of anything similar? Thanks in advance, Simon.

Nodereference?

Michelle - June 28, 2007 - 22:08

I'm planning on doing something similar using the nodereference field. I haven't actually done it, yet, though, so I can't tell you how well it will work. But it seems like a viable plan. :)

Michelle

--------------------------------------
My site: http://shellmultimedia.com

Thank you Michelle, it could

SimonVlc - June 28, 2007 - 23:38

Thank you Michelle, it could be a great module ;).

I think it´s more easy

SimonVlc - June 29, 2007 - 01:17

I think it´s more easy that I think in the beginning.

I only need to add a nodereference field to the Event content-type. That filed will show a list of nodes from the "Conference Room" content type (one per node).

So in that way, you can stablish the relation at event creation time.

Pretty simple, but is my first time with CCK ;). Thanks for all, Simon.

Yep

Michelle - June 29, 2007 - 01:21

That was my plan, too. My problem is that the content type I want to relate it to will have a lot of entries and not all of them will have events. So I need to take it a step further and figure out a way to limit it not only by content type but by a field on the content type as well, which will require custom coding. That's why I haven't implemented it yet.

Michelle

--------------------------------------
My site: http://shellmultimedia.com

 
 

Drupal is a registered trademark of Dries Buytaert.