123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?php
- // $Id$
- /**
- * @file
- * Liste des thèmes de 1er niveau.
- */
- $view = new view;
- $view->name = 'fgcf_thematiques_premier_niveau';
- $view->description = 'Liste des thèmes de 1er niveau';
- $view->tag = 'FGCF';
- $view->view_php = '';
- $view->base_table = 'term_data';
- $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('relationships', array(
- 'nid' => array(
- 'label' => 'NAT Node',
- 'required' => 1,
- 'id' => 'nid',
- 'table' => 'nat',
- 'field' => 'nid',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('fields', array(
- 'tid' => array(
- 'label' => 'Term ID',
- '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,
- 'set_precision' => FALSE,
- 'precision' => 0,
- 'decimal' => '.',
- 'separator' => ',',
- 'prefix' => '',
- 'suffix' => '',
- 'exclude' => 1,
- 'id' => 'tid',
- 'table' => 'term_data',
- 'field' => 'tid',
- 'relationship' => 'none',
- ),
- 'field_fgcf_thematique_logo_fid' => array(
- 'label' => '',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 1,
- 'path' => 'fgcf/theme/[tid]',
- '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' => 'none',
- 'format' => 'fgcf_theme_logo_liste_default',
- 'multiple' => array(
- 'group' => TRUE,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => FALSE,
- ),
- 'exclude' => 0,
- 'id' => 'field_fgcf_thematique_logo_fid',
- 'table' => 'node_data_field_fgcf_thematique_logo',
- 'field' => 'field_fgcf_thematique_logo_fid',
- 'relationship' => 'nid',
- ),
- 'description' => array(
- 'label' => '',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 1,
- 'path' => 'fgcf/theme/[tid]',
- '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' => 'description',
- 'table' => 'term_data',
- 'field' => 'description',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('sorts', array(
- 'weight' => array(
- 'order' => 'ASC',
- 'id' => 'weight',
- 'table' => 'term_data',
- 'field' => 'weight',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('arguments', array(
- 'vid' => array(
- 'default_action' => 'empty',
- 'style_plugin' => 'default_summary',
- 'style_options' => array(),
- 'wildcard' => 'all',
- 'wildcard_substitution' => 'All',
- 'title' => '',
- 'breadcrumb' => '',
- 'default_argument_type' => 'fixed',
- 'default_argument' => '',
- 'validate_type' => 'none',
- 'validate_fail' => 'not found',
- 'id' => 'vid',
- 'table' => 'vocabulary',
- 'field' => 'vid',
- 'validate_user_argument_type' => 'uid',
- 'validate_user_roles' => array(
- '2' => 0,
- ),
- 'relationship' => 'none',
- 'default_options_div_prefix' => '',
- 'default_argument_fixed' => '',
- 'default_argument_user' => 0,
- 'default_argument_php' => '',
- 'validate_argument_node_type' => array(
- 'fgcf_fiche' => 0,
- 'fgcf_prestataire' => 0,
- 'fgcf_thematique' => 0,
- 'page' => 0,
- 'story' => 0,
- ),
- 'validate_argument_node_access' => 0,
- 'validate_argument_nid_type' => 'nid',
- 'validate_argument_vocabulary' => array(
- '2' => 0,
- '5' => 0,
- '4' => 0,
- '3' => 0,
- '1' => 0,
- ),
- 'validate_argument_type' => 'tid',
- 'validate_argument_transform' => 0,
- 'validate_user_restrict_roles' => 0,
- 'validate_argument_php' => '',
- ),
- ));
- $handler->override_option('filters', array(
- 'status_extra' => array(
- 'operator' => '=',
- 'value' => '',
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
- ),
- 'id' => 'status_extra',
- 'table' => 'node',
- 'field' => 'status_extra',
- 'relationship' => 'nid',
- ),
- ));
- $handler->override_option('access', array(
- 'type' => 'none',
- ));
- $handler->override_option('cache', array(
- 'type' => 'none',
- ));
- $handler->override_option('empty', 'Pas de résultat');
- $handler->override_option('empty_format', '1');
- $handler->override_option('items_per_page', 0);
- $handler->override_option('use_pager', '0');
- $handler->override_option('style_plugin', 'table');
- $handler->override_option('row_options', array(
- 'inline' => array(
- 'field_fgcf_thematique_logo_fid' => 'field_fgcf_thematique_logo_fid',
- 'description' => 'description',
- ),
- 'separator' => '',
- 'hide_empty' => 0,
- ));
|