12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?php
- // $Id$
- /**
- * @file
- * Liste des prestataires de formation
- */
- $view = new view;
- $view->name = 'fgcf_organismes_de_formation';
- $view->description = 'FG Organismes de formation';
- $view->tag = 'FGCF';
- $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', 'Defaults', 'default');
- $handler->override_option('fields', array(
- 'field_fgcf_prestataire_logo_fid' => array(
- 'id' => 'field_fgcf_prestataire_logo_fid',
- 'table' => 'node_data_field_fgcf_prestataire_logo',
- 'field' => 'field_fgcf_prestataire_logo_fid',
- 'alter' => array(
- 'alter_text' => 0,
- 'make_link' => 0,
- 'trim' => 0,
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'strip_tags' => 0,
- 'html' => 0,
- ),
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- 'label_type' => 'none',
- 'format' => 'prestataire_logo_liste_default',
- ),
- 'title' => array(
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- 'label' => '',
- 'alter' => array(
- 'alter_text' => 0,
- 'make_link' => 0,
- 'trim' => 0,
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'strip_tags' => 0,
- 'html' => 0,
- ),
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- ),
- ));
- $handler->override_option('sorts', array(
- 'title' => array(
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- ),
- ));
- $handler->override_option('filters', array(
- 'type' => array(
- 'id' => 'type',
- 'table' => 'node',
- 'field' => 'type',
- 'value' => array(
- 'fgcf_prestataire' => 'fgcf_prestataire',
- ),
- ),
- 'status_extra' => array(
- 'id' => 'status_extra',
- 'table' => 'node',
- 'field' => 'status_extra',
- ),
- ));
- $handler->override_option('access', array(
- 'type' => 'none',
- ));
- $handler->override_option('cache', array(
- 'type' => 'none',
- ));
- $handler->override_option('empty', 'pas de résultats');
- $handler->override_option('empty_format', '1');
- $handler->override_option('style_plugin', 'grid');
- $handler->override_option('style_options', array(
- 'columns' => '2',
- 'fill_single_line' => 1,
- ));
|