Hey drewish,

First off, thanks for your work on station, it's much appreciated.

I'm getting up-to-speed on all of the updates in station from 5.x to 6.x. The use of views is great, but I'm having trouble with my scheduled program view. I have programs which are scheduled on multiple days, but not the same time of day. The second occurrence in the schedule is always a replay of the program and I'd like to display each in a combined row.

I don't see a way to handle grouping these in the view and distinct seems to be just an SQL SELECT DISTINCT.

Any idea on how I might accomplish this grouping?

CommentFileSizeAuthor
#4 Screen shot 2009-11-28 at 1.49.48 PM.png123.75 KBthumb
#2 schedule.png38.64 KBthumb

Comments

drewish’s picture

i'm not quite sure what you're trying to do but if you want a program centric view you should use 'node' as the base if you want a time centric view you should use 'schedule item'. does that make any sense?

thumb’s picture

StatusFileSize
new38.64 KB

A picture's worth a thousand words. On the left is my Drupal 5 station schedule, the right is the Drupal 6 version. I'm not quite sure I follow the node vs. schedule item approach.

drewish’s picture

yeah that's very helpful. which view is that of? one of the default views or a custom one you've created?

thumb’s picture

StatusFileSize
new123.75 KB

It's a default view, path is /station/programs/scheduled. Here's the view definition.

drewish’s picture

Category: support » feature

okay spent a little time looking at this. i know a lot more about the way that cck's relationship handler works now. i think we can get this working but it'll take some more time than i've got right now.

thumb’s picture

Much appreciated. No hurry.

frederickjh’s picture

I am looking for a view like this too. Just wondering what the status of this is.