I'm working on what will eventually be a news site, and I've run into a little snag when it comes to scheduling content. I need to be able to assign start and end dates to any given article, which I can do easily with CCK and the Date modules, but the problem is that each set of start and end dates has to be associated with a specific section of the site.

For example, I need to be able to assign one set of start and end dates for the front page and another set for the sports page.

I realize that I could just make individual start/end fields for each section page on the site, but I would prefer to be able to assign multiple date sets for any given section page rather than just a single date set. I guess what I'm really looking for is a compound field so that a section ID can be associated with a pair of dates. Is there any such thing? I haven't had much luck in my searches. Or, alternatively, does anyone have a better way for me to go about doing this (not involving the Scheduler module, which I've already looked at)?

Comments

vm’s picture

reads to me like you need to investigate the views.module whereby you can tell views to list content based on This & that.

a good example is bundled with the calendar.module and how the calendar handles dates.

kionae’s picture

That's essentially what I'm planning to do... but in order to do so, I need the dates to already be associated with a section ID before Views gets ahold of it. Otherwise, the dates have no context. If I had two separate date sets (for example, 5pm to 6pm today and 7am to 10pm today) for an article, but no associated section pages, Views won't know where on the site to display the content.

I need to be able to assign an article as 5pm to 6pm today on the front page and 7am to 10pm today on the sports page, but there isn't a way to implicitly associate the date field with a another field.

kionae’s picture

Doesn't anyone have an idea on this?