diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-11-16 23:59:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-11-16 23:59:25 -0200 |
commit | d5f4204952e5c86c0c9284c7dae9ff4496865669 (patch) | |
tree | 6b514f984fcd882ac4ea229fdd630b5df9ec3ec9 /features | |
parent | adab28abb338c8c215c4b8a3b72d51bf614922eb (diff) | |
download | calendario-d5f4204952e5c86c0c9284c7dae9ff4496865669.tar.gz calendario-d5f4204952e5c86c0c9284c7dae9ff4496865669.tar.bz2 |
Updating features, fixing feeds and other changes
Diffstat (limited to 'features')
7 files changed, 1897 insertions, 1183 deletions
diff --git a/features/calendario_feature/calendario_feature.features.field.inc b/features/calendario_feature/calendario_feature.features.field.inc index 98c0e12..0741c84 100644 --- a/features/calendario_feature/calendario_feature.features.field.inc +++ b/features/calendario_feature/calendario_feature.features.field.inc @@ -10,7 +10,7 @@ function calendario_feature_field_default_fields() { $fields = array(); - // Exported field: 'comment-comment_node_article-comment_body' + // Exported field: 'comment-comment_node_article-comment_body'. $fields['comment-comment_node_article-comment_body'] = array( 'field_config' => array( 'active' => '1', @@ -33,6 +33,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', @@ -77,7 +78,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'comment-comment_node_evento-comment_body' + // Exported field: 'comment-comment_node_evento-comment_body'. $fields['comment-comment_node_evento-comment_body'] = array( 'field_config' => array( 'active' => '1', @@ -100,6 +101,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', @@ -144,7 +146,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'comment-comment_node_page-comment_body' + // Exported field: 'comment-comment_node_page-comment_body'. $fields['comment-comment_node_page-comment_body'] = array( 'field_config' => array( 'active' => '1', @@ -167,6 +169,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', @@ -211,7 +214,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-article-body' + // Exported field: 'node-article-body'. $fields['node-article-body'] = array( 'field_config' => array( 'active' => '1', @@ -234,6 +237,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', @@ -289,7 +293,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-article-field_image' + // Exported field: 'node-article-field_image'. $fields['node-article-field_image'] = array( 'field_config' => array( 'active' => '1', @@ -310,6 +314,7 @@ function calendario_feature_field_default_fields() { 0 => 'fid', ), ), + 'locked' => '0', 'module' => 'image', 'settings' => array( 'default_image' => 0, @@ -377,7 +382,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-article-field_tags' + // Exported field: 'node-article-field_tags'. $fields['node-article-field_tags'] = array( 'field_config' => array( 'active' => '1', @@ -398,6 +403,7 @@ function calendario_feature_field_default_fields() { 0 => 'tid', ), ), + 'locked' => '0', 'module' => 'taxonomy', 'settings' => array( 'allowed_values' => array( @@ -456,7 +462,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-body' + // Exported field: 'node-evento-body'. $fields['node-evento-body'] = array( 'field_config' => array( 'active' => '1', @@ -479,6 +485,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', @@ -538,7 +545,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_address' + // Exported field: 'node-evento-field_address'. $fields['node-evento-field_address'] = array( 'field_config' => array( 'active' => '1', @@ -559,6 +566,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array( 'max_length' => '500', @@ -612,7 +620,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_contact' + // Exported field: 'node-evento-field_contact'. $fields['node-evento-field_contact'] = array( 'field_config' => array( 'active' => '1', @@ -633,6 +641,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array( 'max_length' => '500', @@ -686,7 +695,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_date' + // Exported field: 'node-evento-field_date'. $fields['node-evento-field_date'] = array( 'field_config' => array( 'active' => '1', @@ -696,6 +705,7 @@ function calendario_feature_field_default_fields() { 'field_name' => 'field_date', 'foreign keys' => array(), 'indexes' => array(), + 'locked' => '0', 'module' => 'date', 'settings' => array( 'cache_count' => '4', @@ -786,7 +796,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_image' + // Exported field: 'node-evento-field_image'. $fields['node-evento-field_image'] = array( 'field_config' => array( 'active' => '1', @@ -807,6 +817,7 @@ function calendario_feature_field_default_fields() { 0 => 'fid', ), ), + 'locked' => '0', 'module' => 'image', 'settings' => array( 'default_image' => 0, @@ -871,7 +882,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_link' + // Exported field: 'node-evento-field_link'. $fields['node-evento-field_link'] = array( 'field_config' => array( 'active' => '1', @@ -881,6 +892,7 @@ function calendario_feature_field_default_fields() { 'field_name' => 'field_link', 'foreign keys' => array(), 'indexes' => array(), + 'locked' => '0', 'module' => 'link', 'settings' => array( 'attributes' => array( @@ -959,7 +971,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_place' + // Exported field: 'node-evento-field_place'. $fields['node-evento-field_place'] = array( 'field_config' => array( 'active' => '1', @@ -980,6 +992,7 @@ function calendario_feature_field_default_fields() { 0 => 'tid', ), ), + 'locked' => '0', 'module' => 'taxonomy', 'settings' => array( 'allowed_values' => array( @@ -1038,7 +1051,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_tags' + // Exported field: 'node-evento-field_tags'. $fields['node-evento-field_tags'] = array( 'field_config' => array( 'active' => '1', @@ -1059,6 +1072,7 @@ function calendario_feature_field_default_fields() { 0 => 'tid', ), ), + 'locked' => '0', 'module' => 'taxonomy', 'settings' => array( 'allowed_values' => array( @@ -1117,7 +1131,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_theme' + // Exported field: 'node-evento-field_theme'. $fields['node-evento-field_theme'] = array( 'field_config' => array( 'active' => '1', @@ -1138,6 +1152,7 @@ function calendario_feature_field_default_fields() { 0 => 'tid', ), ), + 'locked' => '0', 'module' => 'taxonomy', 'settings' => array( 'allowed_values' => array( @@ -1193,7 +1208,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-evento-field_type' + // Exported field: 'node-evento-field_type'. $fields['node-evento-field_type'] = array( 'field_config' => array( 'active' => '1', @@ -1214,6 +1229,7 @@ function calendario_feature_field_default_fields() { 0 => 'tid', ), ), + 'locked' => '0', 'module' => 'taxonomy', 'settings' => array( 'allowed_values' => array( @@ -1269,7 +1285,7 @@ function calendario_feature_field_default_fields() { ), ); - // Exported field: 'node-page-body' + // Exported field: 'node-page-body'. $fields['node-page-body'] = array( 'field_config' => array( 'active' => '1', @@ -1292,6 +1308,7 @@ function calendario_feature_field_default_fields() { 0 => 'format', ), ), + 'locked' => '0', 'module' => 'text', 'settings' => array(), 'translatable' => '0', diff --git a/features/calendario_feature/calendario_feature.features.filter.inc b/features/calendario_feature/calendario_feature.features.filter.inc index b613d06..616fed3 100644 --- a/features/calendario_feature/calendario_feature.features.filter.inc +++ b/features/calendario_feature/calendario_feature.features.filter.inc @@ -10,7 +10,7 @@ function calendario_feature_filter_default_formats() { $formats = array(); - // Exported format: Filtered HTML + // Exported format: Filtered HTML. $formats['filtered_html'] = array( 'format' => 'filtered_html', 'name' => 'Filtered HTML', @@ -47,7 +47,7 @@ function calendario_feature_filter_default_formats() { ), ); - // Exported format: Full HTML + // Exported format: Full HTML. $formats['full_html'] = array( 'format' => 'full_html', 'name' => 'Full HTML', @@ -75,7 +75,7 @@ function calendario_feature_filter_default_formats() { ), ); - // Exported format: Plain text + // Exported format: Plain text. $formats['plain_text'] = array( 'format' => 'plain_text', 'name' => 'Plain text', diff --git a/features/calendario_feature/calendario_feature.features.language.inc b/features/calendario_feature/calendario_feature.features.language.inc index 7d7e9b3..14717dc 100644 --- a/features/calendario_feature/calendario_feature.features.language.inc +++ b/features/calendario_feature/calendario_feature.features.language.inc @@ -10,7 +10,7 @@ function calendario_feature_locale_default_languages() { $languages = array(); - // Exported language: en + // Exported language: en. $languages['en'] = array( 'language' => 'en', 'name' => 'English', @@ -23,7 +23,7 @@ function calendario_feature_locale_default_languages() { 'prefix' => 'en', 'weight' => '-8', ); - // Exported language: es + // Exported language: es. $languages['es'] = array( 'language' => 'es', 'name' => 'Spanish', @@ -36,7 +36,7 @@ function calendario_feature_locale_default_languages() { 'prefix' => 'es', 'weight' => '-9', ); - // Exported language: pt-br + // Exported language: pt-br. $languages['pt-br'] = array( 'language' => 'pt-br', 'name' => 'Portuguese, Brazil', diff --git a/features/calendario_feature/calendario_feature.features.menu_custom.inc b/features/calendario_feature/calendario_feature.features.menu_custom.inc index 52420b6..7ac9cff 100644 --- a/features/calendario_feature/calendario_feature.features.menu_custom.inc +++ b/features/calendario_feature/calendario_feature.features.menu_custom.inc @@ -10,25 +10,25 @@ function calendario_feature_menu_default_menu_custom() { $menus = array(); - // Exported menu: main-menu + // Exported menu: main-menu. $menus['main-menu'] = array( 'menu_name' => 'main-menu', 'title' => 'Menu principal', 'description' => 'The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.', ); - // Exported menu: management + // Exported menu: management. $menus['management'] = array( 'menu_name' => 'management', 'title' => 'Management', 'description' => 'O menu <em>Gerenciamento</em> contém links para as tarefas administrativas.', ); - // Exported menu: navigation + // Exported menu: navigation. $menus['navigation'] = array( 'menu_name' => 'navigation', 'title' => 'Navegação', 'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.', ); - // Exported menu: user-menu + // Exported menu: user-menu. $menus['user-menu'] = array( 'menu_name' => 'user-menu', 'title' => 'User menu', diff --git a/features/calendario_feature/calendario_feature.info b/features/calendario_feature/calendario_feature.info index 6e5ca90..0ca368d 100644 --- a/features/calendario_feature/calendario_feature.info +++ b/features/calendario_feature/calendario_feature.info @@ -2,8 +2,10 @@ name = Calendário description = Feature for calendario.sarava.org core = 7.x package = Features +php = 5.2.4 version = 7.x-0.1 project = calendario_feature +dependencies[] = ascii_art_captcha dependencies[] = block dependencies[] = calendar dependencies[] = captcha @@ -59,7 +61,6 @@ dependencies[] = timeline dependencies[] = toolbar dependencies[] = transliteration dependencies[] = views -dependencies[] = ascii_art_captcha features[ctools][] = field_group:field_group:1 features[ctools][] = strongarm:strongarm:1 features[ctools][] = views:views_default:3.0 @@ -258,6 +259,8 @@ features[variable][] = default_field_group features[variable][] = default_nodes_main features[variable][] = disable_breadcrumbs_all features[variable][] = disable_breadcrumbs_node_paths +features[variable][] = field_bundle_settings_node__article +features[variable][] = field_bundle_settings_node__evento features[variable][] = language_content_type_evento features[variable][] = language_default features[variable][] = language_negotiation_language diff --git a/features/calendario_feature/calendario_feature.strongarm.inc b/features/calendario_feature/calendario_feature.strongarm.inc index 3fbf342..5a7614b 100644 --- a/features/calendario_feature/calendario_feature.strongarm.inc +++ b/features/calendario_feature/calendario_feature.strongarm.inc @@ -56,7 +56,7 @@ function calendario_feature_strongarm() { $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; $strongarm->name = 'captcha_description_pt-br'; - $strongarm->value = 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.'; + $strongarm->value = 'Esta questão é feita para testar se você é um/a visitante humanóide e prevenir o envio automatizado de spam.'; $export['captcha_description_pt-br'] = $strongarm; $strongarm = new stdClass(); @@ -77,7 +77,7 @@ function calendario_feature_strongarm() { $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; $strongarm->name = 'captcha_wrong_response_counter'; - $strongarm->value = 264; + $strongarm->value = 1933; $export['captcha_wrong_response_counter'] = $strongarm; $strongarm = new stdClass(); @@ -190,6 +190,75 @@ function calendario_feature_strongarm() { $strongarm = new stdClass(); $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; + $strongarm->name = 'field_bundle_settings_node__article'; + $strongarm->value = array( + 'view_modes' => array(), + 'extra_fields' => array( + 'form' => array( + 'title' => array( + 'weight' => '-5', + ), + 'path' => array( + 'weight' => '30', + ), + ), + 'display' => array(), + ), + ); + $export['field_bundle_settings_node__article'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'field_bundle_settings_node__evento'; + $strongarm->value = array( + 'view_modes' => array( + 'teaser' => array( + 'custom_settings' => TRUE, + ), + 'ical' => array( + 'custom_settings' => TRUE, + ), + 'full' => array( + 'custom_settings' => FALSE, + ), + 'rss' => array( + 'custom_settings' => FALSE, + ), + 'search_index' => array( + 'custom_settings' => FALSE, + ), + 'search_result' => array( + 'custom_settings' => FALSE, + ), + 'token' => array( + 'custom_settings' => FALSE, + ), + ), + 'extra_fields' => array( + 'form' => array( + 'title' => array( + 'weight' => '0', + ), + 'path' => array( + 'weight' => '8', + ), + ), + 'display' => array( + 'signup' => array( + 'default' => array( + 'weight' => '10', + 'visible' => TRUE, + ), + ), + ), + ), + ); + $export['field_bundle_settings_node__evento'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; $strongarm->name = 'language_content_type_evento'; $strongarm->value = '0'; $export['language_content_type_evento'] = $strongarm; @@ -209,7 +278,7 @@ function calendario_feature_strongarm() { 'domain' => '', 'prefix' => 'pt-br', 'weight' => '-10', - 'javascript' => 'EdVZZvt3cBXhwha3CmnkC4fwIjsADW4fDdBlnHGg3SA', + 'javascript' => 'QJSwA-5lH98YgTfqSTNuFdtW6GPwztSLzpvYYAjDoeY', ); $export['language_default'] = $strongarm; diff --git a/features/calendario_feature/calendario_feature.views_default.inc b/features/calendario_feature/calendario_feature.views_default.inc index 94d6707..20f9db4 100644 --- a/features/calendario_feature/calendario_feature.views_default.inc +++ b/features/calendario_feature/calendario_feature.views_default.inc @@ -10,7 +10,7 @@ function calendario_feature_views_default_views() { $export = array(); - $view = new view; + $view = new view(); $view->name = 'calendario'; $view->description = ''; $view->tag = 'Calendar'; @@ -22,6 +22,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -29,6 +30,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -46,7 +48,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -58,46 +59,17 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -106,50 +78,30 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; $handler->display->display_options['sorts']['field_date_value']['field'] = 'field_date_value'; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -158,12 +110,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -172,12 +121,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tema'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tema'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2'; $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_2']['field'] = 'tid'; @@ -187,12 +133,11 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op'; $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2'; - $handler->display->display_options['filters']['tid_2']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_2']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -216,7 +161,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -228,6 +173,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -251,7 +197,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -264,6 +210,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -291,7 +238,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -306,6 +253,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -329,7 +277,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -342,6 +290,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -364,7 +313,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -374,6 +323,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -384,15 +334,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -405,10 +356,115 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '50'; + $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['relationships'] = FALSE; + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; + $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( + 'localidade' => 'localidade', + 'tags' => 0, + 'tema' => 0, + 'tipo' => 0, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['title']['link_to_node'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['type'] = 'date_plain'; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'long', + 'fromto' => 'value', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date_1']['id'] = 'field_date_1'; + $handler->display->display_options['fields']['field_date_1']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date_1']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date_1']['label'] = ''; + $handler->display->display_options['fields']['field_date_1']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date_1']['settings'] = array( + 'format_type' => 'long', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => 'show', + ); + $handler->display->display_options['fields']['field_date_1']['delta_offset'] = '0'; + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Critério de filtragem: Conteúdo: Publicado */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = 1; + $handler->display->display_options['filters']['status']['group'] = 0; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Critério de filtragem: Conteúdo: Tipo */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'evento' => 'evento', + ); $handler->display->display_options['path'] = 'ical'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -422,9 +478,91 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 0, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['title']['link_to_node'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; + $handler->display->display_options['defaults']['sorts'] = FALSE; + /* Critério de ordenação: Conteúdo: Data de publicação */ + $handler->display->display_options['sorts']['created']['id'] = 'created'; + $handler->display->display_options['sorts']['created']['table'] = 'node'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Critério de filtragem: Conteúdo: Publicado */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = 1; + $handler->display->display_options['filters']['status']['group'] = 0; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Critério de filtragem: Conteúdo: Tipo */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'evento' => 'evento', + ); $handler->display->display_options['path'] = 'rss'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -445,7 +583,6 @@ function calendario_feature_views_default_views() { t('Desc'), t('cidade'), t('- [name]'), - t('calendario/cidade/[name]/mes'), t('Tipo'), t('Tema'), t('Cidade'), @@ -462,7 +599,7 @@ function calendario_feature_views_default_views() { ); $export['calendario'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_por_cidade'; $view->description = ''; $view->tag = 'Calendar'; @@ -474,6 +611,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -481,6 +619,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -498,7 +637,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -510,46 +648,17 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -558,10 +667,8 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -572,25 +679,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -599,12 +701,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -613,14 +712,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tema'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tema'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -645,25 +742,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -675,6 +767,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -699,25 +792,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -730,6 +818,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -754,25 +843,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -787,6 +871,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -811,25 +896,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -842,6 +922,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -865,23 +946,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -891,6 +967,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -901,15 +978,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -922,10 +1000,86 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['relationships'] = FALSE; + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; + $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( + 'localidade' => 'localidade', + 'tags' => 0, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Autor */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'ical/cidade'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -939,9 +1093,81 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['relationships'] = FALSE; + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; + $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( + 'localidade' => 'localidade', + 'tags' => 0, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Autor */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'rss/cidade'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -973,11 +1199,12 @@ function calendario_feature_views_default_views() { t('Upcoming'), t('Upcoming events block'), t('iCal'), + t('autor'), t('RSS'), ); $export['calendario_por_cidade'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_por_tag'; $view->description = ''; $view->tag = 'Calendar'; @@ -989,6 +1216,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -996,6 +1224,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -1013,7 +1242,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tag'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tags' => 'tags', 'localidade' => 0, @@ -1025,7 +1253,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -1037,46 +1264,17 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -1085,37 +1283,17 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -1126,25 +1304,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -1153,12 +1326,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -1167,14 +1337,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -1199,25 +1367,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -1229,6 +1392,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -1253,25 +1417,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -1284,6 +1443,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -1308,25 +1468,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -1341,6 +1496,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -1365,25 +1521,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -1396,6 +1547,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -1419,23 +1571,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -1445,6 +1592,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -1455,15 +1603,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -1476,10 +1625,72 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'ical/tag'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -1493,9 +1704,71 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'field_address'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'field_address', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['field_address']['id'] = 'field_address'; + $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address'; + $handler->display->display_options['fields']['field_address']['field'] = 'field_address'; + $handler->display->display_options['fields']['field_address']['label'] = ''; + $handler->display->display_options['fields']['field_address']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'rss/tag'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -1516,7 +1789,6 @@ function calendario_feature_views_default_views() { t('Desc'), t('tag'), t('cidade'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -1533,7 +1805,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_por_tag'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_por_tema'; $view->description = ''; $view->tag = 'Calendar'; @@ -1545,6 +1817,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -1552,6 +1825,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -1569,7 +1843,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tema'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tema' => 'tema', 'localidade' => 0, @@ -1581,7 +1854,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -1593,46 +1865,17 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -1641,37 +1884,17 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -1682,25 +1905,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -1709,12 +1927,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -1723,14 +1938,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -1755,25 +1968,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -1785,6 +1993,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -1809,25 +2018,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -1840,6 +2044,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -1864,25 +2069,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -1897,6 +2097,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -1921,25 +2122,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -1952,6 +2148,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -1975,23 +2172,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2001,6 +2193,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -2011,15 +2204,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -2032,10 +2226,72 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'ical/tema'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -2049,9 +2305,71 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'rss/tema'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -2072,7 +2390,6 @@ function calendario_feature_views_default_views() { t('Desc'), t('tema'), t('cidade'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -2089,7 +2406,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_por_tema'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_por_tipo'; $view->description = ''; $view->tag = 'Calendar'; @@ -2101,6 +2418,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -2108,6 +2426,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -2125,7 +2444,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tipo'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tipo' => 'tipo', 'localidade' => 0, @@ -2137,7 +2455,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -2149,46 +2466,17 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -2197,37 +2485,17 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -2238,25 +2506,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -2265,12 +2528,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -2279,14 +2539,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -2311,25 +2569,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2341,6 +2594,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -2365,25 +2619,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -2396,6 +2645,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -2420,25 +2670,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2453,6 +2698,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -2477,25 +2723,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -2508,6 +2749,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -2531,23 +2773,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2557,6 +2794,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -2567,15 +2805,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -2588,10 +2827,72 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'ical/tipo'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -2605,9 +2906,71 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'rss/tipo'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -2628,7 +2991,6 @@ function calendario_feature_views_default_views() { t('Desc'), t('tipo'), t('cidade'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -2645,7 +3007,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_por_tipo'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_widget'; $view->description = ''; $view->tag = 'Calendar'; @@ -2657,6 +3019,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -2664,6 +3027,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -2681,7 +3045,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -2693,48 +3056,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -2743,51 +3077,31 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; $handler->display->display_options['sorts']['field_date_value']['field'] = 'field_date_value'; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -2796,12 +3110,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -2810,12 +3121,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tema'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tema'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2'; $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_2']['field'] = 'tid'; @@ -2825,12 +3133,11 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op'; $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2'; - $handler->display->display_options['filters']['tid_2']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_2']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -2854,7 +3161,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2866,6 +3173,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -2889,7 +3197,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -2902,6 +3210,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -2929,7 +3238,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -2944,6 +3253,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -2967,7 +3277,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -2980,6 +3290,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -3002,7 +3313,7 @@ function calendario_feature_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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3012,6 +3323,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -3022,15 +3334,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -3043,10 +3356,78 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '10'; + $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_summary_or_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/ical'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -3060,9 +3441,75 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['text'] = '- [name]'; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/rss'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -3084,7 +3531,6 @@ function calendario_feature_views_default_views() { t('cidade'), t('_parent'), t('- [name]'), - t('calendario/cidade/[name]/mes'), t('Tipo'), t('Tema'), t('Cidade'), @@ -3101,7 +3547,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_widget'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_widget_por_cidade'; $view->description = ''; $view->tag = 'Calendar'; @@ -3113,6 +3559,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -3120,6 +3567,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -3137,7 +3585,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -3149,48 +3596,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -3199,10 +3617,8 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -3213,25 +3629,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -3240,12 +3651,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -3254,14 +3662,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tema'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tema'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -3286,25 +3692,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3316,6 +3717,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -3340,25 +3742,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -3371,6 +3768,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -3395,25 +3793,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3428,6 +3821,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -3452,25 +3846,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -3483,6 +3872,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -3506,23 +3896,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3532,6 +3917,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -3542,15 +3928,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -3563,10 +3950,88 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['relationships'] = FALSE; + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; + $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( + 'localidade' => 'localidade', + 'tags' => 0, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Autor */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/ical/cidade'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -3580,9 +4045,87 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['relationships'] = FALSE; + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; + $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( + 'localidade' => 'localidade', + 'tags' => 0, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Autor */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/rss/cidade'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -3615,11 +4158,12 @@ function calendario_feature_views_default_views() { t('Upcoming'), t('Upcoming events block'), t('iCal'), + t('autor'), t('RSS'), ); $export['calendario_widget_por_cidade'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_widget_por_tag'; $view->description = ''; $view->tag = 'Calendar'; @@ -3631,6 +4175,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -3638,6 +4183,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -3655,7 +4201,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tag'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tags' => 'tags', 'localidade' => 0, @@ -3667,7 +4212,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -3679,48 +4223,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -3729,38 +4244,18 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -3771,25 +4266,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -3798,12 +4288,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -3812,14 +4299,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -3844,25 +4329,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3874,6 +4354,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -3898,25 +4379,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -3929,6 +4405,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -3953,25 +4430,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -3986,6 +4458,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -4010,25 +4483,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário da tag "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -4041,6 +4509,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -4064,23 +4533,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -4090,6 +4554,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -4100,15 +4565,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -4121,10 +4587,75 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/ical/tag'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -4138,9 +4669,74 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/rss/tag'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -4162,7 +4758,6 @@ function calendario_feature_views_default_views() { t('tag'), t('cidade'), t('_parent'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -4179,7 +4774,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_widget_por_tag'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_widget_por_tema'; $view->description = ''; $view->tag = 'Calendar'; @@ -4191,6 +4786,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -4198,6 +4794,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -4215,7 +4812,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tema'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tema' => 'tema', 'localidade' => 0, @@ -4227,7 +4823,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -4239,48 +4834,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -4289,38 +4855,18 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -4331,25 +4877,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -4358,12 +4899,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -4372,14 +4910,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -4404,25 +4940,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -4434,6 +4965,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -4458,25 +4990,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -4489,6 +5016,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -4513,25 +5041,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -4546,6 +5069,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -4570,25 +5094,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Calendário do tema "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -4601,6 +5120,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -4624,23 +5144,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -4650,6 +5165,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -4660,15 +5176,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -4681,10 +5198,75 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/ical/tema'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -4698,9 +5280,74 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/rss/tema'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -4722,7 +5369,6 @@ function calendario_feature_views_default_views() { t('tema'), t('cidade'), t('_parent'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -4739,7 +5385,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_widget_por_tema'] = $view; - $view = new view; + $view = new view(); $view->name = 'calendario_widget_por_tipo'; $view->description = ''; $view->tag = 'Calendar'; @@ -4751,6 +5397,7 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['access']['type'] = 'perm'; @@ -4758,6 +5405,7 @@ function calendario_feature_views_default_views() { $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -4775,7 +5423,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'tipo'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'tipo' => 'tipo', 'localidade' => 0, @@ -4787,7 +5434,6 @@ function calendario_feature_views_default_views() { $handler->display->display_options['relationships']['term_node_tid_1']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid_1']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid_1']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid_1']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid_1']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -4799,48 +5445,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = ''; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'short', 'fromto' => 'both', @@ -4849,38 +5466,18 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => '', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 0; + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; /* Critério de ordenação: Conteúdo: Data - start date (field_date) */ $handler->display->display_options['sorts']['field_date_value']['id'] = 'field_date_value'; $handler->display->display_options['sorts']['field_date_value']['table'] = 'field_data_field_date'; @@ -4891,25 +5488,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid']['id'] = 'tid'; $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid']['field'] = 'tid'; @@ -4918,12 +5510,9 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid']['expose']['label'] = 'Tipo'; $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; - $handler->display->display_options['filters']['tid']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid']['type'] = 'select'; $handler->display->display_options['filters']['tid']['vocabulary'] = 'tipo'; - $handler->display->display_options['filters']['tid']['error_message'] = 1; - /* Filter criterion: Conteúdo: Tem termo de taxonomia */ + /* Critério de filtragem: Conteúdo: Tem termo de taxonomia */ $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; @@ -4932,14 +5521,12 @@ function calendario_feature_views_default_views() { $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Cidade'; $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; - $handler->display->display_options['filters']['tid_1']['expose']['reduce'] = 0; - $handler->display->display_options['filters']['tid_1']['reduce_duplicates'] = 0; $handler->display->display_options['filters']['tid_1']['type'] = 'select'; $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'localidade'; - $handler->display->display_options['filters']['tid_1']['error_message'] = 1; /* Display: Dia */ $handler = $view->new_display('page', 'Dia', 'page_3'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'day'; @@ -4964,25 +5551,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -4994,6 +5576,7 @@ function calendario_feature_views_default_views() { /* Display: Semana */ $handler = $view->new_display('page', 'Semana', 'page_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'week'; @@ -5018,25 +5601,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -5049,6 +5627,7 @@ function calendario_feature_views_default_views() { /* Display: Mês */ $handler = $view->new_display('page', 'Mês', 'page_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'month'; @@ -5073,25 +5652,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -5106,6 +5680,7 @@ function calendario_feature_views_default_views() { /* Display: Ano */ $handler = $view->new_display('page', 'Ano', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'year'; @@ -5130,25 +5705,20 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Eventos do tipo "%1"'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; @@ -5161,6 +5731,7 @@ function calendario_feature_views_default_views() { /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'date_views_pager'; $handler->display->display_options['pager']['options']['date_id'] = 'mini'; @@ -5184,23 +5755,18 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; $handler->display->display_options['arguments']['name']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; /* Filtro contextual: Data: Data (node) */ $handler->display->display_options['arguments']['date_argument']['id'] = 'date_argument'; $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']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['date_argument']['exception']['title'] = 'Tudo'; $handler->display->display_options['arguments']['date_argument']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( @@ -5210,6 +5776,7 @@ function calendario_feature_views_default_views() { /* Display: Upcoming */ $handler = $view->new_display('block', 'Upcoming', 'block_2'); $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -5220,15 +5787,16 @@ function calendario_feature_views_default_views() { $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Data: Data (node) */ + /* Critério de filtragem: Data: Data (node) */ $handler->display->display_options['filters']['date_filter']['id'] = 'date_filter'; $handler->display->display_options['filters']['date_filter']['table'] = 'node'; $handler->display->display_options['filters']['date_filter']['field'] = 'date_filter'; @@ -5241,10 +5809,75 @@ function calendario_feature_views_default_views() { /* Display: iCal */ $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'date_ical'; $handler->display->display_options['style_options']['description'] = 'Calendário dos Movimentos Sociais'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/ical/tipo'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -5258,9 +5891,74 @@ function calendario_feature_views_default_views() { /* Display: RSS */ $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; + $handler->display->display_options['row_plugin'] = 'rss_fields'; + $handler->display->display_options['row_options']['title_field'] = 'title'; + $handler->display->display_options['row_options']['link_field'] = 'path'; + $handler->display->display_options['row_options']['description_field'] = 'body'; + $handler->display->display_options['row_options']['creator_field'] = 'name'; + $handler->display->display_options['row_options']['date_field'] = 'field_date'; + $handler->display->display_options['row_options']['guid_field_options'] = array( + 'guid_field' => 'path', + 'guid_field_is_permalink' => 1, + ); + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['title']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Campo: Conteúdo: Data */ + $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; + $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; + $handler->display->display_options['fields']['field_date']['label'] = ''; + $handler->display->display_options['fields']['field_date']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['field_date']['settings'] = array( + 'format_type' => 'short', + 'fromto' => 'both', + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_to' => '', + 'show_repeat_rule' => '', + ); + $handler->display->display_options['fields']['field_date']['group_rows'] = FALSE; + $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; + /* Campo: Termo de taxonomia: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'term_node_tid_1'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; + $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; + $handler->display->display_options['fields']['name']['alter']['target'] = '_parent'; + $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; + /* Campo: Conteúdo: 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']['field'] = 'body'; + $handler->display->display_options['fields']['body']['label'] = ''; + $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['body']['type'] = 'text_trimmed'; + $handler->display->display_options['fields']['body']['settings'] = array( + 'trim_length' => '600', + ); + /* Campo: Conteúdo: Endereço */ + $handler->display->display_options['fields']['path']['id'] = 'path'; + $handler->display->display_options['fields']['path']['table'] = 'node'; + $handler->display->display_options['fields']['path']['field'] = 'path'; + $handler->display->display_options['fields']['path']['label'] = ''; + $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE; $handler->display->display_options['path'] = 'widgets/rss/tipo'; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', @@ -5282,7 +5980,6 @@ function calendario_feature_views_default_views() { t('tipo'), t('cidade'), t('_parent'), - t('calendario/cidade/[name]/mes'), t('Tudo'), t('Tipo'), t('Cidade'), @@ -5299,7 +5996,7 @@ function calendario_feature_views_default_views() { ); $export['calendario_widget_por_tipo'] = $view; - $view = new view; + $view = new view(); $view->name = 'cidades'; $view->description = ''; $view->tag = 'default'; @@ -5312,12 +6009,13 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['title'] = 'Cidades'; + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -5328,37 +6026,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['header']['area']['id'] = 'area'; $handler->display->display_options['header']['area']['table'] = 'views'; $handler->display->display_options['header']['area']['field'] = 'area'; - $handler->display->display_options['header']['area']['empty'] = FALSE; $handler->display->display_options['header']['area']['content'] = 'A lista de cidades é gerada automaticamente a partir do conteúdo publicado. Se a sua cidade não está listada, é porque nenhum evento foi associada a ela.'; $handler->display->display_options['header']['area']['format'] = 'filtered_html'; - $handler->display->display_options['header']['area']['tokenize'] = 0; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'calendario/cidade/[name]/mes'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; - /* Filter criterion: Vocabulário de taxonomia: Nome no sistema */ + /* Critério de filtragem: Vocabulário de taxonomia: Nome no sistema */ $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name'; $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary'; $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name'; @@ -5368,13 +6048,14 @@ function calendario_feature_views_default_views() { /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['path'] = 'cidades'; /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'grid'; - $handler->display->display_options['style_options']['fill_single_line'] = 1; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; @@ -5384,6 +6065,7 @@ function calendario_feature_views_default_views() { $handler = $view->new_display('block', 'Linha do Tempo', 'block_1'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Por cidade'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['defaults']['style_options'] = FALSE; @@ -5395,37 +6077,19 @@ function calendario_feature_views_default_views() { $handler->display->display_options['header']['area']['id'] = 'area'; $handler->display->display_options['header']['area']['table'] = 'views'; $handler->display->display_options['header']['area']['field'] = 'area'; - $handler->display->display_options['header']['area']['empty'] = FALSE; $handler->display->display_options['header']['area']['content'] = 'Escolha uma cidade para ver uma Linha do Tempo específica.'; $handler->display->display_options['header']['area']['format'] = 'filtered_html'; - $handler->display->display_options['header']['area']['tokenize'] = 0; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Termo de taxonomia: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['label'] = ''; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 1; + $handler->display->display_options['fields']['name']['alter']['make_link'] = TRUE; $handler->display->display_options['fields']['name']['alter']['path'] = 'timeline/[name]'; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['name']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['name']['element_label_colon'] = FALSE; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 1; - $handler->display->display_options['fields']['name']['link_to_taxonomy'] = 0; - $handler->display->display_options['fields']['name']['convert_spaces'] = 0; $translatables['cidades'] = array( t('Master'), t('Cidades'), @@ -5436,17 +6100,15 @@ function calendario_feature_views_default_views() { t('Crescente'), t('Desc'), t('A lista de cidades é gerada automaticamente a partir do conteúdo publicado. Se a sua cidade não está listada, é porque nenhum evento foi associada a ela.'), - t('calendario/cidade/[name]/mes'), t('Page'), t('Block'), t('Linha do Tempo'), t('Por cidade'), t('Escolha uma cidade para ver uma Linha do Tempo específica.'), - t('timeline/[name]'), ); $export['cidades'] = $view; - $view = new view; + $view = new view(); $view->name = 'timeline'; $view->description = ''; $view->tag = 'default'; @@ -5459,12 +6121,13 @@ function calendario_feature_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['title'] = 'Linha do Tempo'; + $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; @@ -5482,16 +6145,13 @@ function calendario_feature_views_default_views() { $handler->display->display_options['empty']['area']['table'] = 'views'; $handler->display->display_options['empty']['area']['field'] = 'area'; $handler->display->display_options['empty']['area']['label'] = 'Sem eventos...'; - $handler->display->display_options['empty']['area']['empty'] = FALSE; $handler->display->display_options['empty']['area']['content'] = 'Sem eventos nesta Linha do Tempo. Não é hora de agir? :)'; $handler->display->display_options['empty']['area']['format'] = 'filtered_html'; - $handler->display->display_options['empty']['area']['tokenize'] = 0; /* Relação: Conteúdo: Taxonomy terms on node */ $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['label'] = 'cidade'; - $handler->display->display_options['relationships']['term_node_tid']['required'] = 0; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'localidade' => 'localidade', 'tags' => 0, @@ -5503,40 +6163,13 @@ function calendario_feature_views_default_views() { $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; /* Campo: Conteúdo: Data */ $handler->display->display_options['fields']['field_date']['id'] = 'field_date'; $handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date'; $handler->display->display_options['fields']['field_date']['field'] = 'field_date'; $handler->display->display_options['fields']['field_date']['label'] = 'Dados'; - $handler->display->display_options['fields']['field_date']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_date']['alter']['more_link'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_date']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_date']['element_label_colon'] = 1; - $handler->display->display_options['fields']['field_date']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_date']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_date']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_date']['hide_alter_empty'] = 1; $handler->display->display_options['fields']['field_date']['settings'] = array( 'format_type' => 'long', 'fromto' => 'both', @@ -5545,11 +6178,7 @@ function calendario_feature_views_default_views() { 'multiple_to' => '', 'show_repeat_rule' => 'show', ); - $handler->display->display_options['fields']['field_date']['group_rows'] = 1; $handler->display->display_options['fields']['field_date']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_date']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_date']['delta_first_last'] = 0; - $handler->display->display_options['fields']['field_date']['field_api_classes'] = 0; /* Critério de ordenação: Conteúdo: Data de publicação */ $handler->display->display_options['sorts']['created']['id'] = 'created'; $handler->display->display_options['sorts']['created']['table'] = 'node'; @@ -5560,27 +6189,22 @@ function calendario_feature_views_default_views() { $handler->display->display_options['arguments']['name']['table'] = 'taxonomy_term_data'; $handler->display->display_options['arguments']['name']['field'] = 'name'; $handler->display->display_options['arguments']['name']['relationship'] = 'term_node_tid'; - $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $handler->display->display_options['arguments']['name']['exception']['title'] = 'Tudo'; + $handler->display->display_options['arguments']['name']['title_enable'] = TRUE; $handler->display->display_options['arguments']['name']['title'] = 'Linha do Tempo de %1'; $handler->display->display_options['arguments']['name']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['name']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['name']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['name']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['name']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['name']['glossary'] = 0; $handler->display->display_options['arguments']['name']['limit'] = '0'; - $handler->display->display_options['arguments']['name']['transform_dash'] = 0; - $handler->display->display_options['arguments']['name']['break_phrase'] = 0; - $handler->display->display_options['arguments']['name']['add_table'] = 0; - $handler->display->display_options['arguments']['name']['require_value'] = 0; - /* Filter criterion: Conteúdo: Publicado */ + /* Critério de filtragem: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; - /* Filter criterion: Conteúdo: Tipo */ + /* Critério de filtragem: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; $handler->display->display_options['filters']['type']['table'] = 'node'; $handler->display->display_options['filters']['type']['field'] = 'type'; @@ -5590,6 +6214,7 @@ function calendario_feature_views_default_views() { /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; $handler->display->display_options['path'] = 'timeline'; $translatables['timeline'] = array( t('Master'), |