diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-09-02 15:34:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-09-02 15:34:45 -0300 |
commit | 30d6d821f0d57ac09a5fcfe076ec1f24c8b8d4ae (patch) | |
tree | 0e26f86fb74892d78f9469a856a277c52432a756 | |
parent | fe6d921a62db8068c6e8f743bf361a3859eba137 (diff) | |
download | calendario-30d6d821f0d57ac09a5fcfe076ec1f24c8b8d4ae.tar.gz calendario-30d6d821f0d57ac09a5fcfe076ec1f24c8b8d4ae.tar.bz2 |
Adding feature
15 files changed, 9683 insertions, 0 deletions
diff --git a/calendario.info b/calendario.info index 944fabd..76f049d 100644 --- a/calendario.info +++ b/calendario.info @@ -2,3 +2,4 @@ name = Calendario description = Calendario de Movimentos Sociais core = 7.x files[] = calendario.module +dependencies = calendario_feature diff --git a/features/calendario_feature/calendario_feature.features.field.inc b/features/calendario_feature/calendario_feature.features.field.inc new file mode 100644 index 0000000..98c0e12 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.field.inc @@ -0,0 +1,1370 @@ +<?php +/** + * @file + * calendario_feature.features.field.inc + */ + +/** + * Implements hook_field_default_fields(). + */ +function calendario_feature_field_default_fields() { + $fields = array(); + + // Exported field: 'comment-comment_node_article-comment_body' + $fields['comment-comment_node_article-comment_body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'comment', + ), + 'field_name' => 'comment_body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'comment_node_article', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'comment', + 'field_name' => 'comment_body', + 'label' => 'Comment', + 'required' => TRUE, + 'settings' => array( + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 5, + ), + 'type' => 'text_textarea', + 'weight' => 0, + ), + ), + ); + + // Exported field: 'comment-comment_node_evento-comment_body' + $fields['comment-comment_node_evento-comment_body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'comment', + ), + 'field_name' => 'comment_body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'comment_node_evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'comment', + 'field_name' => 'comment_body', + 'label' => 'Comment', + 'required' => TRUE, + 'settings' => array( + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 5, + ), + 'type' => 'text_textarea', + 'weight' => 0, + ), + ), + ); + + // Exported field: 'comment-comment_node_page-comment_body' + $fields['comment-comment_node_page-comment_body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'comment', + ), + 'field_name' => 'comment_body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'comment_node_page', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'comment', + 'field_name' => 'comment_body', + 'label' => 'Comment', + 'required' => TRUE, + 'settings' => array( + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 5, + ), + 'type' => 'text_textarea', + 'weight' => 0, + ), + ), + ); + + // Exported field: 'node-article-body' + $fields['node-article-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'article', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => '-4', + ), + ), + ); + + // Exported field: 'node-article-field_image' + $fields['node-article-field_image'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_image', + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'uri_scheme' => 'public', + ), + 'translatable' => '0', + 'type' => 'image', + ), + 'field_instance' => array( + 'bundle' => 'article', + 'deleted' => '0', + 'description' => 'Envie uma imagem para ser anexada a este post.', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'large', + ), + 'type' => 'image', + 'weight' => -1, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => 'content', + 'image_style' => 'medium', + ), + 'type' => 'image', + 'weight' => -1, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_image', + 'label' => 'Image', + 'required' => FALSE, + 'settings' => array( + 'alt_field' => TRUE, + 'default_image' => 0, + 'file_directory' => 'field/image', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'thumbnail', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => '-1', + ), + ), + ); + + // Exported field: 'node-article-field_tags' + $fields['node-article-field_tags'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_tags', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tags', + 'parent' => 0, + ), + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'article', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => 'Ente com uma lista de palavras separadas por virgula para descrever seu conteúdo.', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => 10, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => 10, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags', + 'label' => 'Tags', + 'required' => FALSE, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'taxonomy', + 'settings' => array( + 'autocomplete_path' => 'taxonomy/autocomplete', + 'size' => 60, + ), + 'type' => 'taxonomy_autocomplete', + 'weight' => '-4', + ), + ), + ); + + // Exported field: 'node-evento-body' + $fields['node-evento-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '9', + ), + 'ical' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_trimmed', + 'weight' => '0', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Corpo', + 'required' => 0, + 'settings' => array( + 'display_summary' => 1, + 'text_processing' => '1', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '20', + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'node-evento-field_address' + $fields['node-evento-field_address'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_address', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array( + 'max_length' => '500', + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '7', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_address', + 'label' => 'Endereço', + 'required' => 0, + 'settings' => array( + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'node-evento-field_contact' + $fields['node-evento-field_contact'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_contact', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array( + 'max_length' => '500', + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '8', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_contact', + 'label' => 'Informações de contato', + 'required' => 0, + 'settings' => array( + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '5', + ), + ), + ); + + // Exported field: 'node-evento-field_date' + $fields['node-evento-field_date'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_date', + 'foreign keys' => array(), + 'indexes' => array(), + 'module' => 'date', + 'settings' => array( + 'cache_count' => '4', + 'cache_enabled' => 0, + 'granularity' => array( + 'day' => 'day', + 'hour' => 'hour', + 'minute' => 'minute', + 'month' => 'month', + 'second' => 0, + 'year' => 'year', + ), + 'repeat' => '1', + 'timezone_db' => 'UTC', + 'todate' => 'optional', + 'tz_handling' => 'site', + ), + 'translatable' => '0', + 'type' => 'datetime', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'date', + 'settings' => array( + 'format_type' => 'medium', + 'fromto' => 'both', + 'multiple_from' => '', + 'multiple_number' => '', + 'multiple_to' => '', + 'show_repeat_rule' => 'show', + ), + 'type' => 'date_default', + 'weight' => '1', + ), + 'ical' => array( + 'label' => 'above', + 'module' => 'date', + 'settings' => array( + 'format_type' => 'long', + 'fromto' => 'both', + 'multiple_from' => '', + 'multiple_number' => '', + 'multiple_to' => '', + 'show_repeat_rule' => 'show', + ), + 'type' => 'date_default', + 'weight' => '0', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_date', + 'label' => 'Data', + 'required' => 0, + 'settings' => array( + 'default_value' => 'now', + 'default_value2' => 'same', + 'default_value_code' => '', + 'default_value_code2' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'date', + 'settings' => array( + 'display_all_day' => 1, + 'increment' => '15', + 'input_format' => 'd/m/Y - H:i:s', + 'input_format_custom' => '', + 'label_position' => 'above', + 'repeat_collapsed' => 1, + 'text_parts' => array(), + 'year_range' => '-3:+3', + ), + 'type' => 'date_popup', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'node-evento-field_image' + $fields['node-evento-field_image'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_image', + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'uri_scheme' => 'public', + ), + 'translatable' => '0', + 'type' => 'image', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => 'file', + 'image_style' => 'large', + ), + 'type' => 'image', + 'weight' => '0', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '0', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_image', + 'label' => 'Imagem', + 'required' => 0, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'file_directory' => '', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'thumbnail', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'node-evento-field_link' + $fields['node-evento-field_link'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_link', + 'foreign keys' => array(), + 'indexes' => array(), + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + ), + 'translatable' => '0', + 'type' => 'link_field', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '3', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_link', + 'label' => 'Link', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => 'default', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => '80', + ), + 'enable_tokens' => 1, + 'title' => 'optional', + 'title_maxlength' => '128', + 'title_value' => '', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'node-evento-field_place' + $fields['node-evento-field_place'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_place', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'localidade', + 'parent' => '0', + ), + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => '6', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_place', + 'label' => 'Cidades', + 'required' => 1, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'autocomplete_path' => 'taxonomy/autocomplete', + 'size' => 60, + ), + 'type' => 'taxonomy_autocomplete', + 'weight' => '8', + ), + ), + ); + + // Exported field: 'node-evento-field_tags' + $fields['node-evento-field_tags'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_tags', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tags', + 'parent' => 0, + ), + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => '2', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags', + 'label' => 'Tags (separadas por vírgula e sem #)', + 'required' => 0, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'autocomplete_path' => 'taxonomy/autocomplete', + 'size' => 60, + ), + 'type' => 'taxonomy_autocomplete', + 'weight' => '9', + ), + ), + ); + + // Exported field: 'node-evento-field_theme' + $fields['node-evento-field_theme'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_theme', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tema', + 'parent' => '0', + ), + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => '4', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_theme', + 'label' => 'Tema', + 'required' => 0, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_buttons', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'node-evento-field_type' + $fields['node-evento-field_type'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_type', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tipo', + 'parent' => '0', + ), + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'evento', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_link', + 'weight' => '5', + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_type', + 'label' => 'Tipo', + 'required' => 0, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_buttons', + 'weight' => '6', + ), + ), + ); + + // Exported field: 'node-page-body' + $fields['node-page-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'module' => 'text', + 'settings' => array(), + 'translatable' => '0', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'page', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'ical' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => -4, + ), + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('Body'); + t('Cidades'); + t('Comment'); + t('Corpo'); + t('Data'); + t('Endereço'); + t('Ente com uma lista de palavras separadas por virgula para descrever seu conteúdo.'); + t('Envie uma imagem para ser anexada a este post.'); + t('Image'); + t('Imagem'); + t('Informações de contato'); + t('Link'); + t('Tags'); + t('Tags (separadas por vírgula e sem #)'); + t('Tema'); + t('Tipo'); + + return $fields; +} diff --git a/features/calendario_feature/calendario_feature.features.filter.inc b/features/calendario_feature/calendario_feature.features.filter.inc new file mode 100644 index 0000000..b613d06 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.filter.inc @@ -0,0 +1,107 @@ +<?php +/** + * @file + * calendario_feature.features.filter.inc + */ + +/** + * Implements hook_filter_default_formats(). + */ +function calendario_feature_filter_default_formats() { + $formats = array(); + + // Exported format: Filtered HTML + $formats['filtered_html'] = array( + 'format' => 'filtered_html', + 'name' => 'Filtered HTML', + 'cache' => '1', + 'status' => '1', + 'weight' => '0', + 'filters' => array( + 'filter_url' => array( + 'weight' => '0', + 'status' => '1', + 'settings' => array( + 'filter_url_length' => 72, + ), + ), + 'filter_html' => array( + 'weight' => '1', + 'status' => '1', + 'settings' => array( + 'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>', + 'filter_html_help' => 1, + 'filter_html_nofollow' => 0, + ), + ), + 'filter_autop' => array( + 'weight' => '2', + 'status' => '1', + 'settings' => array(), + ), + 'filter_htmlcorrector' => array( + 'weight' => '10', + 'status' => '1', + 'settings' => array(), + ), + ), + ); + + // Exported format: Full HTML + $formats['full_html'] = array( + 'format' => 'full_html', + 'name' => 'Full HTML', + 'cache' => '1', + 'status' => '1', + 'weight' => '1', + 'filters' => array( + 'filter_url' => array( + 'weight' => '0', + 'status' => '1', + 'settings' => array( + 'filter_url_length' => 72, + ), + ), + 'filter_autop' => array( + 'weight' => '1', + 'status' => '1', + 'settings' => array(), + ), + 'filter_htmlcorrector' => array( + 'weight' => '10', + 'status' => '1', + 'settings' => array(), + ), + ), + ); + + // Exported format: Plain text + $formats['plain_text'] = array( + 'format' => 'plain_text', + 'name' => 'Plain text', + 'cache' => '1', + 'status' => '1', + 'weight' => '10', + 'filters' => array( + 'filter_html_escape' => array( + 'weight' => '0', + 'status' => '1', + 'settings' => array(), + ), + 'filter_url' => array( + 'weight' => '1', + 'status' => '1', + 'settings' => array( + 'filter_url_length' => 72, + ), + ), + 'filter_autop' => array( + 'weight' => '2', + 'status' => '1', + 'settings' => array(), + ), + ), + ); + + return $formats; +} diff --git a/features/calendario_feature/calendario_feature.features.inc b/features/calendario_feature/calendario_feature.features.inc new file mode 100644 index 0000000..9ccc51a --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.inc @@ -0,0 +1,59 @@ +<?php +/** + * @file + * calendario_feature.features.inc + */ + +/** + * Implements hook_ctools_plugin_api(). + */ +function calendario_feature_ctools_plugin_api() { + list($module, $api) = func_get_args(); + if ($module == "field_group" && $api == "field_group") { + return array("version" => "1"); + } + list($module, $api) = func_get_args(); + if ($module == "strongarm" && $api == "strongarm") { + return array("version" => "1"); + } +} + +/** + * Implements hook_views_api(). + */ +function calendario_feature_views_api() { + return array("version" => "3.0"); +} + +/** + * Implements hook_node_info(). + */ +function calendario_feature_node_info() { + $items = array( + 'article' => array( + 'name' => t('Artigo'), + 'base' => 'node_content', + 'description' => t('Use <em>artigos</em> para conteúdo temporal como notícias, comunicados de imprensa e posts de blog.'), + 'has_title' => '1', + 'title_label' => t('Title'), + 'help' => '', + ), + 'evento' => array( + 'name' => t('Evento'), + 'base' => 'node_content', + 'description' => t('Um evento a ser adicionado no calendário.'), + 'has_title' => '1', + 'title_label' => t('Título'), + 'help' => '', + ), + 'page' => array( + 'name' => t('Página básica'), + 'base' => 'node_content', + 'description' => t('Use <em>páginas básicas</em> para seu conteúdo estático, como uma página \'Sobre nós\'.'), + 'has_title' => '1', + 'title_label' => t('Title'), + 'help' => '', + ), + ); + return $items; +} diff --git a/features/calendario_feature/calendario_feature.features.language.inc b/features/calendario_feature/calendario_feature.features.language.inc new file mode 100644 index 0000000..7d7e9b3 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.language.inc @@ -0,0 +1,53 @@ +<?php +/** + * @file + * calendario_feature.features.language.inc + */ + +/** + * Implements hook_locale_default_languages(). + */ +function calendario_feature_locale_default_languages() { + $languages = array(); + + // Exported language: en + $languages['en'] = array( + 'language' => 'en', + 'name' => 'English', + 'native' => 'English', + 'direction' => '0', + 'enabled' => '1', + 'plurals' => '0', + 'formula' => '', + 'domain' => '', + 'prefix' => 'en', + 'weight' => '-8', + ); + // Exported language: es + $languages['es'] = array( + 'language' => 'es', + 'name' => 'Spanish', + 'native' => 'Español', + 'direction' => '0', + 'enabled' => '1', + 'plurals' => '2', + 'formula' => '($n!=1)', + 'domain' => '', + 'prefix' => 'es', + 'weight' => '-9', + ); + // Exported language: pt-br + $languages['pt-br'] = array( + 'language' => 'pt-br', + 'name' => 'Portuguese, Brazil', + 'native' => 'Português', + 'direction' => '0', + 'enabled' => '1', + 'plurals' => '2', + 'formula' => '($n!=1)', + 'domain' => '', + 'prefix' => 'pt-br', + 'weight' => '-10', + ); + return $languages; +} diff --git a/features/calendario_feature/calendario_feature.features.menu_custom.inc b/features/calendario_feature/calendario_feature.features.menu_custom.inc new file mode 100644 index 0000000..52420b6 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.menu_custom.inc @@ -0,0 +1,50 @@ +<?php +/** + * @file + * calendario_feature.features.menu_custom.inc + */ + +/** + * Implements hook_menu_default_menu_custom(). + */ +function calendario_feature_menu_default_menu_custom() { + $menus = array(); + + // 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 + $menus['management'] = array( + 'menu_name' => 'management', + 'title' => 'Management', + 'description' => 'O menu <em>Gerenciamento</em> contém links para as tarefas administrativas.', + ); + // 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 + $menus['user-menu'] = array( + 'menu_name' => 'user-menu', + 'title' => 'User menu', + 'description' => 'O menu <em>Usuário<em> contém links relacionados à conta do usuário, e também o link para fechar a sessão.', + ); + // Translatables + // Included for use with string extractors like potx. + t('Management'); + t('Menu principal'); + t('Navegação'); + t('O menu <em>Gerenciamento</em> contém links para as tarefas administrativas.'); + t('O menu <em>Usuário<em> contém links relacionados à conta do usuário, e também o link para fechar a sessão.'); + t('The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.'); + t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.'); + t('User menu'); + + + return $menus; +} diff --git a/features/calendario_feature/calendario_feature.features.menu_links.inc b/features/calendario_feature/calendario_feature.features.menu_links.inc new file mode 100644 index 0000000..7e78a13 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.menu_links.inc @@ -0,0 +1,356 @@ +<?php +/** + * @file + * calendario_feature.features.menu_links.inc + */ + +/** + * Implements hook_menu_default_menu_links(). + */ +function calendario_feature_menu_default_menu_links() { + $menu_links = array(); + + // Exported menu link: main-menu:<front> + $menu_links['main-menu:<front>'] = array( + 'menu_name' => 'main-menu', + 'link_path' => '<front>', + 'router_path' => '', + 'link_title' => 'Início', + 'options' => array(), + 'module' => 'menu', + 'hidden' => '1', + 'external' => '1', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-50', + ); + // Exported menu link: main-menu:cidades + $menu_links['main-menu:cidades'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'cidades', + 'router_path' => 'cidades', + 'link_title' => 'Cidades', + 'options' => array( + 'attributes' => array( + 'title' => 'Lista de cidades.', + ), + ), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-49', + ); + // Exported menu link: main-menu:contact + $menu_links['main-menu:contact'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'contact', + 'router_path' => 'contact', + 'link_title' => 'Contact', + 'options' => array( + 'attributes' => array( + 'title' => '', + ), + ), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-42', + ); + // Exported menu link: main-menu:ical + $menu_links['main-menu:ical'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'ical', + 'router_path' => 'ical', + 'link_title' => 'iCal', + 'options' => array( + 'attributes' => array( + 'title' => 'Eventos no formato iCal.', + ), + ), + 'module' => 'menu', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-40', + ); + // Exported menu link: main-menu:node/2 + $menu_links['main-menu:node/2'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'node/2', + 'router_path' => 'node/%', + 'link_title' => 'Termos', + 'options' => array( + 'attributes' => array(), + ), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-44', + ); + // Exported menu link: main-menu:node/4 + $menu_links['main-menu:node/4'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'node/4', + 'router_path' => 'node/%', + 'link_title' => 'Sobre', + 'options' => array(), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-43', + ); + // Exported menu link: main-menu:node/add/evento + $menu_links['main-menu:node/add/evento'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'node/add/evento', + 'router_path' => 'node/add/evento', + 'link_title' => 'Adicionar Evento', + 'options' => array( + 'attributes' => array( + 'title' => 'Um evento a ser adicionado no calendário.', + ), + ), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-47', + ); + // Exported menu link: main-menu:rss + $menu_links['main-menu:rss'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'rss', + 'router_path' => 'rss', + 'link_title' => 'RSS', + 'options' => array( + 'attributes' => array( + 'title' => 'Eventos no formato RSS.', + ), + ), + 'module' => 'menu', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-41', + ); + // Exported menu link: main-menu:search/node + $menu_links['main-menu:search/node'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'search/node', + 'router_path' => 'search/node', + 'link_title' => 'Buscar', + 'options' => array( + 'attributes' => array( + 'title' => '', + ), + ), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + ); + // Exported menu link: main-menu:timeline + $menu_links['main-menu:timeline'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'timeline', + 'router_path' => 'timeline', + 'link_title' => 'Linha do Tempo', + 'options' => array( + 'attributes' => array( + 'title' => '', + ), + ), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-48', + ); + // Exported menu link: main-menu:user + $menu_links['main-menu:user'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'user', + 'router_path' => 'user', + 'link_title' => 'User account', + 'options' => array( + 'alter' => TRUE, + 'attributes' => array( + 'title' => '', + ), + ), + 'module' => 'system', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-46', + ); + // Exported menu link: main-menu:user/login + $menu_links['main-menu:user/login'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'user/login', + 'router_path' => 'user/login', + 'link_title' => 'Minha conta', + 'options' => array( + 'attributes' => array( + 'title' => 'Login do usuário.', + ), + ), + 'module' => 'menu', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-45', + ); + // Exported menu link: main-menu:user/logout + $menu_links['main-menu:user/logout'] = array( + 'menu_name' => 'main-menu', + 'link_path' => 'user/logout', + 'router_path' => 'user/logout', + 'link_title' => 'Log out', + 'options' => array( + 'attributes' => array( + 'title' => '', + ), + ), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '-39', + ); + // Exported menu link: navigation:filter/tips + $menu_links['navigation:filter/tips'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'filter/tips', + 'router_path' => 'filter/tips', + 'link_title' => 'Compose tips', + 'options' => array(), + 'module' => 'system', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + ); + // Exported menu link: navigation:node/add + $menu_links['navigation:node/add'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'node/add', + 'router_path' => 'node/add', + 'link_title' => 'Add content', + 'options' => array(), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '1', + 'expanded' => '0', + 'weight' => '0', + ); + // Exported menu link: navigation:node/add/article + $menu_links['navigation:node/add/article'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'node/add/article', + 'router_path' => 'node/add/article', + 'link_title' => 'Artigo', + 'options' => array( + 'attributes' => array( + 'title' => 'Use <em>artigos</em> para conteúdo temporal como notícias, comunicados de imprensa e posts de blog.', + ), + ), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + 'parent_path' => 'node/add', + ); + // Exported menu link: navigation:node/add/page + $menu_links['navigation:node/add/page'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'node/add/page', + 'router_path' => 'node/add/page', + 'link_title' => 'Página básica', + 'options' => array( + 'attributes' => array( + 'title' => 'Use <em>páginas básicas</em> para seu conteúdo estático, como uma página \'Sobre nós\'.', + ), + ), + 'module' => 'system', + 'hidden' => '0', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + 'parent_path' => 'node/add', + ); + // Exported menu link: navigation:search + $menu_links['navigation:search'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'search', + 'router_path' => 'search', + 'link_title' => 'Search', + 'options' => array(), + 'module' => 'system', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + ); + // Exported menu link: navigation:tagclouds + $menu_links['navigation:tagclouds'] = array( + 'menu_name' => 'navigation', + 'link_path' => 'tagclouds', + 'router_path' => 'tagclouds', + 'link_title' => 'Tags', + 'options' => array(), + 'module' => 'system', + 'hidden' => '1', + 'external' => '0', + 'has_children' => '0', + 'expanded' => '0', + 'weight' => '0', + ); + // Translatables + // Included for use with string extractors like potx. + t('Add content'); + t('Adicionar Evento'); + t('Artigo'); + t('Buscar'); + t('Cidades'); + t('Compose tips'); + t('Contact'); + t('Início'); + t('Linha do Tempo'); + t('Log out'); + t('Minha conta'); + t('Página básica'); + t('RSS'); + t('Search'); + t('Sobre'); + t('Tags'); + t('Termos'); + t('User account'); + t('iCal'); + + + return $menu_links; +} diff --git a/features/calendario_feature/calendario_feature.features.taxonomy.inc b/features/calendario_feature/calendario_feature.features.taxonomy.inc new file mode 100644 index 0000000..ba3df0c --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.taxonomy.inc @@ -0,0 +1,105 @@ +<?php +/** + * @file + * calendario_feature.features.taxonomy.inc + */ + +/** + * Implements hook_taxonomy_default_vocabularies(). + */ +function calendario_feature_taxonomy_default_vocabularies() { + return array( + 'localidade' => array( + 'name' => 'Cidade', + 'machine_name' => 'localidade', + 'description' => 'Cidade onde ocorre o evento', + 'hierarchy' => '0', + 'module' => 'taxonomy', + 'weight' => '0', + 'rdf_mapping' => array( + 'rdftype' => array( + 0 => 'skos:ConceptScheme', + ), + 'name' => array( + 'predicates' => array( + 0 => 'dc:title', + ), + ), + 'description' => array( + 'predicates' => array( + 0 => 'rdfs:comment', + ), + ), + ), + ), + 'tags' => array( + 'name' => 'Tags', + 'machine_name' => 'tags', + 'description' => 'Use etiquetas para agrupar artigos sobre temas semelhantes em categorias.', + 'hierarchy' => '0', + 'module' => 'taxonomy', + 'weight' => '0', + 'rdf_mapping' => array( + 'rdftype' => array( + 0 => 'skos:ConceptScheme', + ), + 'name' => array( + 'predicates' => array( + 0 => 'dc:title', + ), + ), + 'description' => array( + 'predicates' => array( + 0 => 'rdfs:comment', + ), + ), + ), + ), + 'tema' => array( + 'name' => 'Tema', + 'machine_name' => 'tema', + 'description' => 'Tema do evento', + 'hierarchy' => '0', + 'module' => 'taxonomy', + 'weight' => '0', + 'rdf_mapping' => array( + 'rdftype' => array( + 0 => 'skos:ConceptScheme', + ), + 'name' => array( + 'predicates' => array( + 0 => 'dc:title', + ), + ), + 'description' => array( + 'predicates' => array( + 0 => 'rdfs:comment', + ), + ), + ), + ), + 'tipo' => array( + 'name' => 'Tipo', + 'machine_name' => 'tipo', + 'description' => 'Tipo de evento', + 'hierarchy' => '1', + 'module' => 'taxonomy', + 'weight' => '0', + 'rdf_mapping' => array( + 'rdftype' => array( + 0 => 'skos:ConceptScheme', + ), + 'name' => array( + 'predicates' => array( + 0 => 'dc:title', + ), + ), + 'description' => array( + 'predicates' => array( + 0 => 'rdfs:comment', + ), + ), + ), + ), + ); +} diff --git a/features/calendario_feature/calendario_feature.features.user_permission.inc b/features/calendario_feature/calendario_feature.features.user_permission.inc new file mode 100644 index 0000000..e0854f7 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.user_permission.inc @@ -0,0 +1,1051 @@ +<?php +/** + * @file + * calendario_feature.features.user_permission.inc + */ + +/** + * Implements hook_user_default_permissions(). + */ +function calendario_feature_user_default_permissions() { + $permissions = array(); + + // Exported permission: access administration pages. + $permissions['access administration pages'] = array( + 'name' => 'access administration pages', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: access all views. + $permissions['access all views'] = array( + 'name' => 'access all views', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'views', + ); + + // Exported permission: access comments. + $permissions['access comments'] = array( + 'name' => 'access comments', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'comment', + ); + + // Exported permission: access content. + $permissions['access content'] = array( + 'name' => 'access content', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'node', + ); + + // Exported permission: access content overview. + $permissions['access content overview'] = array( + 'name' => 'access content overview', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: access contextual links. + $permissions['access contextual links'] = array( + 'name' => 'access contextual links', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'contextual', + ); + + // Exported permission: access dashboard. + $permissions['access dashboard'] = array( + 'name' => 'access dashboard', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'dashboard', + ); + + // Exported permission: access devel information. + $permissions['access devel information'] = array( + 'name' => 'access devel information', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'devel', + ); + + // Exported permission: access overlay. + $permissions['access overlay'] = array( + 'name' => 'access overlay', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'overlay', + ); + + // Exported permission: access print. + $permissions['access print'] = array( + 'name' => 'access print', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'print', + ); + + // Exported permission: access site in maintenance mode. + $permissions['access site in maintenance mode'] = array( + 'name' => 'access site in maintenance mode', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: access site reports. + $permissions['access site reports'] = array( + 'name' => 'access site reports', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: access site-wide contact form. + $permissions['access site-wide contact form'] = array( + 'name' => 'access site-wide contact form', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'contact', + ); + + // Exported permission: access toolbar. + $permissions['access toolbar'] = array( + 'name' => 'access toolbar', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'toolbar', + ); + + // Exported permission: access user contact forms. + $permissions['access user contact forms'] = array( + 'name' => 'access user contact forms', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'contact', + ); + + // Exported permission: access user profiles. + $permissions['access user profiles'] = array( + 'name' => 'access user profiles', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: administer CAPTCHA settings. + $permissions['administer CAPTCHA settings'] = array( + 'name' => 'administer CAPTCHA settings', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'captcha', + ); + + // Exported permission: administer actions. + $permissions['administer actions'] = array( + 'name' => 'administer actions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: administer all signups. + $permissions['administer all signups'] = array( + 'name' => 'administer all signups', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: administer blocks. + $permissions['administer blocks'] = array( + 'name' => 'administer blocks', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'block', + ); + + // Exported permission: administer comments. + $permissions['administer comments'] = array( + 'name' => 'administer comments', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'comment', + ); + + // Exported permission: administer contact forms. + $permissions['administer contact forms'] = array( + 'name' => 'administer contact forms', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'contact', + ); + + // Exported permission: administer content types. + $permissions['administer content types'] = array( + 'name' => 'administer content types', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: administer date tools. + $permissions['administer date tools'] = array( + 'name' => 'administer date tools', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'date_tools', + ); + + // Exported permission: administer features. + $permissions['administer features'] = array( + 'name' => 'administer features', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'features', + ); + + // Exported permission: administer fieldgroups. + $permissions['administer fieldgroups'] = array( + 'name' => 'administer fieldgroups', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'field_group', + ); + + // Exported permission: administer filters. + $permissions['administer filters'] = array( + 'name' => 'administer filters', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'filter', + ); + + // Exported permission: administer image styles. + $permissions['administer image styles'] = array( + 'name' => 'administer image styles', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'image', + ); + + // Exported permission: administer languages. + $permissions['administer languages'] = array( + 'name' => 'administer languages', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'locale', + ); + + // Exported permission: administer mail templates. + $permissions['administer mail templates'] = array( + 'name' => 'administer mail templates', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'mail_edit', + ); + + // Exported permission: administer menu. + $permissions['administer menu'] = array( + 'name' => 'administer menu', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'menu', + ); + + // Exported permission: administer modules. + $permissions['administer modules'] = array( + 'name' => 'administer modules', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: administer nodes. + $permissions['administer nodes'] = array( + 'name' => 'administer nodes', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: administer page theme. + $permissions['administer page theme'] = array( + 'name' => 'administer page theme', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'page_theme', + ); + + // Exported permission: administer pathauto. + $permissions['administer pathauto'] = array( + 'name' => 'administer pathauto', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'pathauto', + ); + + // Exported permission: administer permissions. + $permissions['administer permissions'] = array( + 'name' => 'administer permissions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: administer print. + $permissions['administer print'] = array( + 'name' => 'administer print', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'print', + ); + + // Exported permission: administer search. + $permissions['administer search'] = array( + 'name' => 'administer search', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'search', + ); + + // Exported permission: administer shortcuts. + $permissions['administer shortcuts'] = array( + 'name' => 'administer shortcuts', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'shortcut', + ); + + // Exported permission: administer signups for own content. + $permissions['administer signups for own content'] = array( + 'name' => 'administer signups for own content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: administer site configuration. + $permissions['administer site configuration'] = array( + 'name' => 'administer site configuration', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: administer software updates. + $permissions['administer software updates'] = array( + 'name' => 'administer software updates', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: administer taxonomy. + $permissions['administer taxonomy'] = array( + 'name' => 'administer taxonomy', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'taxonomy', + ); + + // Exported permission: administer themes. + $permissions['administer themes'] = array( + 'name' => 'administer themes', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: administer url aliases. + $permissions['administer url aliases'] = array( + 'name' => 'administer url aliases', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'path', + ); + + // Exported permission: administer user subscriptions. + $permissions['administer user subscriptions'] = array( + 'name' => 'administer user subscriptions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: administer users. + $permissions['administer users'] = array( + 'name' => 'administer users', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: administer views. + $permissions['administer views'] = array( + 'name' => 'administer views', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'views', + ); + + // Exported permission: block IP addresses. + $permissions['block IP addresses'] = array( + 'name' => 'block IP addresses', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + // Exported permission: bulk-administer user subscriptions. + $permissions['bulk-administer user subscriptions'] = array( + 'name' => 'bulk-administer user subscriptions', + 'roles' => array(), + 'module' => 'subscriptions', + ); + + // Exported permission: bypass node access. + $permissions['bypass node access'] = array( + 'name' => 'bypass node access', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: cancel account. + $permissions['cancel account'] = array( + 'name' => 'cancel account', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: cancel own signups. + $permissions['cancel own signups'] = array( + 'name' => 'cancel own signups', + 'roles' => array( + 0 => 'administrator', + 1 => 'authenticated user', + ), + 'module' => 'signup', + ); + + // Exported permission: cancel signups. + $permissions['cancel signups'] = array( + 'name' => 'cancel signups', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: change own username. + $permissions['change own username'] = array( + 'name' => 'change own username', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: create article content. + $permissions['create article content'] = array( + 'name' => 'create article content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: create evento content. + $permissions['create evento content'] = array( + 'name' => 'create evento content', + 'roles' => array( + 0 => 'anonymous user', + 1 => 'authenticated user', + ), + 'module' => 'node', + ); + + // Exported permission: create page content. + $permissions['create page content'] = array( + 'name' => 'create page content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: create url aliases. + $permissions['create url aliases'] = array( + 'name' => 'create url aliases', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'path', + ); + + // Exported permission: customize shortcut links. + $permissions['customize shortcut links'] = array( + 'name' => 'customize shortcut links', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'shortcut', + ); + + // Exported permission: delete any article content. + $permissions['delete any article content'] = array( + 'name' => 'delete any article content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: delete any evento content. + $permissions['delete any evento content'] = array( + 'name' => 'delete any evento content', + 'roles' => array(), + 'module' => 'node', + ); + + // Exported permission: delete any page content. + $permissions['delete any page content'] = array( + 'name' => 'delete any page content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: delete own article content. + $permissions['delete own article content'] = array( + 'name' => 'delete own article content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: delete own evento content. + $permissions['delete own evento content'] = array( + 'name' => 'delete own evento content', + 'roles' => array( + 0 => 'authenticated user', + ), + 'module' => 'node', + ); + + // Exported permission: delete own page content. + $permissions['delete own page content'] = array( + 'name' => 'delete own page content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: delete revisions. + $permissions['delete revisions'] = array( + 'name' => 'delete revisions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: delete terms in 1. + $permissions['delete terms in 1'] = array( + 'name' => 'delete terms in 1', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'taxonomy', + ); + + // Exported permission: delete terms in 2. + $permissions['delete terms in 2'] = array( + 'name' => 'delete terms in 2', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: delete terms in 3. + $permissions['delete terms in 3'] = array( + 'name' => 'delete terms in 3', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: delete terms in 4. + $permissions['delete terms in 4'] = array( + 'name' => 'delete terms in 4', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: edit any article content. + $permissions['edit any article content'] = array( + 'name' => 'edit any article content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: edit any evento content. + $permissions['edit any evento content'] = array( + 'name' => 'edit any evento content', + 'roles' => array(), + 'module' => 'node', + ); + + // Exported permission: edit any page content. + $permissions['edit any page content'] = array( + 'name' => 'edit any page content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: edit own article content. + $permissions['edit own article content'] = array( + 'name' => 'edit own article content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: edit own comments. + $permissions['edit own comments'] = array( + 'name' => 'edit own comments', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'comment', + ); + + // Exported permission: edit own evento content. + $permissions['edit own evento content'] = array( + 'name' => 'edit own evento content', + 'roles' => array( + 0 => 'authenticated user', + ), + 'module' => 'node', + ); + + // Exported permission: edit own page content. + $permissions['edit own page content'] = array( + 'name' => 'edit own page content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: edit own signups. + $permissions['edit own signups'] = array( + 'name' => 'edit own signups', + 'roles' => array( + 0 => 'administrator', + 1 => 'authenticated user', + ), + 'module' => 'signup', + ); + + // Exported permission: edit terms in 1. + $permissions['edit terms in 1'] = array( + 'name' => 'edit terms in 1', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'taxonomy', + ); + + // Exported permission: edit terms in 2. + $permissions['edit terms in 2'] = array( + 'name' => 'edit terms in 2', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: edit terms in 3. + $permissions['edit terms in 3'] = array( + 'name' => 'edit terms in 3', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: edit terms in 4. + $permissions['edit terms in 4'] = array( + 'name' => 'edit terms in 4', + 'roles' => array(), + 'module' => 'taxonomy', + ); + + // Exported permission: email all signed up users. + $permissions['email all signed up users'] = array( + 'name' => 'email all signed up users', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: email users signed up for own content. + $permissions['email users signed up for own content'] = array( + 'name' => 'email users signed up for own content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: execute php code. + $permissions['execute php code'] = array( + 'name' => 'execute php code', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'devel', + ); + + // Exported permission: manage features. + $permissions['manage features'] = array( + 'name' => 'manage features', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'features', + ); + + // Exported permission: node-specific print configuration. + $permissions['node-specific print configuration'] = array( + 'name' => 'node-specific print configuration', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'print', + ); + + // Exported permission: notify of path changes. + $permissions['notify of path changes'] = array( + 'name' => 'notify of path changes', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'pathauto', + ); + + // Exported permission: post comments. + $permissions['post comments'] = array( + 'name' => 'post comments', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'comment', + ); + + // Exported permission: revert revisions. + $permissions['revert revisions'] = array( + 'name' => 'revert revisions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: search content. + $permissions['search content'] = array( + 'name' => 'search content', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'search', + ); + + // Exported permission: select account cancellation method. + $permissions['select account cancellation method'] = array( + 'name' => 'select account cancellation method', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'user', + ); + + // Exported permission: sign up for content. + $permissions['sign up for content'] = array( + 'name' => 'sign up for content', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'signup', + ); + + // Exported permission: skip CAPTCHA. + $permissions['skip CAPTCHA'] = array( + 'name' => 'skip CAPTCHA', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'captcha', + ); + + // Exported permission: skip comment approval. + $permissions['skip comment approval'] = array( + 'name' => 'skip comment approval', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'comment', + ); + + // Exported permission: subscribe to all content types. + $permissions['subscribe to all content types'] = array( + 'name' => 'subscribe to all content types', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: subscribe to content. + $permissions['subscribe to content'] = array( + 'name' => 'subscribe to content', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: subscribe to content types. + $permissions['subscribe to content types'] = array( + 'name' => 'subscribe to content types', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: subscribe to taxonomy terms. + $permissions['subscribe to taxonomy terms'] = array( + 'name' => 'subscribe to taxonomy terms', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: suspend own subscriptions. + $permissions['suspend own subscriptions'] = array( + 'name' => 'suspend own subscriptions', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'subscriptions', + ); + + // Exported permission: switch shortcut sets. + $permissions['switch shortcut sets'] = array( + 'name' => 'switch shortcut sets', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'shortcut', + ); + + // Exported permission: switch users. + $permissions['switch users'] = array( + 'name' => 'switch users', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'devel', + ); + + // Exported permission: translate interface. + $permissions['translate interface'] = array( + 'name' => 'translate interface', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'locale', + ); + + // Exported permission: use PHP for settings. + $permissions['use PHP for settings'] = array( + 'name' => 'use PHP for settings', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'php', + ); + + // Exported permission: use advanced search. + $permissions['use advanced search'] = array( + 'name' => 'use advanced search', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'search', + ); + + // Exported permission: use text format filtered_html. + $permissions['use text format filtered_html'] = array( + 'name' => 'use text format filtered_html', + 'roles' => array( + 0 => 'administrator', + 1 => 'anonymous user', + 2 => 'authenticated user', + ), + 'module' => 'filter', + ); + + // Exported permission: use text format full_html. + $permissions['use text format full_html'] = array( + 'name' => 'use text format full_html', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'filter', + ); + + // Exported permission: use text format php_code. + $permissions['use text format php_code'] = array( + 'name' => 'use text format php_code', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'filter', + ); + + // Exported permission: view all signups. + $permissions['view all signups'] = array( + 'name' => 'view all signups', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'signup', + ); + + // Exported permission: view date repeats. + $permissions['view date repeats'] = array( + 'name' => 'view date repeats', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'date_repeat_field', + ); + + // Exported permission: view own unpublished content. + $permissions['view own unpublished content'] = array( + 'name' => 'view own unpublished content', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: view revisions. + $permissions['view revisions'] = array( + 'name' => 'view revisions', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'node', + ); + + // Exported permission: view the administration theme. + $permissions['view the administration theme'] = array( + 'name' => 'view the administration theme', + 'roles' => array( + 0 => 'administrator', + ), + 'module' => 'system', + ); + + return $permissions; +} diff --git a/features/calendario_feature/calendario_feature.features.user_role.inc b/features/calendario_feature/calendario_feature.features.user_role.inc new file mode 100644 index 0000000..1b7c5f5 --- /dev/null +++ b/features/calendario_feature/calendario_feature.features.user_role.inc @@ -0,0 +1,20 @@ +<?php +/** + * @file + * calendario_feature.features.user_role.inc + */ + +/** + * Implements hook_user_default_roles(). + */ +function calendario_feature_user_default_roles() { + $roles = array(); + + // Exported role: administrator. + $roles['administrator'] = array( + 'name' => 'administrator', + 'weight' => '2', + ); + + return $roles; +} diff --git a/features/calendario_feature/calendario_feature.field_group.inc b/features/calendario_feature/calendario_feature.field_group.inc new file mode 100644 index 0000000..07b9fa8 --- /dev/null +++ b/features/calendario_feature/calendario_feature.field_group.inc @@ -0,0 +1,44 @@ +<?php +/** + * @file + * calendario_feature.field_group.inc + */ + +/** + * Implements hook_field_group_info(). + */ +function calendario_feature_field_group_info() { + $export = array(); + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_categories|node|evento|form'; + $field_group->group_name = 'group_categories'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'evento'; + $field_group->mode = 'form'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'Categorias', + 'weight' => '6', + 'children' => array( + 0 => 'field_tags', + 1 => 'field_theme', + 2 => 'field_type', + 3 => 'field_place', + ), + 'format_type' => 'fieldset', + 'format_settings' => array( + 'formatter' => 'collapsible', + 'instance_settings' => array( + 'description' => '', + 'classes' => '', + 'required_fields' => 1, + ), + ), + ); + $export['group_categories|node|evento|form'] = $field_group; + + return $export; +} diff --git a/features/calendario_feature/calendario_feature.info b/features/calendario_feature/calendario_feature.info new file mode 100644 index 0000000..97a4c89 --- /dev/null +++ b/features/calendario_feature/calendario_feature.info @@ -0,0 +1,312 @@ +name = Calendário +description = Feature for calendario.sarava.org +core = 7.x +package = Features +version = 7.x-0.1 +project = calendario_feature +dependencies[] = block +dependencies[] = calendar +dependencies[] = captcha +dependencies[] = comment +dependencies[] = contact +dependencies[] = contextual +dependencies[] = ctools +dependencies[] = dashboard +dependencies[] = date +dependencies[] = date_all_day +dependencies[] = date_api +dependencies[] = date_ical +dependencies[] = date_popup +dependencies[] = date_repeat +dependencies[] = date_repeat_field +dependencies[] = date_tools +dependencies[] = date_views +dependencies[] = devel +dependencies[] = entity +dependencies[] = features +dependencies[] = field_group +dependencies[] = field_ui +dependencies[] = file +dependencies[] = image +dependencies[] = image_captcha +dependencies[] = l10n_update +dependencies[] = libraries +dependencies[] = link +dependencies[] = locale +dependencies[] = logintoboggan +dependencies[] = mail_edit +dependencies[] = menu +dependencies[] = openid +dependencies[] = overlay +dependencies[] = page_theme +dependencies[] = path +dependencies[] = pathauto +dependencies[] = php +dependencies[] = print +dependencies[] = search +dependencies[] = shortcut +dependencies[] = signup +dependencies[] = signup_confirm_email +dependencies[] = strongarm +dependencies[] = subscriptions +dependencies[] = subscriptions_content +dependencies[] = subscriptions_mail +dependencies[] = subscriptions_taxonomy +dependencies[] = subscriptions_ui +dependencies[] = tagclouds +dependencies[] = taxonomy +dependencies[] = timeline +dependencies[] = toolbar +dependencies[] = transliteration +dependencies[] = views +features[ctools][] = field_group:field_group:1 +features[ctools][] = strongarm:strongarm:1 +features[ctools][] = views:views_default:3.0 +features[features_api][] = api:1 +features[field][] = comment-comment_node_article-comment_body +features[field][] = comment-comment_node_evento-comment_body +features[field][] = comment-comment_node_page-comment_body +features[field][] = node-article-body +features[field][] = node-article-field_image +features[field][] = node-article-field_tags +features[field][] = node-evento-body +features[field][] = node-evento-field_address +features[field][] = node-evento-field_contact +features[field][] = node-evento-field_date +features[field][] = node-evento-field_image +features[field][] = node-evento-field_link +features[field][] = node-evento-field_place +features[field][] = node-evento-field_tags +features[field][] = node-evento-field_theme +features[field][] = node-evento-field_type +features[field][] = node-page-body +features[field_group][] = group_categories|node|evento|form +features[filter][] = filtered_html +features[filter][] = full_html +features[filter][] = plain_text +features[language][] = en +features[language][] = es +features[language][] = pt-br +features[menu_custom][] = main-menu +features[menu_custom][] = management +features[menu_custom][] = navigation +features[menu_custom][] = user-menu +features[menu_links][] = main-menu:<front> +features[menu_links][] = main-menu:cidades +features[menu_links][] = main-menu:contact +features[menu_links][] = main-menu:ical +features[menu_links][] = main-menu:node/2 +features[menu_links][] = main-menu:node/4 +features[menu_links][] = main-menu:node/add/evento +features[menu_links][] = main-menu:rss +features[menu_links][] = main-menu:search/node +features[menu_links][] = main-menu:timeline +features[menu_links][] = main-menu:user +features[menu_links][] = main-menu:user/login +features[menu_links][] = main-menu:user/logout +features[menu_links][] = navigation:filter/tips +features[menu_links][] = navigation:node/add +features[menu_links][] = navigation:node/add/article +features[menu_links][] = navigation:node/add/page +features[menu_links][] = navigation:search +features[menu_links][] = navigation:tagclouds +features[node][] = article +features[node][] = evento +features[node][] = page +features[taxonomy][] = localidade +features[taxonomy][] = tags +features[taxonomy][] = tema +features[taxonomy][] = tipo +features[user_permission][] = access administration pages +features[user_permission][] = access all views +features[user_permission][] = access comments +features[user_permission][] = access content +features[user_permission][] = access content overview +features[user_permission][] = access contextual links +features[user_permission][] = access dashboard +features[user_permission][] = access devel information +features[user_permission][] = access overlay +features[user_permission][] = access print +features[user_permission][] = access site in maintenance mode +features[user_permission][] = access site reports +features[user_permission][] = access site-wide contact form +features[user_permission][] = access toolbar +features[user_permission][] = access user contact forms +features[user_permission][] = access user profiles +features[user_permission][] = administer CAPTCHA settings +features[user_permission][] = administer actions +features[user_permission][] = administer all signups +features[user_permission][] = administer blocks +features[user_permission][] = administer comments +features[user_permission][] = administer contact forms +features[user_permission][] = administer content types +features[user_permission][] = administer date tools +features[user_permission][] = administer features +features[user_permission][] = administer fieldgroups +features[user_permission][] = administer filters +features[user_permission][] = administer image styles +features[user_permission][] = administer languages +features[user_permission][] = administer mail templates +features[user_permission][] = administer menu +features[user_permission][] = administer modules +features[user_permission][] = administer nodes +features[user_permission][] = administer page theme +features[user_permission][] = administer pathauto +features[user_permission][] = administer permissions +features[user_permission][] = administer print +features[user_permission][] = administer search +features[user_permission][] = administer shortcuts +features[user_permission][] = administer signups for own content +features[user_permission][] = administer site configuration +features[user_permission][] = administer software updates +features[user_permission][] = administer taxonomy +features[user_permission][] = administer themes +features[user_permission][] = administer url aliases +features[user_permission][] = administer user subscriptions +features[user_permission][] = administer users +features[user_permission][] = administer views +features[user_permission][] = block IP addresses +features[user_permission][] = bulk-administer user subscriptions +features[user_permission][] = bypass node access +features[user_permission][] = cancel account +features[user_permission][] = cancel own signups +features[user_permission][] = cancel signups +features[user_permission][] = change own username +features[user_permission][] = create article content +features[user_permission][] = create evento content +features[user_permission][] = create page content +features[user_permission][] = create url aliases +features[user_permission][] = customize shortcut links +features[user_permission][] = delete any article content +features[user_permission][] = delete any evento content +features[user_permission][] = delete any page content +features[user_permission][] = delete own article content +features[user_permission][] = delete own evento content +features[user_permission][] = delete own page content +features[user_permission][] = delete revisions +features[user_permission][] = delete terms in 1 +features[user_permission][] = delete terms in 2 +features[user_permission][] = delete terms in 3 +features[user_permission][] = delete terms in 4 +features[user_permission][] = edit any article content +features[user_permission][] = edit any evento content +features[user_permission][] = edit any page content +features[user_permission][] = edit own article content +features[user_permission][] = edit own comments +features[user_permission][] = edit own evento content +features[user_permission][] = edit own page content +features[user_permission][] = edit own signups +features[user_permission][] = edit terms in 1 +features[user_permission][] = edit terms in 2 +features[user_permission][] = edit terms in 3 +features[user_permission][] = edit terms in 4 +features[user_permission][] = email all signed up users +features[user_permission][] = email users signed up for own content +features[user_permission][] = execute php code +features[user_permission][] = manage features +features[user_permission][] = node-specific print configuration +features[user_permission][] = notify of path changes +features[user_permission][] = post comments +features[user_permission][] = revert revisions +features[user_permission][] = search content +features[user_permission][] = select account cancellation method +features[user_permission][] = sign up for content +features[user_permission][] = skip CAPTCHA +features[user_permission][] = skip comment approval +features[user_permission][] = subscribe to all content types +features[user_permission][] = subscribe to content +features[user_permission][] = subscribe to content types +features[user_permission][] = subscribe to taxonomy terms +features[user_permission][] = suspend own subscriptions +features[user_permission][] = switch shortcut sets +features[user_permission][] = switch users +features[user_permission][] = translate interface +features[user_permission][] = use PHP for settings +features[user_permission][] = use advanced search +features[user_permission][] = use text format filtered_html +features[user_permission][] = use text format full_html +features[user_permission][] = use text format php_code +features[user_permission][] = view all signups +features[user_permission][] = view date repeats +features[user_permission][] = view own unpublished content +features[user_permission][] = view revisions +features[user_permission][] = view the administration theme +features[user_role][] = administrator +features[variable][] = captcha_add_captcha_description +features[variable][] = captcha_administration_mode +features[variable][] = captcha_allow_on_admin_pages +features[variable][] = captcha_default_challenge +features[variable][] = captcha_default_validation +features[variable][] = captcha_description_en +features[variable][] = captcha_description_pt-br +features[variable][] = captcha_log_wrong_responses +features[variable][] = captcha_persistence +features[variable][] = captcha_wrong_response_counter +features[variable][] = clean_url +features[variable][] = comment_anonymous_evento +features[variable][] = comment_default_mode_evento +features[variable][] = comment_default_per_page_evento +features[variable][] = comment_evento +features[variable][] = comment_form_location_evento +features[variable][] = comment_page +features[variable][] = comment_preview_evento +features[variable][] = comment_subject_field_evento +features[variable][] = configurable_timezones +features[variable][] = date_format_short +features[variable][] = default_field_group +features[variable][] = default_nodes_main +features[variable][] = disable_breadcrumbs_all +features[variable][] = disable_breadcrumbs_node_paths +features[variable][] = language_content_type_evento +features[variable][] = language_default +features[variable][] = language_negotiation_language +features[variable][] = language_negotiation_language_content +features[variable][] = language_negotiation_language_url +features[variable][] = language_types +features[variable][] = logintoboggan_login_with_email +features[variable][] = menu_options_evento +features[variable][] = menu_parent_evento +features[variable][] = node_options_evento +features[variable][] = node_options_page +features[variable][] = node_preview_evento +features[variable][] = node_submitted_evento +features[variable][] = node_submitted_page +features[variable][] = pathauto_blog_pattern +features[variable][] = pathauto_forum_pattern +features[variable][] = pathauto_node_article_pattern +features[variable][] = pathauto_node_evento_pattern +features[variable][] = pathauto_node_page_pattern +features[variable][] = pathauto_node_pattern +features[variable][] = pathauto_punctuation_hyphen +features[variable][] = pathauto_taxonomy_term_pattern +features[variable][] = pathauto_taxonomy_term_tags_pattern +features[variable][] = pathauto_user_pattern +features[variable][] = signup_admin_list_view +features[variable][] = signup_close_early +features[variable][] = signup_date_format +features[variable][] = signup_display_signup_admin_list +features[variable][] = signup_display_signup_user_list +features[variable][] = signup_fieldset_collapsed +features[variable][] = signup_form_location +features[variable][] = signup_ignore_default_fields +features[variable][] = signup_node_default_state_evento +features[variable][] = signup_user_list_view +features[variable][] = signup_user_reg_form +features[variable][] = site_default_country +features[variable][] = site_frontpage +features[variable][] = site_mail +features[variable][] = site_name +features[variable][] = site_slogan +features[variable][] = user_register +features[views_view][] = calendario +features[views_view][] = calendario_por_cidade +features[views_view][] = calendario_por_tag +features[views_view][] = calendario_por_tema +features[views_view][] = calendario_por_tipo +features[views_view][] = calendario_widget +features[views_view][] = calendario_widget_por_cidade +features[views_view][] = calendario_widget_por_tag +features[views_view][] = calendario_widget_por_tema +features[views_view][] = calendario_widget_por_tipo +features[views_view][] = cidades +features[views_view][] = timeline diff --git a/features/calendario_feature/calendario_feature.module b/features/calendario_feature/calendario_feature.module new file mode 100644 index 0000000..48d583a --- /dev/null +++ b/features/calendario_feature/calendario_feature.module @@ -0,0 +1,7 @@ +<?php +/** + * @file + * Code for the Calendário feature. + */ + +include_once 'calendario_feature.features.inc'; diff --git a/features/calendario_feature/calendario_feature.strongarm.inc b/features/calendario_feature/calendario_feature.strongarm.inc new file mode 100644 index 0000000..3fbf342 --- /dev/null +++ b/features/calendario_feature/calendario_feature.strongarm.inc @@ -0,0 +1,534 @@ +<?php +/** + * @file + * calendario_feature.strongarm.inc + */ + +/** + * Implements hook_strongarm(). + */ +function calendario_feature_strongarm() { + $export = array(); + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_add_captcha_description'; + $strongarm->value = 1; + $export['captcha_add_captcha_description'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_administration_mode'; + $strongarm->value = 0; + $export['captcha_administration_mode'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_allow_on_admin_pages'; + $strongarm->value = 0; + $export['captcha_allow_on_admin_pages'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_default_challenge'; + $strongarm->value = 'captcha/Math'; + $export['captcha_default_challenge'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_default_validation'; + $strongarm->value = '1'; + $export['captcha_default_validation'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_description_en'; + $strongarm->value = 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.'; + $export['captcha_description_en'] = $strongarm; + + $strongarm = new stdClass(); + $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.'; + $export['captcha_description_pt-br'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_log_wrong_responses'; + $strongarm->value = 0; + $export['captcha_log_wrong_responses'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'captcha_persistence'; + $strongarm->value = '1'; + $export['captcha_persistence'] = $strongarm; + + $strongarm = new stdClass(); + $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; + $export['captcha_wrong_response_counter'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'clean_url'; + $strongarm->value = TRUE; + $export['clean_url'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'comment_anonymous_evento'; + $strongarm->value = '0'; + $export['comment_anonymous_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 = 'comment_default_mode_evento'; + $strongarm->value = 1; + $export['comment_default_mode_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 = 'comment_default_per_page_evento'; + $strongarm->value = '50'; + $export['comment_default_per_page_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 = 'comment_evento'; + $strongarm->value = '2'; + $export['comment_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 = 'comment_form_location_evento'; + $strongarm->value = 1; + $export['comment_form_location_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 = 'comment_page'; + $strongarm->value = 0; + $export['comment_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'comment_preview_evento'; + $strongarm->value = '1'; + $export['comment_preview_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 = 'comment_subject_field_evento'; + $strongarm->value = 1; + $export['comment_subject_field_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 = 'configurable_timezones'; + $strongarm->value = 1; + $export['configurable_timezones'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'date_format_short'; + $strongarm->value = 'd/m/Y - H:i'; + $export['date_format_short'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'default_field_group'; + $strongarm->value = array( + 'group_categories|node|evento|form' => FALSE, + ); + $export['default_field_group'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'default_nodes_main'; + $strongarm->value = '10'; + $export['default_nodes_main'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'disable_breadcrumbs_all'; + $strongarm->value = 1; + $export['disable_breadcrumbs_all'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'disable_breadcrumbs_node_paths'; + $strongarm->value = ''; + $export['disable_breadcrumbs_node_paths'] = $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; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_default'; + $strongarm->value = (object) array( + 'language' => 'pt-br', + 'name' => 'Portuguese, Brazil', + 'native' => 'Português', + 'direction' => '0', + 'enabled' => '1', + 'plurals' => '2', + 'formula' => '($n!=1)', + 'domain' => '', + 'prefix' => 'pt-br', + 'weight' => '-10', + 'javascript' => 'EdVZZvt3cBXhwha3CmnkC4fwIjsADW4fDdBlnHGg3SA', + ); + $export['language_default'] = $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_negotiation_language'; + $strongarm->value = array( + 'locale-url' => array( + 'callbacks' => array( + 'language' => 'locale_language_from_url', + 'switcher' => 'locale_language_switcher_url', + 'url_rewrite' => 'locale_language_url_rewrite_url', + ), + 'file' => 'includes/locale.inc', + ), + 'language-default' => array( + 'callbacks' => array( + 'language' => 'language_from_default', + ), + ), + ); + $export['language_negotiation_language'] = $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_negotiation_language_content'; + $strongarm->value = array( + 'locale-interface' => array( + 'callbacks' => array( + 'language' => 'locale_language_from_interface', + ), + 'file' => 'includes/locale.inc', + ), + ); + $export['language_negotiation_language_content'] = $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_negotiation_language_url'; + $strongarm->value = array( + 'locale-url' => array( + 'callbacks' => array( + 'language' => 'locale_language_from_url', + 'switcher' => 'locale_language_switcher_url', + 'url_rewrite' => 'locale_language_url_rewrite_url', + ), + 'file' => 'includes/locale.inc', + ), + 'locale-url-fallback' => array( + 'callbacks' => array( + 'language' => 'locale_language_url_fallback', + ), + 'file' => 'includes/locale.inc', + ), + ); + $export['language_negotiation_language_url'] = $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_types'; + $strongarm->value = array( + 'language' => TRUE, + 'language_content' => FALSE, + 'language_url' => FALSE, + ); + $export['language_types'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'logintoboggan_login_with_email'; + $strongarm->value = '1'; + $export['logintoboggan_login_with_email'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_evento'; + $strongarm->value = array(); + $export['menu_options_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 = 'menu_parent_evento'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_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 = 'node_options_evento'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_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 = 'node_options_page'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_evento'; + $strongarm->value = '1'; + $export['node_preview_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 = 'node_submitted_evento'; + $strongarm->value = 0; + $export['node_submitted_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 = 'node_submitted_page'; + $strongarm->value = FALSE; + $export['node_submitted_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_blog_pattern'; + $strongarm->value = 'blogs/[user:name]'; + $export['pathauto_blog_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_forum_pattern'; + $strongarm->value = '[term:vocabulary]/[term:name]'; + $export['pathauto_forum_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_node_article_pattern'; + $strongarm->value = ''; + $export['pathauto_node_article_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_node_evento_pattern'; + $strongarm->value = 'evento/[node:title]'; + $export['pathauto_node_evento_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_node_page_pattern'; + $strongarm->value = ''; + $export['pathauto_node_page_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_node_pattern'; + $strongarm->value = 'content/[node:title]'; + $export['pathauto_node_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_punctuation_hyphen'; + $strongarm->value = 1; + $export['pathauto_punctuation_hyphen'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_taxonomy_term_pattern'; + $strongarm->value = '[term:vocabulary]/[term:name]'; + $export['pathauto_taxonomy_term_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_taxonomy_term_tags_pattern'; + $strongarm->value = ''; + $export['pathauto_taxonomy_term_tags_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'pathauto_user_pattern'; + $strongarm->value = 'users/[user:name]'; + $export['pathauto_user_pattern'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_admin_list_view'; + $strongarm->value = 'signup_user_admin_list:default'; + $export['signup_admin_list_view'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_close_early'; + $strongarm->value = '1'; + $export['signup_close_early'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_date_format'; + $strongarm->value = 'small'; + $export['signup_date_format'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_display_signup_admin_list'; + $strongarm->value = 'embed-view'; + $export['signup_display_signup_admin_list'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_display_signup_user_list'; + $strongarm->value = 'embed-view'; + $export['signup_display_signup_user_list'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_fieldset_collapsed'; + $strongarm->value = '1'; + $export['signup_fieldset_collapsed'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_form_location'; + $strongarm->value = 'node'; + $export['signup_form_location'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_ignore_default_fields'; + $strongarm->value = 0; + $export['signup_ignore_default_fields'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_node_default_state_evento'; + $strongarm->value = 'enabled_on'; + $export['signup_node_default_state_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 = 'signup_user_list_view'; + $strongarm->value = 'signup_user_list:default'; + $export['signup_user_list_view'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'signup_user_reg_form'; + $strongarm->value = 0; + $export['signup_user_reg_form'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'site_default_country'; + $strongarm->value = 'BR'; + $export['site_default_country'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'site_frontpage'; + $strongarm->value = 'calendario/mes'; + $export['site_frontpage'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'site_mail'; + $strongarm->value = 'calendario@sarava.org'; + $export['site_mail'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'site_name'; + $strongarm->value = 'Calendário de Movimentos Sociais'; + $export['site_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'site_slogan'; + $strongarm->value = ''; + $export['site_slogan'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'user_register'; + $strongarm->value = '1'; + $export['user_register'] = $strongarm; + + return $export; +} diff --git a/features/calendario_feature/calendario_feature.views_default.inc b/features/calendario_feature/calendario_feature.views_default.inc new file mode 100644 index 0000000..94d6707 --- /dev/null +++ b/features/calendario_feature/calendario_feature.views_default.inc @@ -0,0 +1,5614 @@ +<?php +/** + * @file + * calendario_feature.views_default.inc + */ + +/** + * Implements hook_views_default_views(). + */ +function calendario_feature_views_default_views() { + $export = array(); + + $view = new view; + $view->name = 'calendario'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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; + /* 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']['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'] = 0; + $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']['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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_2']['value'] = ''; + $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['calendar_colors_type'] = array( + 'article' => '#ffffff', + 'evento' => '#ffffff', + 'page' => '#ffffff', + ); + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'ical'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'rss'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('cidade'), + t('- [name]'), + t('calendario/cidade/[name]/mes'), + t('Tipo'), + t('Tema'), + t('Cidade'), + t('Dia'), + t('Tudo'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario'] = $view; + + $view = new view; + $view->name = 'calendario_por_cidade'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Cidade'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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; + /* 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']['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'] = 0; + $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'; + $handler->display->display_options['sorts']['field_date_value']['field'] = 'field_date_value'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/cidade/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/cidade/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/cidade/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/cidade/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'ical/cidade'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'rss/cidade'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_por_cidade'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('cidade'), + t('Tudo'), + t('Tipo'), + t('Tema'), + t('Dia'), + t('Calendário de %1'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_por_cidade'] = $view; + + $view = new view; + $view->name = 'calendario_por_tag'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tag'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tag/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tag/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tag/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tag/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'ical/tag'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'rss/tag'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_por_tag'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tag'), + t('cidade'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Calendário da tag "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_por_tag'] = $view; + + $view = new view; + $view->name = 'calendario_por_tema'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tema'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tags' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tema/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tema/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tema/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tema/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'ical/tema'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'rss/tema'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_por_tema'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tema'), + t('cidade'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Calendário do tema "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_por_tema'] = $view; + + $view = new view; + $view->name = 'calendario_por_tipo'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tipo'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tags' => 0, + 'tema' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tipo/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tipo/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tipo/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'calendario/tipo/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'ical/tipo'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'rss/tipo'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_por_tipo'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tipo'), + t('cidade'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Eventos do tipo "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_por_tipo'] = $view; + + $view = new view; + $view->name = 'calendario_widget'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário - Widget'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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']['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; + /* 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']['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'] = 0; + $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']['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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_2']['value'] = ''; + $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['calendar_colors_type'] = array( + 'article' => '#ffffff', + 'evento' => '#ffffff', + 'page' => '#ffffff', + ); + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* 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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'widgets/ical'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'widgets/rss'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_widget'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('cidade'), + t('_parent'), + t('- [name]'), + t('calendario/cidade/[name]/mes'), + t('Tipo'), + t('Tema'), + t('Cidade'), + t('Dia'), + t('Tudo'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_widget'] = $view; + + $view = new view; + $view->name = 'calendario_widget_por_cidade'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Cidade - Widget'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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']['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; + /* 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']['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'] = 0; + $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'; + $handler->display->display_options['sorts']['field_date_value']['field'] = 'field_date_value'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/cidade/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/cidade/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/cidade/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/cidade/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'widgets/ical/cidade'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'widgets/rss/cidade'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_widget_por_cidade'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('cidade'), + t('_parent'), + t('Tudo'), + t('Tipo'), + t('Tema'), + t('Dia'), + t('Calendário de %1'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_widget_por_cidade'] = $view; + + $view = new view; + $view->name = 'calendario_widget_por_tag'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tag - Widget'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tema' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tag/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tag/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tag/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tag/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'widgets/ical/tag'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'widgets/rss/tag'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_widget_por_tag'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tag'), + t('cidade'), + t('_parent'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Calendário da tag "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_widget_por_tag'] = $view; + + $view = new view; + $view->name = 'calendario_widget_por_tema'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tema - Widget'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tags' => 0, + 'tipo' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tema/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tema/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tema/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tema/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'widgets/ical/tema'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'widgets/rss/tema'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_widget_por_tema'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tema'), + t('cidade'), + t('_parent'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Calendário do tema "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_widget_por_tema'] = $view; + + $view = new view; + $view->name = 'calendario_widget_por_tipo'; + $view->description = ''; + $view->tag = 'Calendar'; + $view->base_table = 'node'; + $view->human_name = 'Calendário por Tipo - Widget'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['link_display'] = 'page_1'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'month'; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + /* 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'] = '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, + 'tags' => 0, + 'tema' => 0, + ); + /* Relação: Conteúdo: Taxonomy terms on node */ + $handler->display->display_options['relationships']['term_node_tid_1']['id'] = 'term_node_tid_1'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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']['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']['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; + /* 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']['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'] = 0; + $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']['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'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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 */ + $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 */ + $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'; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $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 */ + $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'; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $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']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'date_views_pager'; + $handler->display->display_options['pager']['options']['date_id'] = 'day'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'day'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'day'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tipo/%/dia'; + $handler->display->display_options['menu']['title'] = 'Day'; + $handler->display->display_options['menu']['weight'] = '3'; + + /* Display: Semana */ + $handler = $view->new_display('page', 'Semana', 'page_2'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'week'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'week'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tipo/%/semana'; + $handler->display->display_options['menu']['title'] = 'Week'; + $handler->display->display_options['menu']['weight'] = '2'; + + /* Display: Mês */ + $handler = $view->new_display('page', 'Mês', 'page_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '3'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['row_options']['colors']['legend'] = 'type'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tipo/%/mes'; + $handler->display->display_options['menu']['title'] = 'Month'; + $handler->display->display_options['menu']['weight'] = '0'; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'Month'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Ano */ + $handler = $view->new_display('page', 'Ano', 'page'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['calendar_type'] = 'year'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '0'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['name']['title_enable'] = 1; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['granularity'] = 'year'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + $handler->display->display_options['path'] = 'widgets/calendario/tipo/%/ano'; + $handler->display->display_options['menu']['title'] = 'Year'; + $handler->display->display_options['menu']['weight'] = '4'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $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'; + $handler->display->display_options['pager']['options']['link_format'] = 'clean'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'calendar_style'; + $handler->display->display_options['style_options']['name_size'] = '1'; + $handler->display->display_options['style_options']['mini'] = '1'; + $handler->display->display_options['style_options']['with_weekno'] = '0'; + $handler->display->display_options['style_options']['multiday_theme'] = '1'; + $handler->display->display_options['style_options']['theme_style'] = '1'; + $handler->display->display_options['style_options']['max_items'] = '0'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'calendar_entity'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['arguments'] = FALSE; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['default_action'] = 'not found'; + $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']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['date_argument']['add_delta'] = 'yes'; + $handler->display->display_options['arguments']['date_argument']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: Upcoming */ + $handler = $view->new_display('block', 'Upcoming', 'block_2'); + $handler->display->display_options['display_description'] = 'Upcoming events block'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['filters'] = FALSE; + /* Filter criterion: 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) */ + $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'; + $handler->display->display_options['filters']['date_filter']['operator'] = '>='; + $handler->display->display_options['filters']['date_filter']['default_date'] = 'now'; + $handler->display->display_options['filters']['date_filter']['add_delta'] = 'yes'; + $handler->display->display_options['filters']['date_filter']['date_fields'] = array( + 'field_data_field_date.field_date_value' => 'field_data_field_date.field_date_value', + ); + + /* Display: iCal */ + $handler = $view->new_display('feed', 'iCal', 'feed_1'); + $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['path'] = 'widgets/ical/tipo'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + + /* Display: RSS */ + $handler = $view->new_display('feed', 'RSS', 'feed_2'); + $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['path'] = 'widgets/rss/tipo'; + $handler->display->display_options['displays'] = array( + 'page_1' => 'page_1', + 'page_2' => 'page_2', + 'page_3' => 'page_3', + 'page' => 'page', + 'default' => 0, + 'block_1' => 0, + 'block_2' => 0, + ); + $translatables['calendario_widget_por_tipo'] = array( + t('Master'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('tipo'), + t('cidade'), + t('_parent'), + t('calendario/cidade/[name]/mes'), + t('Tudo'), + t('Tipo'), + t('Cidade'), + t('Dia'), + t('Eventos do tipo "%1"'), + t('Semana'), + t('Mês'), + t('Ano'), + t('Block'), + t('Upcoming'), + t('Upcoming events block'), + t('iCal'), + t('RSS'), + ); + $export['calendario_widget_por_tipo'] = $view; + + $view = new view; + $view->name = 'cidades'; + $view->description = ''; + $view->tag = 'default'; + $view->base_table = 'taxonomy_term_data'; + $view->human_name = 'Cidades'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'Cidades'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'none'; + $handler->display->display_options['style_plugin'] = 'grid'; + $handler->display->display_options['row_plugin'] = 'fields'; + /* Cabeçalho: Global: Área de texto */ + $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']['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']['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 */ + $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'; + $handler->display->display_options['filters']['machine_name']['value'] = array( + 'localidade' => 'localidade', + ); + + /* Display: Page */ + $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['path'] = 'cidades'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block'); + $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'; + $handler->display->display_options['defaults']['row_options'] = FALSE; + + /* Display: Linha do Tempo */ + $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']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'list'; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $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']['header'] = FALSE; + /* Cabeçalho: Global: Área de texto */ + $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']['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']['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'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + 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->name = 'timeline'; + $view->description = ''; + $view->tag = 'default'; + $view->base_table = 'node'; + $view->human_name = 'Linha do Tempo'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'Linha do Tempo'; + $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']['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'; + $handler->display->display_options['pager']['type'] = 'none'; + $handler->display->display_options['style_plugin'] = 'timeline'; + $handler->display->display_options['style_options']['fields']['title'] = 'title'; + $handler->display->display_options['style_options']['fields']['link'] = 0; + $handler->display->display_options['style_options']['fields']['start'] = 'field_date'; + $handler->display->display_options['style_options']['fields']['end'] = 'field_date'; + $handler->display->display_options['style_options']['fields']['advanced']['earliestStart'] = ''; + $handler->display->display_options['style_options']['fields']['advanced']['latestEnd'] = ''; + $handler->display->display_options['row_plugin'] = 'fields'; + /* Comportamento quando sem resultados: Global: Área de texto */ + $handler->display->display_options['empty']['area']['id'] = 'area'; + $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, + 'tema' => 0, + 'tipo' => 0, + ); + /* 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']['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; + /* 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', + 'multiple_number' => '', + 'multiple_from' => '', + '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'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; + /* Filtro contextual: Termo de taxonomia: Nome */ + $handler->display->display_options['arguments']['name']['id'] = 'name'; + $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']['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 */ + $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 */ + $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', + ); + + /* Display: Page */ + $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['path'] = 'timeline'; + $translatables['timeline'] = array( + t('Master'), + t('Linha do Tempo'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('Sem eventos...'), + t('Sem eventos nesta Linha do Tempo. Não é hora de agir? :)'), + t('cidade'), + t('Dados'), + t('Tudo'), + t('Linha do Tempo de %1'), + t('Page'), + ); + $export['timeline'] = $view; + + return $export; +} |