Closed (fixed)
Project:
Event Views
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2007 at 16:53 UTC
Updated:
27 Feb 2008 at 17:39 UTC
What I'm thinking is isn't there a natural progression in
event_views_tables.inc to hour? Think: Month, Day, Hour with HOUROFDAY.
'month' => array(
'field' => 'event_start',
'name' => t('Event: Start Month'),
'operator' => 'views_handler_operator_gtlt',
'list' => $months,
'list-type' => 'select',
'handler' => 'event_views_handler_filter_ymd',
'option' => 'event_views_calendar_form',
'type' => 'MONTH',
'help' => t('Filter by month. Use the option to select the date
field to filter on.'),
),
'day' => array(
'field' => 'event_start',
'name' => t('Event: Start Day'),
'operator' => 'views_handler_operator_gtlt',
'list' => $days,
'list-type' => 'select',
'handler' => 'event_views_handler_filter_ymd',
'option' => 'event_views_calendar_form',
'type' => 'DAYOFMONTH',
'help' => t('Filter by day. Use the option to select the date
field to filter on.'),
This might produce something similar to this, but with more of a drupally correct implementation. I would suppose wrap over the break to happen as it does with events starting at 11pm and ending at 1am in the standard calendar view, so that that wouldn't need a rewrite.
Thanks!
Comments
Comment #1
joegml commentedClosing this issue.