[development] associate dates to nodes

Victor Kane victorkane at gmail.com
Mon Jul 9 15:38:36 UTC 2007


On 7/9/07, Bèr Kessels <ber at webschuur.com> wrote:
>
> Op maandag 09 juli 2007, schreef Victor Kane:
> > The short answer is that you want to create special content types
> > (reservation), and then, using the content construction kit module (cck:
> > http://drupal.org/project/cck) add the appropriate fields, including the
> > date field, supported by the date field module (
> > http://drupal.org/project/date).
>
> This won't work. A "room" will need an arbitrary amount of dates. So you
> will
> need either nodereference, wich won't scale, or some other relational
> module
> (wich won't scale either).


It will work.
You can use the date field as a multiple field, which can certainly give an
arbitrary number of dates, or any other fields necessary for reservations.
To go to the trouble of a custom module seems really overkill.
Of course, there is more than one way to do it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070709/356dab60/attachment.htm 


More information about the development mailing list