drupalorg_case_studies/drupalorg_case_studies.features.content.inc 100644 765 765 52240 11757746377 21572 'field_community',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '4',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '1',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => '5',
'size' => 60,
'default_value' => array(
'0' => array(
'value' => '',
'format' => '1',
'_error_element' => 'default_value_widget][field_community][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Community contributions',
'weight' => '4',
'description' => 'Community contributions are what make Drupal great. If this project contributed modules, themes, documentation, patches to core or a contributed module, introduced new community members, gained a sponsor for a Drupal event, or anything else that will benefit the community, share it here.',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_developed
$fields['casestudy-field_developed'] = array(
'field_name' => 'field_developed',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '7',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '1',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => '5',
'size' => 60,
'default_value' => array(
'0' => array(
'value' => '',
'format' => '1',
'_error_element' => 'default_value_widget][field_developed][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Project team',
'weight' => '7',
'description' => 'Enter the names of organizations and team members that can\'t be referenced in the autocomplete fields above. Also, feel free to add more description about the team.',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_developed_org
$fields['casestudy-field_developed_org'] = array(
'field_name' => 'field_developed_org',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '5',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'nodereference',
'required' => '0',
'multiple' => '1',
'module' => 'nodereference',
'active' => '1',
'referenceable_types' => array(
'organization' => 'organization',
'book' => 0,
'casestudy' => 0,
'forum' => 0,
'image' => 0,
'project_issue' => 0,
'packaging_whitelist' => 0,
'page' => 0,
'project_project' => 0,
'project_release' => 0,
'showcase' => 0,
'story' => 0,
),
'advanced_view' => '--',
'advanced_view_args' => '',
'widget' => array(
'autocomplete_match' => 'starts_with',
'size' => '60',
'default_value' => array(
'0' => array(
'nid' => NULL,
'_error_element' => 'default_value_widget][field_developed_org][0][nid][nid',
),
),
'default_value_php' => NULL,
'label' => 'Organizations involved',
'weight' => '5',
'description' => 'Include the organizations that contributed to this project. You can reference organizations that appear in Marketplace. If the organization is not listed, enter it in the text field below.',
'type' => 'nodereference_autocomplete',
'module' => 'nodereference',
),
);
// Exported field: field_goals
$fields['casestudy-field_goals'] = array(
'field_name' => 'field_goals',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '2',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '1',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => '10',
'size' => 60,
'default_value' => array(
'0' => array(
'value' => '',
'_error_element' => 'default_value_widget][field_goals][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Describe the project (goals, requirements and outcome)',
'weight' => '2',
'description' => '',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_images
$fields['casestudy-field_images'] = array(
'field_name' => 'field_images',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '8',
'parent' => '',
'label' => array(
'format' => 'hidden',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'grid-8_default',
'exclude' => 0,
),
'5' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'4' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'2' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'3' => array(
'format' => 'image_plain',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'filefield',
'required' => '0',
'multiple' => '1',
'module' => 'filefield',
'active' => '1',
'list_field' => '0',
'list_default' => 1,
'description_field' => '1',
'widget' => array(
'file_extensions' => 'png gif jpg jpeg',
'file_path' => '',
'progress_indicator' => 'bar',
'max_filesize_per_file' => '',
'max_filesize_per_node' => '',
'max_resolution' => '1800x1800',
'min_resolution' => '400x300',
'alt' => '',
'custom_alt' => 1,
'title' => '',
'custom_title' => 1,
'title_type' => 'textfield',
'default_image' => NULL,
'use_default_image' => 0,
'label' => 'Additional screenshots',
'weight' => '8',
'description' => 'Upload additional screenshots or images. Please include alternate text (for search engines and accessibility reasons). ',
'type' => 'imagefield_widget',
'module' => 'imagefield',
),
);
// Exported field: field_link
$fields['casestudy-field_link'] = array(
'field_name' => 'field_link',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => 0,
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'link',
'required' => '1',
'multiple' => '0',
'module' => 'link',
'active' => '1',
'attributes' => array(
'target' => 'default',
'rel' => '',
'class' => '',
'title' => '',
),
'display' => array(
'url_cutoff' => '80',
),
'url' => 0,
'title' => 'none',
'title_value' => '',
'enable_tokens' => '',
'validate_url' => 1,
'widget' => array(
'default_value' => array(
'0' => array(
'url' => '',
),
),
'default_value_php' => NULL,
'label' => 'Completed Drupal site or project URL',
'weight' => 0,
'description' => '',
'type' => 'link',
'module' => 'link',
),
);
// Exported field: field_mainimage
$fields['casestudy-field_mainimage'] = array(
'field_name' => 'field_mainimage',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '-4',
'parent' => '',
'label' => array(
'format' => 'hidden',
),
'teaser' => array(
'format' => 'grid-3_linked',
'exclude' => 0,
),
'full' => array(
'format' => 'grid-8_default',
'exclude' => 0,
),
'5' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'4' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'2' => array(
'format' => 'image_plain',
'exclude' => 0,
),
'3' => array(
'format' => 'image_plain',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'filefield',
'required' => '1',
'multiple' => '0',
'module' => 'filefield',
'active' => '1',
'list_field' => '0',
'list_default' => 1,
'description_field' => '0',
'widget' => array(
'file_extensions' => 'png gif jpg jpeg',
'file_path' => '',
'progress_indicator' => 'bar',
'max_filesize_per_file' => '',
'max_filesize_per_node' => '',
'max_resolution' => '1800x1800',
'min_resolution' => '400x300',
'alt' => '',
'custom_alt' => 1,
'title' => '',
'custom_title' => 0,
'title_type' => 'textfield',
'default_image' => NULL,
'use_default_image' => 0,
'label' => 'Primary screenshot',
'weight' => '-4',
'description' => 'Generally, the home page or a visually striking screenshot, with clear labeling/branding, should be used',
'type' => 'imagefield_widget',
'module' => 'imagefield',
),
);
// Exported field: field_module
$fields['casestudy-field_module'] = array(
'field_name' => 'field_module',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '4',
'parent' => 'group_modules',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'nodereference',
'required' => '1',
'multiple' => '1',
'module' => 'nodereference',
'active' => '1',
'referenceable_types' => array(
'project_project' => 'project_project',
'book' => 0,
'casestudy' => 0,
'forum' => 0,
'image' => 0,
'project_issue' => 0,
'organization' => 0,
'packaging_whitelist' => 0,
'page' => 0,
'project_release' => 0,
'showcase' => 0,
'story' => 0,
),
'advanced_view' => '--',
'advanced_view_args' => '',
'widget' => array(
'autocomplete_match' => 'starts_with',
'size' => '60',
'default_value' => array(
'0' => array(
'nid' => NULL,
'_error_element' => 'default_value_widget][field_module][0][nid][nid',
),
),
'default_value_php' => NULL,
'label' => 'Key modules used',
'weight' => '4',
'description' => 'Tell us the key modules used. In the future, we can use this data in other ways.
',
'type' => 'nodereference_autocomplete',
'module' => 'nodereference',
),
);
// Exported field: field_module_selection
$fields['casestudy-field_module_selection'] = array(
'field_name' => 'field_module_selection',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '5',
'parent' => 'group_modules',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '1',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => '10',
'size' => 60,
'default_value' => array(
'0' => array(
'value' => '',
'_error_element' => 'default_value_widget][field_module_selection][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Why these modules were chosen',
'weight' => '5',
'description' => 'Why did you choose these modules over others available? Was the module created for the project? How was each module was integral to the success of your project?',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_overview
$fields['casestudy-field_overview'] = array(
'field_name' => 'field_overview',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '-1',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'trimmed',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '1',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '1',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => '4',
'size' => 60,
'default_value' => array(
'0' => array(
'value' => '',
'_error_element' => 'default_value_widget][field_overview][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Why Drupal was chosen',
'weight' => '-1',
'description' => '',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_profiles
$fields['casestudy-field_profiles'] = array(
'field_name' => 'field_profiles',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '6',
'parent' => '',
'label' => array(
'format' => 'above',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'userreference',
'required' => '0',
'multiple' => '1',
'module' => 'userreference',
'active' => '1',
'referenceable_roles' => array(
'2' => 0,
'18' => 0,
'3' => 0,
'5' => 0,
'16' => 0,
'22' => 0,
'20' => 0,
'24' => 0,
'12' => 0,
'4' => 0,
'14' => 0,
'7' => 0,
),
'referenceable_status' => '1',
'advanced_view' => '--',
'advanced_view_args' => '',
'widget' => array(
'autocomplete_match' => 'starts_with',
'size' => '60',
'reverse_link' => 0,
'default_value' => array(
'0' => array(
'uid' => NULL,
'_error_element' => 'default_value_widget][field_profiles][0][uid][uid',
),
),
'default_value_php' => NULL,
'label' => 'Team members',
'weight' => '6',
'description' => 'Include the Drupal.org profiles of the project team members. If anyone doesn\'t have an account on drupal.org, add them to the text box below.',
'type' => 'userreference_autocomplete',
'module' => 'userreference',
),
);
// Exported field: field_status
$fields['casestudy-field_status'] = array(
'field_name' => 'field_status',
'type_name' => 'casestudy',
'display_settings' => array(
'weight' => '13',
'parent' => '',
'label' => array(
'format' => 'hidden',
),
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'hidden',
'exclude' => 1,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '1',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => 'Community
Featured',
'allowed_values_php' => '',
'widget' => array(
'default_value' => array(
'0' => array(
'value' => 'Community',
),
),
'default_value_php' => NULL,
'label' => 'Status',
'weight' => '13',
'description' => 'Choose "Featured" to promote case study to "Featured showcase" section.',
'type' => 'optionwidgets_buttons',
'module' => 'optionwidgets',
),
);
// Translatables
// Included for use with string extractors like potx.
t('Additional screenshots');
t('Community contributions');
t('Completed Drupal site or project URL');
t('Describe the project (goals, requirements and outcome)');
t('Key modules used');
t('Organizations involved');
t('Primary screenshot');
t('Project team');
t('Status');
t('Team members');
t('Why Drupal was chosen');
t('Why these modules were chosen');
return $fields;
}
drupalorg_case_studies/drupalorg_case_studies.features.fieldgroup.inc 100644 765 765 2574 11757746377 22245 'standard',
'type_name' => 'casestudy',
'group_name' => 'group_modules',
'label' => 'Modules',
'settings' => array(
'form' => array(
'style' => 'fieldset',
'description' => '',
),
'display' => array(
'weight' => '3',
'label' => 'above',
'teaser' => array(
'format' => 'hidden',
'exclude' => 1,
),
'full' => array(
'format' => 'fieldset',
'exclude' => 0,
),
'description' => '',
'5' => array(
'format' => 'fieldset',
'exclude' => 0,
),
'4' => array(
'format' => 'fieldset',
'exclude' => 0,
),
'2' => array(
'format' => 'fieldset',
'exclude' => 0,
),
'3' => array(
'format' => 'fieldset',
'exclude' => 0,
),
),
),
'weight' => '3',
'fields' => array(
'0' => 'field_module',
'1' => 'field_module_selection',
),
);
// Translatables
// Included for use with string extractors like potx.
t('Modules');
return $groups;
}
drupalorg_case_studies/drupalorg_case_studies.features.inc 100644 765 765 1426 11757746377 20101 array(
'name' => t('Case study'),
'module' => 'features',
'description' => t('The Case studies will be used to feature well-built and well-designed Drupal sites.'),
'has_title' => '1',
'title_label' => t('Project name'),
'has_body' => '1',
'body_label' => t('Brief overview'),
'min_word_count' => '0',
'help' => t('Refer to the Drupal.org Style Guide for formatting and editorial tips.'),
),
);
return $items;
}
/**
* Implementation of hook_views_api().
*/
function drupalorg_case_studies_views_api() {
return array(
'api' => '2',
);
}
drupalorg_case_studies/drupalorg_case_studies.views_default.inc 100644 765 765 71635 11757746377 21155 name = 'drupalorg_casestudies';
$view->description = 'List of case studies';
$view->tag = '';
$view->base_table = 'node';
$view->core = 0;
$view->api_version = '2';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'field_mainimage_fid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'case198_default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_mainimage_fid',
'table' => 'node_data_field_mainimage',
'field' => 'field_mainimage_fid',
'relationship' => 'none',
),
'title' => array(
'label' => '',
'alter' => array(
'alter_text' => 1,
'text' => '
[title]
',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'relationship' => 'none',
),
'tid' => array(
'label' => 'Categories',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 1,
'path' => 'case-studies/%1/[tid-tid]',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'type' => 'separator',
'separator' => ', ',
'link_to_taxonomy' => 0,
'limit' => 1,
'vids' => array(
50 => 50,
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'exclude' => 0,
'id' => 'tid',
'table' => 'term_node',
'field' => 'tid',
'relationship' => 'none',
),
));
$handler->override_option('sorts', array(
'status' => array(
'order' => 'ASC',
'id' => 'status',
'table' => 'node',
'field' => 'status',
'relationship' => 'none',
),
));
$handler->override_option('arguments', array(
'field_status_value' => array(
'default_action' => 'default',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '%1',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'add_table' => 0,
'require_value' => 0,
'reduce_duplicates' => 0,
'id' => 'field_status_value',
'table' => 'node_data_field_status',
'field' => 'field_status_value',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
2 => 0,
3 => 0,
16 => 0,
22 => 0,
20 => 0,
24 => 0,
12 => 0,
28 => 0,
26 => 0,
4 => 0,
14 => 0,
7 => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_taxonomy_tid_term_page' => 0,
'default_taxonomy_tid_node' => 0,
'default_taxonomy_tid_limit' => 0,
'default_taxonomy_tid_vids' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'default_argument_user' => 0,
'default_argument_fixed' => 'featured',
'default_argument_image_size' => '_original',
'validate_argument_node_type' => array(
'casestudy' => 0,
'changenotice' => 0,
'organization' => 0,
'packaging_whitelist' => 0,
'image' => 0,
'forum' => 0,
'project_project' => 0,
'project_release' => 0,
'project_issue' => 0,
'book' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'image_size' => array(
'_original' => '_original',
'thumbnail' => 'thumbnail',
'preview' => 'preview',
),
'validate_argument_project_term_argument_type' => 'tid',
'validate_argument_project_term_argument_action_top_without' => 'pass',
'validate_argument_project_term_argument_action_top_with' => 'pass',
'validate_argument_project_term_argument_action_child' => 'pass',
'default_argument_php' => '',
'validate_argument_php' => '',
),
'tid' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => 'Drupal Case Studies: %2',
'breadcrumb' => '%2',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'taxonomy_term',
'validate_fail' => 'not found',
'break_phrase' => 0,
'add_table' => 0,
'require_value' => 0,
'reduce_duplicates' => 0,
'set_breadcrumb' => 0,
'id' => 'tid',
'table' => 'term_node',
'field' => 'tid',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
2 => 0,
3 => 0,
16 => 0,
22 => 0,
20 => 0,
24 => 0,
12 => 0,
28 => 0,
26 => 0,
4 => 0,
14 => 0,
7 => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_taxonomy_tid_term_page' => 0,
'default_taxonomy_tid_node' => 0,
'default_taxonomy_tid_limit' => 0,
'default_taxonomy_tid_vids' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_image_size' => '_original',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'casestudy' => 0,
'changenotice' => 0,
'organization' => 0,
'packaging_whitelist' => 0,
'image' => 0,
'forum' => 0,
'project_project' => 0,
'project_release' => 0,
'project_issue' => 0,
'book' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
50 => 50,
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'image_size' => array(
'_original' => '_original',
'thumbnail' => 'thumbnail',
'preview' => 'preview',
),
'validate_argument_project_term_argument_type' => 'tid',
'validate_argument_project_term_argument_action_top_without' => 'pass',
'validate_argument_project_term_argument_action_top_with' => 'pass',
'validate_argument_project_term_argument_action_child' => 'pass',
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'node',
'field' => 'status',
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'casestudy' => 'casestudy',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'relationship' => 'none',
),
'vid' => array(
'operator' => 'in',
'value' => array(
50 => '50',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'vid',
'table' => 'term_data',
'field' => 'vid',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('title', 'Drupal Case Studies');
$handler->override_option('css_class', 'drupalorg-grid-4 drupalorg-2-col');
$handler->override_option('items_per_page', 8);
$handler->override_option('use_pager', '1');
$handler->override_option('distinct', 1);
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
'grouping' => '',
'columns' => '2',
'alignment' => 'horizontal',
'fill_single_line' => 1,
'summary' => 'Thumbnails and descriptions of case studies',
));
$handler->override_option('row_options', array(
'inline' => array(
'title' => 'title',
),
'separator' => '',
'hide_empty' => 0,
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'case-studies');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler = $view->new_display('block', 'Home page', 'block_1');
$handler->override_option('fields', array(
'field_mainimage_fid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'grid-4_linked',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_mainimage_fid',
'table' => 'node_data_field_mainimage',
'field' => 'field_mainimage_fid',
'relationship' => 'none',
'override' => array(
'button' => 'Use default',
),
),
'title' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'relationship' => 'none',
'override' => array(
'button' => 'Use default',
),
),
));
$handler->override_option('arguments', array(
'tid' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All sectors',
'title' => 'Drupal case studies: %1',
'breadcrumb' => '',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'taxonomy_term',
'validate_fail' => 'not found',
'break_phrase' => 0,
'add_table' => 0,
'require_value' => 0,
'reduce_duplicates' => 0,
'set_breadcrumb' => 0,
'id' => 'tid',
'table' => 'term_node',
'field' => 'tid',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
2 => 0,
18 => 0,
3 => 0,
5 => 0,
16 => 0,
22 => 0,
20 => 0,
24 => 0,
12 => 0,
4 => 0,
14 => 0,
7 => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_argument_fixed' => '',
'default_argument_user' => 0,
'default_argument_image_size' => '_original',
'validate_argument_node_type' => array(
'organization' => 0,
'showcase' => 0,
'image' => 0,
'forum' => 0,
'project_project' => 0,
'project_release' => 0,
'project_issue' => 0,
'book' => 0,
'casestudy' => 0,
'packaging_whitelist' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
50 => 50,
1 => 0,
5 => 0,
38 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
52 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'validate_argument_type' => 'convert',
'validate_argument_transform' => 1,
'validate_user_restrict_roles' => 0,
'image_size' => array(
'_original' => '_original',
'thumbnail' => 'thumbnail',
'preview' => 'preview',
),
'validate_argument_project_term_argument_type' => 'tid',
'validate_argument_project_term_argument_action_top_without' => 'pass',
'validate_argument_project_term_argument_action_top_with' => 'pass',
'validate_argument_project_term_argument_action_child' => 'pass',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'node',
'field' => 'status',
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'casestudy' => 'casestudy',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'relationship' => 'none',
),
'field_status_value' => array(
'operator' => '=',
'value' => 'Featured',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
'optional' => FALSE,
),
'case' => 1,
'id' => 'field_status_value',
'table' => 'node_data_field_status',
'field' => 'field_status_value',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('items_per_page', 10);
$handler->override_option('style_plugin', 'default');
$handler->override_option('style_options', array());
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
$handler = $view->new_display('block', 'Sidebar navigation', 'block_2');
$handler->override_option('fields', array(
'name' => array(
'label' => 'Term',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => 'case-studies/%1/[tid]',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'link_to_taxonomy' => 0,
'exclude' => 0,
'id' => 'name',
'table' => 'term_data',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('sorts', array());
$handler->override_option('arguments', array(
'field_status_value' => array(
'default_action' => 'default',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'php',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'add_table' => 0,
'require_value' => 0,
'reduce_duplicates' => 0,
'id' => 'field_status_value',
'table' => 'node_data_field_status',
'field' => 'field_status_value',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
2 => 0,
3 => 0,
16 => 0,
22 => 0,
20 => 0,
24 => 0,
12 => 0,
28 => 0,
26 => 0,
4 => 0,
14 => 0,
7 => 0,
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_taxonomy_tid_term_page' => 0,
'default_taxonomy_tid_node' => 0,
'default_taxonomy_tid_limit' => 0,
'default_taxonomy_tid_vids' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'default_argument_user' => 0,
'default_argument_fixed' => 'featured',
'default_argument_image_size' => '_original',
'validate_argument_node_type' => array(
'casestudy' => 0,
'changenotice' => 0,
'organization' => 0,
'packaging_whitelist' => 0,
'image' => 0,
'forum' => 0,
'project_project' => 0,
'project_release' => 0,
'project_issue' => 0,
'book' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'image_size' => array(
'_original' => '_original',
'thumbnail' => 'thumbnail',
'preview' => 'preview',
),
'validate_argument_project_term_argument_type' => 'tid',
'validate_argument_project_term_argument_action_top_without' => 'pass',
'validate_argument_project_term_argument_action_top_with' => 'pass',
'validate_argument_project_term_argument_action_child' => 'pass',
'override' => array(
'button' => 'Use default',
),
'default_argument_php' => 'if (arg(0) == \'case-studies\') {
if (arg(1) != \'\') { return arg(1); }
else { return \'featured\'; }
}',
'validate_argument_php' => '',
),
'tid' => array(
'default_action' => 'summary asc',
'style_plugin' => 'default_summary',
'style_options' => array(
'base_path' => 'case-studies',
'count' => 1,
'override' => 0,
'items_per_page' => '25',
),
'wildcard' => 'all',
'wildcard_substitution' => 'All',
'title' => '',
'breadcrumb' => '',
'default_argument_type' => 'fixed',
'default_argument' => '',
'validate_type' => 'taxonomy_term',
'validate_fail' => 'not found',
'break_phrase' => 0,
'add_table' => 0,
'require_value' => 0,
'reduce_duplicates' => 0,
'set_breadcrumb' => 0,
'id' => 'tid',
'table' => 'term_node',
'field' => 'tid',
'validate_user_argument_type' => 'uid',
'validate_user_roles' => array(
2 => 0,
3 => 0,
16 => 0,
22 => 0,
20 => 0,
24 => 0,
12 => 0,
28 => 0,
26 => 0,
4 => 0,
14 => 0,
7 => 0,
),
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_taxonomy_tid_term_page' => 0,
'default_taxonomy_tid_node' => 0,
'default_taxonomy_tid_limit' => 0,
'default_taxonomy_tid_vids' => array(
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
50 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_image_size' => '_original',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'casestudy' => 0,
'changenotice' => 0,
'organization' => 0,
'packaging_whitelist' => 0,
'image' => 0,
'forum' => 0,
'project_project' => 0,
'project_release' => 0,
'project_issue' => 0,
'book' => 0,
'page' => 0,
'story' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
50 => 50,
1 => 0,
5 => 0,
38 => 0,
54 => 0,
56 => 0,
6 => 0,
4 => 0,
44 => 0,
46 => 0,
3 => 0,
48 => 0,
52 => 0,
58 => 0,
7 => 0,
2 => 0,
31 => 0,
32 => 0,
33 => 0,
34 => 0,
9 => 0,
),
'validate_argument_type' => 'tid',
'validate_argument_transform' => 0,
'validate_user_restrict_roles' => 0,
'validate_argument_node_flag_name' => '*relationship*',
'validate_argument_node_flag_test' => 'flaggable',
'validate_argument_node_flag_id_type' => 'id',
'validate_argument_user_flag_name' => '*relationship*',
'validate_argument_user_flag_test' => 'flaggable',
'validate_argument_user_flag_id_type' => 'id',
'image_size' => array(
'_original' => '_original',
'thumbnail' => 'thumbnail',
'preview' => 'preview',
),
'validate_argument_project_term_argument_type' => 'tid',
'validate_argument_project_term_argument_action_top_without' => 'pass',
'validate_argument_project_term_argument_action_top_with' => 'pass',
'validate_argument_project_term_argument_action_child' => 'pass',
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'node',
'field' => 'status',
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'casestudy' => 'casestudy',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'relationship' => 'none',
),
'vid' => array(
'operator' => 'in',
'value' => array(
50 => '50',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'vid',
'table' => 'term_data',
'field' => 'vid',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('title', 'Browse by category');
$handler->override_option('items_per_page', 40);
$handler->override_option('style_plugin', 'default');
$handler->override_option('style_options', array(
'grouping' => '',
));
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
$views[$view->name] = $view;
return $views;
}
drupalorg_case_studies/drupalorg_case_studies.info 100644 765 765 2467 11757746377 16454 core = "6.x"
datestamp = "1336762720"
dependencies[] = "drupalorg_grid"
dependencies[] = "drupalorg_marketplace"
dependencies[] = "features"
dependencies[] = "fieldgroup"
dependencies[] = "imagecache"
dependencies[] = "imagefield"
dependencies[] = "link"
dependencies[] = "nodereference"
dependencies[] = "taxonomy"
dependencies[] = "userreference"
dependencies[] = "views"
description = "Case study content type and view for displaying superb examples of Drupal sites on Drupal.org"
features[content][] = "casestudy-field_community"
features[content][] = "casestudy-field_developed"
features[content][] = "casestudy-field_developed_org"
features[content][] = "casestudy-field_goals"
features[content][] = "casestudy-field_images"
features[content][] = "casestudy-field_link"
features[content][] = "casestudy-field_mainimage"
features[content][] = "casestudy-field_module"
features[content][] = "casestudy-field_module_selection"
features[content][] = "casestudy-field_overview"
features[content][] = "casestudy-field_profiles"
features[content][] = "casestudy-field_status"
features[fieldgroup][] = "casestudy-group_modules"
features[node][] = "casestudy"
features[views][] = "drupalorg_casestudies"
features[views_api][] = "api:2"
name = "Case studies"
package = "Features"
project = "drupalorg_case_studies"
version = "6.x-3.3-dev"
drupalorg_case_studies/drupalorg_case_studies.module 100644 765 765 74 11757746377 16736