$view = new view(); $view->name = 'tipo_de_art_culo_revista'; $view->description = ''; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Tipo de Artículo Revista'; $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'] = ''; $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'más'; $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['exposed_form']['type'] = 'basic'; $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Aplicar'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Reiniciar'; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['grouping'] = array( 0 => array( 'field' => 'field_categoria_articulo', 'rendered' => 1, 'rendered_strip' => 0, ), ); $handler->display->display_options['row_plugin'] = 'fields'; /* Campo: Contenido: Título */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; /* Sort criterion: Contenido: Post date */ $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'; /* Filter criterion: Contenido: 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: Contenido: 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( 'articulo_revista' => 'articulo_revista', ); /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block'); $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Contenido: Tipo de Artículo */ $handler->display->display_options['fields']['field_categoria_articulo']['id'] = 'field_categoria_articulo'; $handler->display->display_options['fields']['field_categoria_articulo']['table'] = 'field_data_field_categoria_articulo'; $handler->display->display_options['fields']['field_categoria_articulo']['field'] = 'field_categoria_articulo'; $handler->display->display_options['fields']['field_categoria_articulo']['label'] = ''; $handler->display->display_options['fields']['field_categoria_articulo']['exclude'] = TRUE; $handler->display->display_options['fields']['field_categoria_articulo']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_categoria_articulo']['type'] = 'taxonomy_term_reference_plain'; /* Campo: Contenido: 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']['exclude'] = TRUE; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; /* Campo: Contenido: Adjuntar artículo */ $handler->display->display_options['fields']['field_pdf']['id'] = 'field_pdf'; $handler->display->display_options['fields']['field_pdf']['table'] = 'field_data_field_pdf'; $handler->display->display_options['fields']['field_pdf']['field'] = 'field_pdf'; $handler->display->display_options['fields']['field_pdf']['label'] = ''; $handler->display->display_options['fields']['field_pdf']['exclude'] = TRUE; $handler->display->display_options['fields']['field_pdf']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_pdf']['click_sort_column'] = 'fid'; $handler->display->display_options['fields']['field_pdf']['settings'] = array( 'file_view_mode' => 'presentacion_pdf', ); /* Campo: Contenido: Enlace */ $handler->display->display_options['fields']['view_node']['id'] = 'view_node'; $handler->display->display_options['fields']['view_node']['table'] = 'views_entity_node'; $handler->display->display_options['fields']['view_node']['field'] = 'view_node'; $handler->display->display_options['fields']['view_node']['label'] = ''; $handler->display->display_options['fields']['view_node']['exclude'] = TRUE; $handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['view_node']['text'] = 'Resumen'; /* Campo: Campo: Imagen */ $handler->display->display_options['fields']['field_image']['id'] = 'field_image'; $handler->display->display_options['fields']['field_image']['table'] = 'field_data_field_image'; $handler->display->display_options['fields']['field_image']['field'] = 'field_image'; $handler->display->display_options['fields']['field_image']['label'] = ''; $handler->display->display_options['fields']['field_image']['exclude'] = TRUE; $handler->display->display_options['fields']['field_image']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_image']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['field_image']['click_sort_column'] = 'fid'; $handler->display->display_options['fields']['field_image']['settings'] = array( 'image_style' => '120x90', 'image_link' => 'content', ); /* Campo: Global: Custom text */ $handler->display->display_options['fields']['nothing']['id'] = 'nothing'; $handler->display->display_options['fields']['nothing']['table'] = 'views'; $handler->display->display_options['fields']['nothing']['field'] = 'nothing'; $handler->display->display_options['fields']['nothing']['label'] = ''; $handler->display->display_options['fields']['nothing']['alter']['text'] = '
[field_image]
[title]
[view_node] [field_pdf]
'; $handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE; $handler->display->display_options['defaults']['arguments'] = FALSE; /* Contextual filter: Contenido: Revista padre (field_revista_padre) */ $handler->display->display_options['arguments']['field_revista_padre_target_id']['id'] = 'field_revista_padre_target_id'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['table'] = 'field_data_field_revista_padre'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['field'] = 'field_revista_padre_target_id'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['default_action'] = 'default'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['exception']['title'] = 'Todo'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['default_argument_type'] = 'raw'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['default_argument_options']['index'] = '2'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['field_revista_padre_target_id']['summary_options']['items_per_page'] = '25'; $translatables['tipo_de_art_culo_revista'] = array( t('Master'), t(''), t('más'), t('Aplicar'), t('Reiniciar'), t('Sort by'), t('Asc'), t('Desc'), t('Block'), t('Resumen'), t('
[field_image]
[title]
[view_node] [field_pdf]
'), t('Todo'), );