Commit 313dc24e authored by mnshantz's avatar mnshantz
Browse files

added unique_key to view for events services

parent aab6d086
...@@ -3,7 +3,7 @@ description = Adds events and event listing pages. ...@@ -3,7 +3,7 @@ description = Adds events and event listing pages.
core = 7.x core = 7.x
package = uWaterloo Content Types package = uWaterloo Content Types
php = 5.2.4 php = 5.2.4
version = 7.x-1.26.3 version = 7.x-1.26-4
project = uw_ct_event project = uw_ct_event
dependencies[] = better_formats dependencies[] = better_formats
dependencies[] = calendar dependencies[] = calendar
......
...@@ -2861,6 +2861,25 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2861,6 +2861,25 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
$handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['default_field_elements'] = FALSE;
/* Field: Global: PHP */
$handler->display->display_options['fields']['php']['id'] = 'php';
$handler->display->display_options['fields']['php']['table'] = 'views';
$handler->display->display_options['fields']['php']['field'] = 'php';
$handler->display->display_options['fields']['php']['label'] = 'unique_key';
$handler->display->display_options['fields']['php']['alter']['text'] = '[php][title]';
$handler->display->display_options['fields']['php']['use_php_setup'] = 0;
$handler->display->display_options['fields']['php']['php_value'] = '$node = $data -> nid;
$site = variable_get(\'site_name\');
$unique = $site . \'-\'. $node;
return $unique;';
$handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
$handler->display->display_options['fields']['php']['php_click_sortable'] = '';
/* Field: Content: Nid */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['exclude'] = TRUE;
/* Field: Content: Title */ /* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['table'] = 'node';
...@@ -2874,8 +2893,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2874,8 +2893,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
$handler->display->display_options['fields']['body']['id'] = 'body'; $handler->display->display_options['fields']['body']['id'] = 'body';
$handler->display->display_options['fields']['body']['table'] = 'field_data_body'; $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
$handler->display->display_options['fields']['body']['field'] = 'body'; $handler->display->display_options['fields']['body']['field'] = 'body';
$handler->display->display_options['fields']['body']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['body']['type'] = 'text_plain';
$handler->display->display_options['fields']['body']['type'] = 'services';
$handler->display->display_options['fields']['body']['settings'] = array( $handler->display->display_options['fields']['body']['settings'] = array(
'skip_safe' => 0, 'skip_safe' => 0,
'skip_empty_values' => 0, 'skip_empty_values' => 0,
...@@ -2891,6 +2909,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2891,6 +2909,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
'skip_empty_values' => 0, 'skip_empty_values' => 0,
); );
$handler->display->display_options['fields']['field_event_affiliation']['delta_offset'] = '0'; $handler->display->display_options['fields']['field_event_affiliation']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_event_affiliation']['separator'] = ' | ';
/* Field: Content: Audience */ /* Field: Content: Audience */
$handler->display->display_options['fields']['field_audience']['id'] = 'field_audience'; $handler->display->display_options['fields']['field_audience']['id'] = 'field_audience';
$handler->display->display_options['fields']['field_audience']['table'] = 'field_data_field_audience'; $handler->display->display_options['fields']['field_audience']['table'] = 'field_data_field_audience';
...@@ -2902,6 +2921,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2902,6 +2921,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
'skip_empty_values' => 0, 'skip_empty_values' => 0,
); );
$handler->display->display_options['fields']['field_audience']['delta_offset'] = '0'; $handler->display->display_options['fields']['field_audience']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_audience']['separator'] = ' | ';
/* Field: Content: Cost */ /* Field: Content: Cost */
$handler->display->display_options['fields']['field_event_cost']['id'] = 'field_event_cost'; $handler->display->display_options['fields']['field_event_cost']['id'] = 'field_event_cost';
$handler->display->display_options['fields']['field_event_cost']['table'] = 'field_data_field_event_cost'; $handler->display->display_options['fields']['field_event_cost']['table'] = 'field_data_field_event_cost';
...@@ -2928,6 +2948,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2928,6 +2948,7 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
$handler->display->display_options['fields']['field_uw_event_tag']['table'] = 'field_data_field_uw_event_tag'; $handler->display->display_options['fields']['field_uw_event_tag']['table'] = 'field_data_field_uw_event_tag';
$handler->display->display_options['fields']['field_uw_event_tag']['field'] = 'field_uw_event_tag'; $handler->display->display_options['fields']['field_uw_event_tag']['field'] = 'field_uw_event_tag';
$handler->display->display_options['fields']['field_uw_event_tag']['delta_offset'] = '0'; $handler->display->display_options['fields']['field_uw_event_tag']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_uw_event_tag']['separator'] = ' | ';
/* Field: Content: Event website */ /* Field: Content: Event website */
$handler->display->display_options['fields']['field_event_moreinfo_link']['id'] = 'field_event_moreinfo_link'; $handler->display->display_options['fields']['field_event_moreinfo_link']['id'] = 'field_event_moreinfo_link';
$handler->display->display_options['fields']['field_event_moreinfo_link']['table'] = 'field_data_field_event_moreinfo_link'; $handler->display->display_options['fields']['field_event_moreinfo_link']['table'] = 'field_data_field_event_moreinfo_link';
...@@ -2970,22 +2991,6 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\' ...@@ -2970,22 +2991,6 @@ echo preg_replace(\'/<(\\/?)h\\d/\', \'<$1p\', $data->field_body[0][\'rendered\'
'skip_safe' => 0, 'skip_safe' => 0,
'skip_empty_values' => 0, 'skip_empty_values' => 0,
); );
/* Field: Feeds log: Log message */
$handler->display->display_options['fields']['message']['id'] = 'message';
$handler->display->display_options['fields']['message']['table'] = 'feeds_log';
$handler->display->display_options['fields']['message']['field'] = 'message';
$handler->display->display_options['fields']['message']['element_default_classes'] = FALSE;
/* Field: Feeds log: Log time */
$handler->display->display_options['fields']['log_time']['id'] = 'log_time';
$handler->display->display_options['fields']['log_time']['table'] = 'feeds_log';
$handler->display->display_options['fields']['log_time']['field'] = 'log_time';
$handler->display->display_options['fields']['log_time']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['log_time']['date_format'] = 'long';
/* Field: Feeds log: Request time */
$handler->display->display_options['fields']['request_time']['id'] = 'request_time';
$handler->display->display_options['fields']['request_time']['table'] = 'feeds_log';
$handler->display->display_options['fields']['request_time']['field'] = 'request_time';
$handler->display->display_options['fields']['request_time']['date_format'] = 'long';
/* Sort criterion: Content: Post date */ /* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created'; $handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node'; $handler->display->display_options['sorts']['created']['table'] = 'node';
......
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