Skip to content
Snippets Groups Projects
Commit c5ca4e38 authored by Chris Gross's avatar Chris Gross
Browse files

weekly build 2

parent 59447791
No related branches found
No related tags found
No related merge requests found
......@@ -13,11 +13,7 @@ function ocio_featured_slideshow_field_default_field_instances() {
// Exported field_instance: 'node-featured_slide-field_assign_to_slideshow'.
$field_instances['node-featured_slide-field_assign_to_slideshow'] = array(
'bundle' => 'featured_slide',
'default_value' => array(
0 => array(
'tid' => 24,
),
),
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
......@@ -32,7 +28,7 @@ function ocio_featured_slideshow_field_default_field_instances() {
'ds_extras_field_template' => '',
'entity_type' => 'node',
'field_name' => 'field_assign_to_slideshow',
'label' => 'Assign to Slideshow',
'label' => 'Assign to slideshow',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
......@@ -41,7 +37,7 @@ function ocio_featured_slideshow_field_default_field_instances() {
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'type' => 'options_select',
'weight' => 4,
),
);
......@@ -363,14 +359,49 @@ function ocio_featured_slideshow_field_default_field_instances() {
),
);
// Exported field_instance:
// 'node-ocio_landing_page-field_assign_to_slideshow'.
$field_instances['node-ocio_landing_page-field_assign_to_slideshow'] = array(
'bundle' => 'ocio_landing_page',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Choose a slideshow to display at the top of the page.',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 12,
),
),
'ds_extras_field_template' => '',
'entity_type' => 'node',
'field_name' => 'field_assign_to_slideshow',
'label' => 'Slideshow',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 33,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Assign to Slideshow');
t('Assign to slideshow');
t('Choose a slideshow to display at the top of the page.');
t('Hide Title and Summary');
t('Image');
t('Link');
t('Slide Text Background ');
t('Slide Text Color');
t('Slideshow');
t('Summary');
return $field_instances;
......
......@@ -205,15 +205,6 @@ function ocio_featured_slideshow_views_default_views() {
$handler->display->display_options['filters']['type']['value'] = array(
'featured_slide' => 'featured_slide',
);
/* Filter criterion: Content: Assign to Slideshow (field_assign_to_slideshow) */
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['id'] = 'field_assign_to_slideshow_tid';
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['table'] = 'field_data_field_assign_to_slideshow';
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['field'] = 'field_assign_to_slideshow_tid';
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['value'] = array(
24 => '24',
);
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['type'] = 'select';
$handler->display->display_options['filters']['field_assign_to_slideshow_tid']['vocabulary'] = 'featured_slideshow';
/* Display: Slideshow Workbench Tab Page */
$handler = $view->new_display('page', 'Slideshow Workbench Tab Page', 'page_1');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment