Loading modules/opencivic/opencivic_application/opencivic_application.features.field_base.inc +0 −37 Original line number Diff line number Diff line Loading @@ -243,43 +243,6 @@ function opencivic_application_field_default_field_bases() { 'type' => 'taxonomy_term_reference', ); // Exported field_base: 'field_oc_app_related_apps' $field_bases['field_oc_app_related_apps'] = array( 'active' => 1, 'cardinality' => -1, 'deleted' => 0, 'entity_types' => array(), 'field_name' => 'field_oc_app_related_apps', 'foreign keys' => array(), 'indexes' => array( 'target_id' => array( 0 => 'target_id', ), ), 'locked' => 0, 'module' => 'entityreference', 'settings' => array( 'entity_translation_sync' => FALSE, 'handler' => 'base', 'handler_settings' => array( 'behaviors' => array( 'views-select-list' => array( 'status' => 1, ), ), 'sort' => array( 'type' => 'none', ), 'target_bundles' => array( 'oc_application' => 'oc_application', ), ), 'target_type' => 'node', ), 'translatable' => 1, 'type' => 'entityreference', ); // Exported field_base: 'field_oc_app_requirements' $field_bases['field_oc_app_requirements'] = array( 'active' => 1, Loading modules/opencivic/opencivic_application/opencivic_application.features.field_instance.inc +198 −60 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'text_default', 'weight' => 1, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -86,6 +92,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 8, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -141,6 +153,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 12, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -193,6 +211,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 9, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -252,6 +276,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 10, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -311,6 +341,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 6, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -366,6 +402,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 13, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -438,6 +480,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 2, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -496,6 +544,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 14, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -568,58 +622,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 19, ), 'featured' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'ical' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'teaser' => array( 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_app_license', 'label' => 'License', 'required' => 0, 'settings' => array( 'entity_translation_sync' => FALSE, 'user_register_form' => FALSE, ), 'widget' => array( 'active' => 1, 'module' => 'options', 'settings' => array( 'label_help_description' => '', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', ), 'type' => 'options_buttons', 'weight' => 14, ), ); // Exported field_instance: 'node-oc_application-field_oc_app_related_apps' $field_instances['node-oc_application-field_oc_app_related_apps'] = array( 'bundle' => 'oc_application', 'default_value' => NULL, 'deleted' => 0, 'description' => '', 'display' => array( 'default' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 18, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading @@ -640,8 +648,8 @@ function opencivic_application_field_default_field_instances() { ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_app_related_apps', 'label' => 'Related applications', 'field_name' => 'field_oc_app_license', 'label' => 'License', 'required' => 0, 'settings' => array( 'entity_translation_sync' => FALSE, Loading @@ -649,20 +657,13 @@ function opencivic_application_field_default_field_instances() { ), 'widget' => array( 'active' => 1, 'module' => 'entityreference', 'module' => 'options', 'settings' => array( 'label_help_description' => '', 'match_operator' => 'CONTAINS', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', 'path' => '', 'references_dialog_add' => 1, 'references_dialog_edit' => 1, 'references_dialog_search' => 1, 'references_dialog_search_view' => '', 'size' => 60, ), 'type' => 'entityreference_autocomplete', 'weight' => 9, 'type' => 'options_buttons', 'weight' => 14, ), ); Loading @@ -679,6 +680,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 16, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -734,6 +741,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 4, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -797,6 +810,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 20, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -849,6 +868,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 7, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -921,6 +946,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 17, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -973,6 +1004,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'file_default', 'weight' => 22, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1033,6 +1070,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 23, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1081,6 +1124,77 @@ function opencivic_application_field_default_field_instances() { ), ); // Exported field_instance: 'node-oc_application-field_oc_related_content' $field_instances['node-oc_application-field_oc_related_content'] = array( 'bundle' => 'oc_application', 'default_value_function' => '', 'deleted' => 0, 'description' => '', 'display' => array( 'default' => array( 'label' => 'above', 'module' => 'entityreference', 'settings' => array( 'link' => FALSE, ), 'type' => 'entityreference_label', 'weight' => 25, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'ical' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'teaser' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_related_content', 'label' => 'Related Items', 'required' => 0, 'settings' => array( 'behaviors' => array( 'node_links' => array( 'status' => 0, ), 'prepopulate' => array( 'status' => 0, ), ), 'user_register_form' => FALSE, ), 'widget' => array( 'active' => 1, 'module' => 'entityreference_view_widget', 'settings' => array( 'close_modal' => 1, 'label_help_description' => '', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', 'pass_argument' => 1, 'view' => 'oc_related_content_reference|entityreference_view_widget_1', ), 'type' => 'entityreference_view_widget', 'weight' => 10, ), ); // Exported field_instance: 'node-oc_application-field_oc_tags' $field_instances['node-oc_application-field_oc_tags'] = array( 'bundle' => 'oc_application', Loading @@ -1095,6 +1209,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'taxonomy_term_reference_link', 'weight' => 24, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1151,6 +1271,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 3, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1223,6 +1349,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 0, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1281,6 +1413,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 1, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1345,7 +1483,7 @@ function opencivic_application_field_default_field_instances() { t('License'); t('Logo'); t('Rating'); t('Related applications'); t('Related Items'); t('Requirements'); t('Screenshot images of the app.'); t('Screenshots'); Loading modules/opencivic/opencivic_application/opencivic_application.field_group.inc +5 −4 Original line number Diff line number Diff line Loading @@ -28,8 +28,8 @@ function opencivic_application_field_group_info() { 2 => 'field_oc_app_creator', 3 => 'field_oc_app_description', 4 => 'field_oc_app_feature_list', 5 => 'field_oc_logo', 6 => 'field_oc_app_url', 5 => 'field_oc_app_url', 6 => 'field_oc_logo', ), 'format_type' => 'tab', 'format_settings' => array( Loading Loading @@ -114,8 +114,8 @@ function opencivic_application_field_group_info() { 'label' => 'Media', 'weight' => '21', 'children' => array( 0 => 'field_oc_file_attachments', 1 => 'field_oc_app_screenshot', 0 => 'field_oc_app_screenshot', 1 => 'field_oc_file_attachments', 2 => 'field_oc_video', ), 'format_type' => 'tab', Loading Loading @@ -144,6 +144,7 @@ function opencivic_application_field_group_info() { 'weight' => '23', 'children' => array( 0 => 'field_oc_app_related_apps', 1 => 'field_oc_related_content', ), 'format_type' => 'tab', 'format_settings' => array( Loading modules/opencivic/opencivic_application/opencivic_application.info +1 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ features[field_base][] = field_oc_app_download_url features[field_base][] = field_oc_app_feature_list features[field_base][] = field_oc_app_install_url features[field_base][] = field_oc_app_license features[field_base][] = field_oc_app_related_apps features[field_base][] = field_oc_app_requirements features[field_base][] = field_oc_app_screenshot features[field_base][] = field_oc_app_software_type Loading @@ -61,7 +60,6 @@ features[field_instance][] = node-oc_application-field_oc_app_download_url features[field_instance][] = node-oc_application-field_oc_app_feature_list features[field_instance][] = node-oc_application-field_oc_app_install_url features[field_instance][] = node-oc_application-field_oc_app_license features[field_instance][] = node-oc_application-field_oc_app_related_apps features[field_instance][] = node-oc_application-field_oc_app_requirements features[field_instance][] = node-oc_application-field_oc_app_screenshot features[field_instance][] = node-oc_application-field_oc_app_software_type Loading @@ -69,6 +67,7 @@ features[field_instance][] = node-oc_application-field_oc_app_url features[field_instance][] = node-oc_application-field_oc_civic_category features[field_instance][] = node-oc_application-field_oc_file_attachments features[field_instance][] = node-oc_application-field_oc_logo features[field_instance][] = node-oc_application-field_oc_related_content features[field_instance][] = node-oc_application-field_oc_tags features[field_instance][] = node-oc_application-field_oc_video features[field_instance][] = taxonomy_term-oc_application_category-field_oc_icon Loading modules/opencivic/opencivic_application/opencivic_application.pages_default.inc +4 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,10 @@ function opencivic_application_default_page_manager_pages() { $page->admin_title = 'Apps'; $page->admin_description = ''; $page->path = 'apps/!keywords'; $page->access = array(); $page->access = array( 'type' => 'none', 'settings' => NULL, ); $page->menu = array( 'type' => 'normal', 'title' => 'Apps', Loading Loading
modules/opencivic/opencivic_application/opencivic_application.features.field_base.inc +0 −37 Original line number Diff line number Diff line Loading @@ -243,43 +243,6 @@ function opencivic_application_field_default_field_bases() { 'type' => 'taxonomy_term_reference', ); // Exported field_base: 'field_oc_app_related_apps' $field_bases['field_oc_app_related_apps'] = array( 'active' => 1, 'cardinality' => -1, 'deleted' => 0, 'entity_types' => array(), 'field_name' => 'field_oc_app_related_apps', 'foreign keys' => array(), 'indexes' => array( 'target_id' => array( 0 => 'target_id', ), ), 'locked' => 0, 'module' => 'entityreference', 'settings' => array( 'entity_translation_sync' => FALSE, 'handler' => 'base', 'handler_settings' => array( 'behaviors' => array( 'views-select-list' => array( 'status' => 1, ), ), 'sort' => array( 'type' => 'none', ), 'target_bundles' => array( 'oc_application' => 'oc_application', ), ), 'target_type' => 'node', ), 'translatable' => 1, 'type' => 'entityreference', ); // Exported field_base: 'field_oc_app_requirements' $field_bases['field_oc_app_requirements'] = array( 'active' => 1, Loading
modules/opencivic/opencivic_application/opencivic_application.features.field_instance.inc +198 −60 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'text_default', 'weight' => 1, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -86,6 +92,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 8, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -141,6 +153,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 12, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -193,6 +211,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 9, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -252,6 +276,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 10, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -311,6 +341,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 6, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -366,6 +402,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 13, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -438,6 +480,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 2, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -496,6 +544,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 14, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -568,58 +622,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 19, ), 'featured' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'ical' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'teaser' => array( 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_app_license', 'label' => 'License', 'required' => 0, 'settings' => array( 'entity_translation_sync' => FALSE, 'user_register_form' => FALSE, ), 'widget' => array( 'active' => 1, 'module' => 'options', 'settings' => array( 'label_help_description' => '', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', ), 'type' => 'options_buttons', 'weight' => 14, ), ); // Exported field_instance: 'node-oc_application-field_oc_app_related_apps' $field_instances['node-oc_application-field_oc_app_related_apps'] = array( 'bundle' => 'oc_application', 'default_value' => NULL, 'deleted' => 0, 'description' => '', 'display' => array( 'default' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 18, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading @@ -640,8 +648,8 @@ function opencivic_application_field_default_field_instances() { ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_app_related_apps', 'label' => 'Related applications', 'field_name' => 'field_oc_app_license', 'label' => 'License', 'required' => 0, 'settings' => array( 'entity_translation_sync' => FALSE, Loading @@ -649,20 +657,13 @@ function opencivic_application_field_default_field_instances() { ), 'widget' => array( 'active' => 1, 'module' => 'entityreference', 'module' => 'options', 'settings' => array( 'label_help_description' => '', 'match_operator' => 'CONTAINS', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', 'path' => '', 'references_dialog_add' => 1, 'references_dialog_edit' => 1, 'references_dialog_search' => 1, 'references_dialog_search_view' => '', 'size' => 60, ), 'type' => 'entityreference_autocomplete', 'weight' => 9, 'type' => 'options_buttons', 'weight' => 14, ), ); Loading @@ -679,6 +680,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 16, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -734,6 +741,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 4, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -797,6 +810,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 20, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -849,6 +868,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 7, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -921,6 +946,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 17, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -973,6 +1004,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'file_default', 'weight' => 22, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1033,6 +1070,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 23, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1081,6 +1124,77 @@ function opencivic_application_field_default_field_instances() { ), ); // Exported field_instance: 'node-oc_application-field_oc_related_content' $field_instances['node-oc_application-field_oc_related_content'] = array( 'bundle' => 'oc_application', 'default_value_function' => '', 'deleted' => 0, 'description' => '', 'display' => array( 'default' => array( 'label' => 'above', 'module' => 'entityreference', 'settings' => array( 'link' => FALSE, ), 'type' => 'entityreference_label', 'weight' => 25, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'ical' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'teaser' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), ), 'entity_type' => 'node', 'field_name' => 'field_oc_related_content', 'label' => 'Related Items', 'required' => 0, 'settings' => array( 'behaviors' => array( 'node_links' => array( 'status' => 0, ), 'prepopulate' => array( 'status' => 0, ), ), 'user_register_form' => FALSE, ), 'widget' => array( 'active' => 1, 'module' => 'entityreference_view_widget', 'settings' => array( 'close_modal' => 1, 'label_help_description' => '', 'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>', 'pass_argument' => 1, 'view' => 'oc_related_content_reference|entityreference_view_widget_1', ), 'type' => 'entityreference_view_widget', 'weight' => 10, ), ); // Exported field_instance: 'node-oc_application-field_oc_tags' $field_instances['node-oc_application-field_oc_tags'] = array( 'bundle' => 'oc_application', Loading @@ -1095,6 +1209,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'taxonomy_term_reference_link', 'weight' => 24, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1151,6 +1271,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'hidden', 'weight' => 3, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1223,6 +1349,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 0, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1281,6 +1413,12 @@ function opencivic_application_field_default_field_instances() { 'type' => 'image', 'weight' => 1, ), 'entityreference_view_widget' => array( 'label' => 'above', 'settings' => array(), 'type' => 'hidden', 'weight' => 0, ), 'featured' => array( 'label' => 'above', 'settings' => array(), Loading Loading @@ -1345,7 +1483,7 @@ function opencivic_application_field_default_field_instances() { t('License'); t('Logo'); t('Rating'); t('Related applications'); t('Related Items'); t('Requirements'); t('Screenshot images of the app.'); t('Screenshots'); Loading
modules/opencivic/opencivic_application/opencivic_application.field_group.inc +5 −4 Original line number Diff line number Diff line Loading @@ -28,8 +28,8 @@ function opencivic_application_field_group_info() { 2 => 'field_oc_app_creator', 3 => 'field_oc_app_description', 4 => 'field_oc_app_feature_list', 5 => 'field_oc_logo', 6 => 'field_oc_app_url', 5 => 'field_oc_app_url', 6 => 'field_oc_logo', ), 'format_type' => 'tab', 'format_settings' => array( Loading Loading @@ -114,8 +114,8 @@ function opencivic_application_field_group_info() { 'label' => 'Media', 'weight' => '21', 'children' => array( 0 => 'field_oc_file_attachments', 1 => 'field_oc_app_screenshot', 0 => 'field_oc_app_screenshot', 1 => 'field_oc_file_attachments', 2 => 'field_oc_video', ), 'format_type' => 'tab', Loading Loading @@ -144,6 +144,7 @@ function opencivic_application_field_group_info() { 'weight' => '23', 'children' => array( 0 => 'field_oc_app_related_apps', 1 => 'field_oc_related_content', ), 'format_type' => 'tab', 'format_settings' => array( Loading
modules/opencivic/opencivic_application/opencivic_application.info +1 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ features[field_base][] = field_oc_app_download_url features[field_base][] = field_oc_app_feature_list features[field_base][] = field_oc_app_install_url features[field_base][] = field_oc_app_license features[field_base][] = field_oc_app_related_apps features[field_base][] = field_oc_app_requirements features[field_base][] = field_oc_app_screenshot features[field_base][] = field_oc_app_software_type Loading @@ -61,7 +60,6 @@ features[field_instance][] = node-oc_application-field_oc_app_download_url features[field_instance][] = node-oc_application-field_oc_app_feature_list features[field_instance][] = node-oc_application-field_oc_app_install_url features[field_instance][] = node-oc_application-field_oc_app_license features[field_instance][] = node-oc_application-field_oc_app_related_apps features[field_instance][] = node-oc_application-field_oc_app_requirements features[field_instance][] = node-oc_application-field_oc_app_screenshot features[field_instance][] = node-oc_application-field_oc_app_software_type Loading @@ -69,6 +67,7 @@ features[field_instance][] = node-oc_application-field_oc_app_url features[field_instance][] = node-oc_application-field_oc_civic_category features[field_instance][] = node-oc_application-field_oc_file_attachments features[field_instance][] = node-oc_application-field_oc_logo features[field_instance][] = node-oc_application-field_oc_related_content features[field_instance][] = node-oc_application-field_oc_tags features[field_instance][] = node-oc_application-field_oc_video features[field_instance][] = taxonomy_term-oc_application_category-field_oc_icon Loading
modules/opencivic/opencivic_application/opencivic_application.pages_default.inc +4 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,10 @@ function opencivic_application_default_page_manager_pages() { $page->admin_title = 'Apps'; $page->admin_description = ''; $page->path = 'apps/!keywords'; $page->access = array(); $page->access = array( 'type' => 'none', 'settings' => NULL, ); $page->menu = array( 'type' => 'normal', 'title' => 'Apps', Loading