Commit 10613d66 authored by kolafson's avatar kolafson
Browse files

Trying to get new field group stuff in

parent dc9e0d9e
......@@ -11,6 +11,7 @@ function uw_ct_event_field_group_info() {
$export = array();
$field_group = new stdClass;
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_links|node|uw_event|form';
$field_group->group_name = 'group_links';
......@@ -39,6 +40,7 @@ function uw_ct_event_field_group_info() {
$export['group_links|node|uw_event|form'] = $field_group;
$field_group = new stdClass;
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_location|node|uw_event|form';
$field_group->group_name = 'group_location';
......@@ -68,6 +70,7 @@ function uw_ct_event_field_group_info() {
$export['group_location|node|uw_event|form'] = $field_group;
$field_group = new stdClass;
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_upload_file|node|uw_event|form';
$field_group->group_name = 'group_upload_file';
......@@ -95,6 +98,7 @@ function uw_ct_event_field_group_info() {
$export['group_upload_file|node|uw_event|form'] = $field_group;
$field_group = new stdClass;
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_upload|node|uw_event|form';
$field_group->group_name = 'group_upload';
......
......@@ -107,4 +107,5 @@ php = "5.2.4"
project = "uw_ct_event"
project status url = "http://wms-sand6.uwaterloo.ca/features/fserver/uw_ct_event/7.x"
version = "7.x-1.0-beta3"
stylesheets[all][] = "css/uw_ct_event.css"
\ No newline at end of file
stylesheets[all][] = "css/uw_ct_event.css"
......@@ -946,6 +946,7 @@ function uw_ct_event_views_default_views() {
$handler->display->display_options['arguments']['date_argument']['table'] = 'node';
$handler->display->display_options['arguments']['date_argument']['field'] = 'date_argument';
$handler->display->display_options['arguments']['date_argument']['default_action'] = 'default';
$handler->display->display_options['arguments']['date_argument']['title_enable'] = 1;
$handler->display->display_options['arguments']['date_argument']['title'] = 'Archive';
$handler->display->display_options['arguments']['date_argument']['default_argument_skip_url'] = 0;
$handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary';
......@@ -1097,10 +1098,10 @@ function uw_ct_event_views_default_views() {
$handler->display->display_options['filters']['field_event_date_value']['operator'] = '>=';
$handler->display->display_options['filters']['field_event_date_value']['default_date'] = 'today';
/* Filter criterion: Content: Promoted to front page */
$handler->display->display_options['filters']['promote']['id'] = 'promote';
$handler->display->display_options['filters']['promote']['table'] = 'node';
$handler->display->display_options['filters']['promote']['field'] = 'promote';
$handler->display->display_options['filters']['promote']['value'] = '1';
$handler->display->display_options['filters']['promote']['id'] = 'promote';
$handler->display->display_options['filters']['promote']['table'] = 'node';
$handler->display->display_options['filters']['promote']['field'] = 'promote';
$handler->display->display_options['filters']['promote']['value'] = '1';
$export['events'] = $view;
return $export;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment