name = 'posibles_politicas'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Predefinidos', 'default'); $handler->override_option('relationships', array( 'field_politicas_ente_nid' => array( 'label' => 'Ente Planificador', 'required' => 1, 'delta' => -1, 'id' => 'field_politicas_ente_nid', 'table' => 'node_data_field_politicas_ente', 'field' => 'field_politicas_ente_nid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'body' => array( 'label' => 'Posible Política', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 1, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'title' => array( 'label' => 'Posible Política', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 1, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'editablefields_allowed' => 0, 'editablefields_responder' => 'modal', 'editablefields_editable' => 'node', ), 'field_politicas_areasimp_value' => array( 'label' => 'Áreas de impacto', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_areasimp_value', 'table' => 'node_data_field_politicas_areasimp', 'field' => 'field_politicas_areasimp_value', 'relationship' => 'none', ), 'field_politicas_requerimientos_value' => array( 'label' => 'Requerimientos', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_requerimientos_value', 'table' => 'node_data_field_politicas_requerimientos', 'field' => 'field_politicas_requerimientos_value', 'relationship' => 'none', ), 'field_politicas_causas_nid' => array( 'label' => 'Causas Críticas', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_causas_nid', 'table' => 'node_data_field_politicas_causas', 'field' => 'field_politicas_causas_nid', 'relationship' => 'none', ), 'nid' => array( 'label' => 'Nid', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'relationship' => 'field_politicas_ente_nid', ), 'nid_1' => array( 'label' => 'Nid', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'nid_1', 'table' => 'node', 'field' => 'nid', 'relationship' => 'none', ), 'nothing' => array( 'label' => 'Texto personalizado', 'alter' => array( 'text' => 'Modificar', 'make_link' => 1, 'path' => 'planificacion/[nid]/politicas/posibles/[nid_1]/editar?destination=planificacion/[nid]/politicas/posibles/buscar', 'link_class' => '', 'alt' => 'Modificar [title]', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'nothing', 'table' => 'views', 'field' => 'nothing', 'relationship' => 'none', ), 'nothing_1' => array( 'label' => 'Texto personalizado', 'alter' => array( 'text' => 'Eliminar', 'make_link' => 1, 'path' => 'planificacion/[nid]/politicas/posibles/[nid_1]/remove?destination=planificacion/[nid]/politicas/posibles/buscar', 'link_class' => '', 'alt' => 'Eliminar [title]', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'nothing_1', 'table' => 'views', 'field' => 'nothing', 'relationship' => 'none', ), 'nothing_2' => array( 'label' => 'Acciones Disponibles', 'alter' => array( 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'nothing_2', 'table' => 'views', 'field' => 'nothing', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'politicas_direccionales' => 'politicas_direccionales', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'body' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'body_op', 'identifier' => 'body', 'label' => 'Posible Política', 'optional' => 1, 'remember' => 0, ), 'case' => 1, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'field_politicas_areasimp_value' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'field_politicas_areasimp_value_op', 'identifier' => 'field_politicas_areasimp_value', 'label' => 'Áreas de impacto', 'optional' => 1, 'remember' => 0, ), 'case' => 0, 'id' => 'field_politicas_areasimp_value', 'table' => 'node_data_field_politicas_areasimp', 'field' => 'field_politicas_areasimp_value', 'relationship' => 'none', ), 'field_politicas_causas_nid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'field_politicas_causas_nid_op', 'identifier' => 'field_politicas_causas_nid', 'label' => 'Causas Críticas', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'id' => 'field_politicas_causas_nid', 'table' => 'node_data_field_politicas_causas', 'field' => 'field_politicas_causas_nid', 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'timestamp' => array( 'operator' => 'between', 'value' => array( 'type' => 'date', 'value' => '', 'min' => '01-01-2013', 'max' => '31-12-2014', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'timestamp', 'table' => 'node_revisions', 'field' => 'timestamp', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('empty', 'No se encontró ninguna política direccional'); $handler->override_option('empty_format', '1'); $handler->override_option('use_ajax', TRUE); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'table'); $views[$view->name] = $view; //se agrega la vista de posibles politicas $view = new view; $view->name = 'politicas_direccionales'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Predefinidos', 'default'); $handler->override_option('relationships', array( 'field_politicas_ente_nid' => array( 'label' => 'Ente Planificador', 'required' => 1, 'delta' => -1, 'id' => 'field_politicas_ente_nid', 'table' => 'node_data_field_politicas_ente', 'field' => 'field_politicas_ente_nid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'body' => array( 'label' => 'Posible Política', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 1, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'title' => array( 'label' => 'Posible Política', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 1, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'editablefields_allowed' => 0, 'editablefields_responder' => 'modal', 'editablefields_editable' => 'node', ), 'field_politicas_areasimp_value' => array( 'label' => 'Áreas de impacto', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_areasimp_value', 'table' => 'node_data_field_politicas_areasimp', 'field' => 'field_politicas_areasimp_value', 'relationship' => 'none', ), 'field_politicas_requerimientos_value' => array( 'label' => 'Requerimientos', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_requerimientos_value', 'table' => 'node_data_field_politicas_requerimientos', 'field' => 'field_politicas_requerimientos_value', 'relationship' => 'none', ), 'field_politicas_causas_nid' => array( 'label' => 'Causas Críticas', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'plain', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_causas_nid', 'table' => 'node_data_field_politicas_causas', 'field' => 'field_politicas_causas_nid', 'relationship' => 'none', ), 'nid' => array( 'label' => 'Nid', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'relationship' => 'field_politicas_ente_nid', ), 'nid_1' => array( 'label' => 'Nid', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 1, 'id' => 'nid_1', 'table' => 'node', 'field' => 'nid', 'relationship' => 'none', ), 'field_politicas_acciones_viab_value' => array( 'label' => 'Acciones para Construir viabilidad', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'default', 'multiple' => array( 'group' => 1, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => 0, ), 'exclude' => 0, 'id' => 'field_politicas_acciones_viab_value', 'table' => 'node_data_field_politicas_acciones_viab', 'field' => 'field_politicas_acciones_viab_value', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'politicas_direccionales' => 'politicas_direccionales', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'body' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'body_op', 'identifier' => 'body', 'label' => 'Posible Política', 'optional' => 1, 'remember' => 0, ), 'case' => 1, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'field_politicas_areasimp_value' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'field_politicas_areasimp_value_op', 'identifier' => 'field_politicas_areasimp_value', 'label' => 'Áreas de impacto', 'optional' => 1, 'remember' => 0, ), 'case' => 0, 'id' => 'field_politicas_areasimp_value', 'table' => 'node_data_field_politicas_areasimp', 'field' => 'field_politicas_areasimp_value', 'relationship' => 'none', ), 'field_politicas_causas_nid' => array( 'operator' => 'or', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'field_politicas_causas_nid_op', 'identifier' => 'field_politicas_causas_nid', 'label' => 'Causas Críticas', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'id' => 'field_politicas_causas_nid', 'table' => 'node_data_field_politicas_causas', 'field' => 'field_politicas_causas_nid', 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'field_politicas_seleccionada_value' => array( 'operator' => '=', 'value' => 'SÍ', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'case' => 1, 'id' => 'field_politicas_seleccionada_value', 'table' => 'node_data_field_politicas_seleccionada', 'field' => 'field_politicas_seleccionada_value', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('empty', 'No se encontró ninguna política direccional'); $handler->override_option('empty_format', '1'); $handler->override_option('use_ajax', TRUE); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'table'); $views[$view->name] = $view; return $views; }