I have searched high and low for this on D.O forums.

First, I am not using calendar module. I want a very simple full-node view.

I want to display the full-nodes for events that happen for a certain day. My events span multiple days.

The current options in views arguments are from date or to date. If my event starts on 1/06/09 and finishes on 3/06/09 then I want to have it appear on all three pages (mysite.com/myview/20090603, mysite.com/myview/20090602, mysite.com/myview/20090601).

If I choose the "From" argument, it only appears under 20090601. If I choose the "To" argument, it only appears under 20090601.

Thanks for your help.

Comments

fallsemo’s picture

This is a similar to a request I posted and I'm interested a solution.

Just using the date module, not calendar, I would like to provide a views argument to display a list of repeated nodes during a particular period: from 6am - 5:59am the next day. However I still want the ability to attach the date browser to page forward from day to day.

Chris Gillis’s picture

In case anyone is interested, I have decided to do my own custom callback. Below code is working for me.

function mysite_custom_eventlist($date = NULL){
  $nodes = array();
  $date = ($date)?$date:date('Y-m-d');
  $sql = db_query('SELECT DISTINCT(d.nid) FROM {content_field_date} d LEFT JOIN {node} n ON(d.nid = n.nid) WHERE (d.field_date_value <= "%s") AND (d.field_date_value2 >= "%s") AND (d.vid = n.vid)', $date.'T23:59:59', $date.'T00:00:00');
  while($result = db_fetch_array($sql)){
    $nodes[$result['nid']] = node_load($result['nid']);
  }
  return theme('mysite_custom_eventlist', $date, $nodes);
}
arlinsandbulte’s picture

Status: Active » Fixed

workaround provided.
If someone could provide some kind of patch (would also need some ui) that would be great...
Else I am just going to mark as fixed for now.

arlinsandbulte’s picture

Status: Fixed » Closed (fixed)