Hi,
I've installed the latest version of the FullCalendar module together with views 6.x-3.x-dev (2011-Jan-21). and created a view for fullcalendar (exported view see below). But the view doesn't work. Always, this error message will be shown in a messagebox:
An error occurred at /admin/build/views/ajax/preview/FullCalendar.
Error Description:
Fatal error: Call to undefined method fullcalendar_plugin_display_page::render_textarea() in C:\xampp\htdocs\drupal\sites\all\modules\fullcalendar\fullcalendar_plugin_display_page.inc on line 16
My content type "Event" has a datetime field. I've created a node view, set the view style to "FullCalendar" and the view row style plugin to "Node - FullCalendar".
Any idea?
Here is my view:
$view = new view;
$view->name = 'FullCalendar';
$view->description = '';
$view->tag = '';
$view->base_table = 'node';
$view->human_name = '';
$view->core = 6;
$view->api_version = '3.0-alpha1';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Defaults */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'fullcalendar';
$handler->display->display_options['style_options']['display']['fc_firstday'] = '1';
$handler->display->display_options['style_options']['modules']['fc_theme'] = 0;
$handler->display->display_options['style_options']['modules']['fc_url_colorbox'] = 0;
$handler->display->display_options['style_options']['times']['fc_clock'] = 1;
$handler->display->display_options['row_plugin'] = 'fullcalendar_node';
/* Filter: Node: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'event' => 'event',
);
/* Display: FullCalendar */
$handler = $view->new_display('fullcalendar', 'FullCalendar', 'fullcalendar_1');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['path'] = 'fullcalendar';
$translatables['FullCalendar'] = array(
t('Defaults'),
t('more'),
t('Apply'),
t('Reset'),
t('Sort By'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
t('FullCalendar'),
);
Regards,
Oliver
Comments
Comment #1
tim.plunkettFullcalendar is not yet compatible with Views 3.
Comment #2
oschuetze commented"not yeat" means, you're working on this ;-) Great.
Comment #3
tim.plunkettThis is blocking the backport of #1036444: Cleanup the views UI + remove autodiscovery mega issue..
Comment #4
aspilicious commentedOk I think this is all it needs...
Comment #5
aspilicious commentedComment #6
tim.plunketthttp://drupal.org/cvs?commit=490054
Comment #7
aspilicious commentedIssue queue cleanup!
Comment #8
sedfrey commentedHow can I use this patch? Any instructions? Thanks
Comment #9
aspilicious commentedsedfrey just upgrade to 6.x-2.0-alpha1