popsu_publications.views_default.inc 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <?php
  2. /**
  3. * @file
  4. * popsu_publications.views_default.inc
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. */
  9. function popsu_publications_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'publications';
  13. $view->description = 'Liste des publications';
  14. $view->tag = 'POPSU';
  15. $view->base_table = 'node';
  16. $view->human_name = 'Publications';
  17. $view->core = 7;
  18. $view->api_version = '3.0';
  19. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  20. /* Display: Master */
  21. $handler = $view->new_display('default', 'Master', 'default');
  22. $handler->display->display_options['use_more_always'] = FALSE;
  23. $handler->display->display_options['use_more_text'] = 'plus';
  24. $handler->display->display_options['access']['type'] = 'perm';
  25. $handler->display->display_options['cache']['type'] = 'none';
  26. $handler->display->display_options['query']['type'] = 'views_query';
  27. $handler->display->display_options['exposed_form']['type'] = 'basic';
  28. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
  29. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
  30. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
  31. $handler->display->display_options['pager']['type'] = 'full';
  32. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
  33. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
  34. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
  35. $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
  36. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
  37. $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
  38. $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
  39. $handler->display->display_options['style_plugin'] = 'default';
  40. $handler->display->display_options['row_plugin'] = 'fields';
  41. /* Champ: Contenu : Titre */
  42. $handler->display->display_options['fields']['title']['id'] = 'title';
  43. $handler->display->display_options['fields']['title']['table'] = 'node';
  44. $handler->display->display_options['fields']['title']['field'] = 'title';
  45. $handler->display->display_options['fields']['title']['label'] = '';
  46. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  47. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  48. /* Critère de tri: Contenu : Date de publication */
  49. $handler->display->display_options['sorts']['created']['id'] = 'created';
  50. $handler->display->display_options['sorts']['created']['table'] = 'node';
  51. $handler->display->display_options['sorts']['created']['field'] = 'created';
  52. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  53. /* Critère de filtrage: Contenu : Publié */
  54. $handler->display->display_options['filters']['status']['id'] = 'status';
  55. $handler->display->display_options['filters']['status']['table'] = 'node';
  56. $handler->display->display_options['filters']['status']['field'] = 'status';
  57. $handler->display->display_options['filters']['status']['value'] = 1;
  58. $handler->display->display_options['filters']['status']['group'] = 1;
  59. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  60. /* Critère de filtrage: Contenu : Type */
  61. $handler->display->display_options['filters']['type']['id'] = 'type';
  62. $handler->display->display_options['filters']['type']['table'] = 'node';
  63. $handler->display->display_options['filters']['type']['field'] = 'type';
  64. $handler->display->display_options['filters']['type']['value'] = array(
  65. 'popsu_publication' => 'popsu_publication',
  66. );
  67. /* Display: Toutes les publications */
  68. $handler = $view->new_display('page', 'Toutes les publications', 'page_1');
  69. $handler->display->display_options['defaults']['title'] = FALSE;
  70. $handler->display->display_options['title'] = 'Toutes les publications';
  71. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  72. $handler->display->display_options['path'] = 'publications';
  73. /* Display: Publications par ville Pane */
  74. $handler = $view->new_display('panel_pane', 'Publications par ville Pane', 'panel_pane_1');
  75. $handler->display->display_options['defaults']['title'] = FALSE;
  76. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  77. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  78. $handler->display->display_options['style_plugin'] = 'default';
  79. $handler->display->display_options['defaults']['style_options'] = FALSE;
  80. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  81. $handler->display->display_options['row_plugin'] = 'panels_fields';
  82. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion_pic';
  83. $handler->display->display_options['row_options']['regions'] = array(
  84. 'nid' => 'title_',
  85. 'field_popsu_publication_ville' => 'title_',
  86. 'title' => 'title',
  87. 'field_popsu_publication_soustitr' => 'title',
  88. 'edit_node' => 'title',
  89. 'field_popsu_publication_cover' => 'picture',
  90. 'field_popsu_publication_body' => 'left',
  91. 'edit_node_1' => 'left',
  92. 'view' => 'left',
  93. );
  94. $handler->display->display_options['defaults']['row_options'] = FALSE;
  95. $handler->display->display_options['defaults']['fields'] = FALSE;
  96. /* Champ: Global : PHP */
  97. $handler->display->display_options['fields']['php']['id'] = 'php';
  98. $handler->display->display_options['fields']['php']['table'] = 'views';
  99. $handler->display->display_options['fields']['php']['field'] = 'php';
  100. $handler->display->display_options['fields']['php']['label'] = '';
  101. $handler->display->display_options['fields']['php']['exclude'] = TRUE;
  102. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  103. $handler->display->display_options['fields']['php']['hide_empty'] = TRUE;
  104. $handler->display->display_options['fields']['php']['empty_zero'] = TRUE;
  105. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  106. $handler->display->display_options['fields']['php']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  107. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  108. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  109. /* Champ: Contenu : Nid */
  110. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  111. $handler->display->display_options['fields']['nid']['table'] = 'node';
  112. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  113. $handler->display->display_options['fields']['nid']['label'] = '';
  114. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  115. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  116. /* Champ: Contenu : Ville (POPSU France) */
  117. $handler->display->display_options['fields']['field_popsu_publication_ville']['id'] = 'field_popsu_publication_ville';
  118. $handler->display->display_options['fields']['field_popsu_publication_ville']['table'] = 'field_data_field_popsu_publication_ville';
  119. $handler->display->display_options['fields']['field_popsu_publication_ville']['field'] = 'field_popsu_publication_ville';
  120. $handler->display->display_options['fields']['field_popsu_publication_ville']['label'] = '';
  121. $handler->display->display_options['fields']['field_popsu_publication_ville']['alter']['alter_text'] = TRUE;
  122. $handler->display->display_options['fields']['field_popsu_publication_ville']['alter']['text'] = 'Publication';
  123. $handler->display->display_options['fields']['field_popsu_publication_ville']['element_label_colon'] = FALSE;
  124. $handler->display->display_options['fields']['field_popsu_publication_ville']['type'] = 'taxonomy_term_reference_plain';
  125. /* Champ: Contenu : Titre */
  126. $handler->display->display_options['fields']['title']['id'] = 'title';
  127. $handler->display->display_options['fields']['title']['table'] = 'node';
  128. $handler->display->display_options['fields']['title']['field'] = 'title';
  129. $handler->display->display_options['fields']['title']['label'] = '';
  130. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  131. $handler->display->display_options['fields']['title']['alter']['text'] = '<h3>[title]</h3>';
  132. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  133. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  134. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  135. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  136. /* Champ: Contenu : Sous titre de la publication */
  137. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['id'] = 'field_popsu_publication_soustitr';
  138. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['table'] = 'field_data_field_popsu_publication_soustitr';
  139. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['field'] = 'field_popsu_publication_soustitr';
  140. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['label'] = '';
  141. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['element_label_colon'] = FALSE;
  142. /* Champ: Contenu : Lien de modification */
  143. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  144. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  145. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  146. $handler->display->display_options['fields']['edit_node']['label'] = '';
  147. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  148. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  149. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier cette publication';
  150. /* Champ: Contenu : Image de couverture */
  151. $handler->display->display_options['fields']['field_popsu_publication_cover']['id'] = 'field_popsu_publication_cover';
  152. $handler->display->display_options['fields']['field_popsu_publication_cover']['table'] = 'field_data_field_popsu_publication_cover';
  153. $handler->display->display_options['fields']['field_popsu_publication_cover']['field'] = 'field_popsu_publication_cover';
  154. $handler->display->display_options['fields']['field_popsu_publication_cover']['label'] = '';
  155. $handler->display->display_options['fields']['field_popsu_publication_cover']['element_label_colon'] = FALSE;
  156. $handler->display->display_options['fields']['field_popsu_publication_cover']['click_sort_column'] = 'fid';
  157. $handler->display->display_options['fields']['field_popsu_publication_cover']['settings'] = array(
  158. 'image_style' => 'popsu-publication-cover',
  159. 'image_link' => '',
  160. );
  161. /* Champ: Contenu : Résumé de la publication */
  162. $handler->display->display_options['fields']['field_popsu_publication_body']['id'] = 'field_popsu_publication_body';
  163. $handler->display->display_options['fields']['field_popsu_publication_body']['table'] = 'field_data_field_popsu_publication_body';
  164. $handler->display->display_options['fields']['field_popsu_publication_body']['field'] = 'field_popsu_publication_body';
  165. $handler->display->display_options['fields']['field_popsu_publication_body']['label'] = '';
  166. $handler->display->display_options['fields']['field_popsu_publication_body']['element_label_colon'] = FALSE;
  167. /* Champ: Contenu : Lien de modification */
  168. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  169. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  170. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  171. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  172. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  173. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php]">Ajouter un document</a>';
  174. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item admin-add-item-margin';
  175. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  176. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  177. /* Champ: Global : Voir */
  178. $handler->display->display_options['fields']['view']['id'] = 'view';
  179. $handler->display->display_options['fields']['view']['table'] = 'views';
  180. $handler->display->display_options['fields']['view']['field'] = 'view';
  181. $handler->display->display_options['fields']['view']['label'] = '';
  182. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  183. $handler->display->display_options['fields']['view']['view'] = 'documents';
  184. $handler->display->display_options['fields']['view']['display'] = 'panel_pane_1';
  185. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],51';
  186. $handler->display->display_options['defaults']['arguments'] = FALSE;
  187. /* Filtre contextuel: Contenu : Ville (POPSU France) (field_popsu_publication_ville) */
  188. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['id'] = 'field_popsu_publication_ville_tid';
  189. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['table'] = 'field_data_field_popsu_publication_ville';
  190. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['field'] = 'field_popsu_publication_ville_tid';
  191. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['default_action'] = 'not found';
  192. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['exception']['title'] = 'Tout';
  193. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['default_argument_type'] = 'fixed';
  194. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['summary']['number_of_records'] = '0';
  195. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['summary']['format'] = 'default_summary';
  196. $handler->display->display_options['arguments']['field_popsu_publication_ville_tid']['summary_options']['items_per_page'] = '25';
  197. /* Filtre contextuel: Contenu : POPSU (field_popsu_publication_popsu) */
  198. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['id'] = 'field_popsu_publication_popsu_tid';
  199. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['table'] = 'field_data_field_popsu_publication_popsu';
  200. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['field'] = 'field_popsu_publication_popsu_tid';
  201. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_action'] = 'not found';
  202. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['exception']['title'] = 'Tout';
  203. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_argument_type'] = 'fixed';
  204. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['number_of_records'] = '0';
  205. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['format'] = 'default_summary';
  206. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary_options']['items_per_page'] = '25';
  207. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  208. $handler->display->display_options['argument_input'] = array(
  209. 'field_popsu_publication_ville_tid' => array(
  210. 'type' => 'user',
  211. 'context' => 'string.raw',
  212. 'context_optional' => 0,
  213. 'panel' => '0',
  214. 'fixed' => '',
  215. 'label' => 'Contenu : Ville (field_popsu_publication_ville)',
  216. ),
  217. 'field_popsu_publication_popsu_tid' => array(
  218. 'type' => 'user',
  219. 'context' => 'string.raw',
  220. 'context_optional' => 0,
  221. 'panel' => '0',
  222. 'fixed' => '',
  223. 'label' => 'Contenu : POPSU (field_popsu_publication_popsu)',
  224. ),
  225. );
  226. /* Display: Publications par POPSU Pane */
  227. $handler = $view->new_display('panel_pane', 'Publications par POPSU Pane', 'panel_pane_2');
  228. $handler->display->display_options['defaults']['title'] = FALSE;
  229. $handler->display->display_options['title'] = 'Les Publications par ville';
  230. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  231. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  232. $handler->display->display_options['style_plugin'] = 'default';
  233. $handler->display->display_options['defaults']['style_options'] = FALSE;
  234. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  235. $handler->display->display_options['row_plugin'] = 'panels_fields';
  236. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion_pic';
  237. $handler->display->display_options['row_options']['regions'] = array(
  238. 'nid' => 'title_',
  239. 'field_popsu_publication_ville' => 'title',
  240. 'title' => 'title_',
  241. 'field_popsu_publication_soustitr' => 'title_',
  242. 'edit_node' => 'title',
  243. 'field_popsu_publication_cover' => 'picture',
  244. 'field_popsu_publication_body' => 'left',
  245. 'edit_node_1' => 'left',
  246. 'view' => 'left',
  247. );
  248. $handler->display->display_options['defaults']['row_options'] = FALSE;
  249. $handler->display->display_options['defaults']['relationships'] = FALSE;
  250. /* Relation: Contenu : Ville (POPSU France) (field_popsu_publication_ville) */
  251. $handler->display->display_options['relationships']['field_popsu_publication_ville_tid']['id'] = 'field_popsu_publication_ville_tid';
  252. $handler->display->display_options['relationships']['field_popsu_publication_ville_tid']['table'] = 'field_data_field_popsu_publication_ville';
  253. $handler->display->display_options['relationships']['field_popsu_publication_ville_tid']['field'] = 'field_popsu_publication_ville_tid';
  254. $handler->display->display_options['relationships']['field_popsu_publication_ville_tid']['required'] = TRUE;
  255. $handler->display->display_options['defaults']['fields'] = FALSE;
  256. /* Champ: Global : PHP */
  257. $handler->display->display_options['fields']['php']['id'] = 'php';
  258. $handler->display->display_options['fields']['php']['table'] = 'views';
  259. $handler->display->display_options['fields']['php']['field'] = 'php';
  260. $handler->display->display_options['fields']['php']['label'] = '';
  261. $handler->display->display_options['fields']['php']['exclude'] = TRUE;
  262. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  263. $handler->display->display_options['fields']['php']['element_default_classes'] = FALSE;
  264. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  265. $handler->display->display_options['fields']['php']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  266. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  267. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  268. /* Champ: Contenu : Nid */
  269. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  270. $handler->display->display_options['fields']['nid']['table'] = 'node';
  271. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  272. $handler->display->display_options['fields']['nid']['label'] = '';
  273. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  274. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  275. /* Champ: Contenu : Titre */
  276. $handler->display->display_options['fields']['title']['id'] = 'title';
  277. $handler->display->display_options['fields']['title']['table'] = 'node';
  278. $handler->display->display_options['fields']['title']['field'] = 'title';
  279. $handler->display->display_options['fields']['title']['label'] = '';
  280. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  281. $handler->display->display_options['fields']['title']['alter']['text'] = '<h3>[title]</h3>';
  282. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  283. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  284. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  285. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  286. /* Champ: Contenu : Sous titre de la publication */
  287. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['id'] = 'field_popsu_publication_soustitr';
  288. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['table'] = 'field_data_field_popsu_publication_soustitr';
  289. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['field'] = 'field_popsu_publication_soustitr';
  290. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['label'] = '';
  291. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['element_label_colon'] = FALSE;
  292. /* Champ: Contenu : Ville (POPSU France) */
  293. $handler->display->display_options['fields']['field_popsu_publication_ville']['id'] = 'field_popsu_publication_ville';
  294. $handler->display->display_options['fields']['field_popsu_publication_ville']['table'] = 'field_data_field_popsu_publication_ville';
  295. $handler->display->display_options['fields']['field_popsu_publication_ville']['field'] = 'field_popsu_publication_ville';
  296. $handler->display->display_options['fields']['field_popsu_publication_ville']['label'] = '';
  297. $handler->display->display_options['fields']['field_popsu_publication_ville']['exclude'] = TRUE;
  298. $handler->display->display_options['fields']['field_popsu_publication_ville']['element_label_colon'] = FALSE;
  299. $handler->display->display_options['fields']['field_popsu_publication_ville']['type'] = 'taxonomy_term_reference_plain';
  300. /* Champ: Contenu : Lien de modification */
  301. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  302. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  303. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  304. $handler->display->display_options['fields']['edit_node']['label'] = '';
  305. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  306. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  307. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier cette publication';
  308. /* Champ: Contenu : Image de couverture */
  309. $handler->display->display_options['fields']['field_popsu_publication_cover']['id'] = 'field_popsu_publication_cover';
  310. $handler->display->display_options['fields']['field_popsu_publication_cover']['table'] = 'field_data_field_popsu_publication_cover';
  311. $handler->display->display_options['fields']['field_popsu_publication_cover']['field'] = 'field_popsu_publication_cover';
  312. $handler->display->display_options['fields']['field_popsu_publication_cover']['label'] = '';
  313. $handler->display->display_options['fields']['field_popsu_publication_cover']['element_label_colon'] = FALSE;
  314. $handler->display->display_options['fields']['field_popsu_publication_cover']['click_sort_column'] = 'fid';
  315. $handler->display->display_options['fields']['field_popsu_publication_cover']['settings'] = array(
  316. 'image_style' => 'popsu-publication-cover',
  317. 'image_link' => '',
  318. );
  319. /* Champ: Contenu : Résumé de la publication */
  320. $handler->display->display_options['fields']['field_popsu_publication_body']['id'] = 'field_popsu_publication_body';
  321. $handler->display->display_options['fields']['field_popsu_publication_body']['table'] = 'field_data_field_popsu_publication_body';
  322. $handler->display->display_options['fields']['field_popsu_publication_body']['field'] = 'field_popsu_publication_body';
  323. $handler->display->display_options['fields']['field_popsu_publication_body']['label'] = '';
  324. $handler->display->display_options['fields']['field_popsu_publication_body']['element_label_colon'] = FALSE;
  325. /* Champ: Contenu : Lien de modification */
  326. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  327. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  328. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  329. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  330. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  331. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php]">Ajouter un document</a>';
  332. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item';
  333. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  334. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  335. /* Champ: Global : Voir */
  336. $handler->display->display_options['fields']['view']['id'] = 'view';
  337. $handler->display->display_options['fields']['view']['table'] = 'views';
  338. $handler->display->display_options['fields']['view']['field'] = 'view';
  339. $handler->display->display_options['fields']['view']['label'] = '';
  340. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  341. $handler->display->display_options['fields']['view']['view'] = 'documents';
  342. $handler->display->display_options['fields']['view']['display'] = 'panel_pane_1';
  343. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],51';
  344. $handler->display->display_options['defaults']['sorts'] = FALSE;
  345. /* Critère de tri: Terme de taxonomie : Poids */
  346. $handler->display->display_options['sorts']['weight']['id'] = 'weight';
  347. $handler->display->display_options['sorts']['weight']['table'] = 'taxonomy_term_data';
  348. $handler->display->display_options['sorts']['weight']['field'] = 'weight';
  349. $handler->display->display_options['sorts']['weight']['relationship'] = 'field_popsu_publication_ville_tid';
  350. $handler->display->display_options['defaults']['arguments'] = FALSE;
  351. /* Filtre contextuel: Contenu : POPSU (field_popsu_publication_popsu) */
  352. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['id'] = 'field_popsu_publication_popsu_tid';
  353. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['table'] = 'field_data_field_popsu_publication_popsu';
  354. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['field'] = 'field_popsu_publication_popsu_tid';
  355. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_action'] = 'not found';
  356. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['exception']['title'] = 'Tout';
  357. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_argument_type'] = 'fixed';
  358. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['number_of_records'] = '0';
  359. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['format'] = 'default_summary';
  360. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary_options']['items_per_page'] = '25';
  361. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  362. $handler->display->display_options['defaults']['filters'] = FALSE;
  363. /* Critère de filtrage: Contenu : Publié */
  364. $handler->display->display_options['filters']['status']['id'] = 'status';
  365. $handler->display->display_options['filters']['status']['table'] = 'node';
  366. $handler->display->display_options['filters']['status']['field'] = 'status';
  367. $handler->display->display_options['filters']['status']['value'] = 1;
  368. $handler->display->display_options['filters']['status']['group'] = 1;
  369. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  370. /* Critère de filtrage: Contenu : Type */
  371. $handler->display->display_options['filters']['type']['id'] = 'type';
  372. $handler->display->display_options['filters']['type']['table'] = 'node';
  373. $handler->display->display_options['filters']['type']['field'] = 'type';
  374. $handler->display->display_options['filters']['type']['value'] = array(
  375. 'popsu_publication' => 'popsu_publication',
  376. );
  377. /* Critère de filtrage: Contenu : Ville (POPSU France) (field_popsu_publication_ville) */
  378. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['id'] = 'field_popsu_publication_ville_tid';
  379. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['table'] = 'field_data_field_popsu_publication_ville';
  380. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['field'] = 'field_popsu_publication_ville_tid';
  381. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['operator'] = 'not empty';
  382. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['type'] = 'select';
  383. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['vocabulary'] = 'popsu_villes';
  384. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  385. $handler->display->display_options['argument_input'] = array(
  386. 'field_popsu_publication_ville_tid' => array(
  387. 'type' => 'user',
  388. 'context' => 'string.raw',
  389. 'context_optional' => 0,
  390. 'panel' => '0',
  391. 'fixed' => '',
  392. 'label' => 'Contenu : Ville (field_popsu_publication_ville)',
  393. ),
  394. 'field_popsu_publication_popsu_tid' => array(
  395. 'type' => 'user',
  396. 'context' => 'string.raw',
  397. 'context_optional' => 0,
  398. 'panel' => '0',
  399. 'fixed' => '',
  400. 'label' => 'Contenu : POPSU (field_popsu_publication_popsu)',
  401. ),
  402. );
  403. /* Display: Publications par POPSU sans ville Pane */
  404. $handler = $view->new_display('panel_pane', 'Publications par POPSU sans ville Pane', 'panel_pane_3');
  405. $handler->display->display_options['defaults']['title'] = FALSE;
  406. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  407. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  408. $handler->display->display_options['style_plugin'] = 'default';
  409. $handler->display->display_options['defaults']['style_options'] = FALSE;
  410. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  411. $handler->display->display_options['row_plugin'] = 'panels_fields';
  412. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_70_30_accordion_pic';
  413. $handler->display->display_options['row_options']['regions'] = array(
  414. 'php' => 'left',
  415. 'nid' => 'title_',
  416. 'field_popsu_publication_ville' => 'title_',
  417. 'title' => 'left',
  418. 'field_popsu_publication_soustitr' => 'left',
  419. 'edit_node' => 'left',
  420. 'field_popsu_publication_cover' => 'picture',
  421. 'field_popsu_publication_body' => 'left',
  422. 'edit_node_1' => 'left',
  423. 'view' => 'left',
  424. );
  425. $handler->display->display_options['defaults']['row_options'] = FALSE;
  426. $handler->display->display_options['defaults']['relationships'] = FALSE;
  427. $handler->display->display_options['defaults']['fields'] = FALSE;
  428. /* Champ: Global : PHP */
  429. $handler->display->display_options['fields']['php']['id'] = 'php';
  430. $handler->display->display_options['fields']['php']['table'] = 'views';
  431. $handler->display->display_options['fields']['php']['field'] = 'php';
  432. $handler->display->display_options['fields']['php']['label'] = '';
  433. $handler->display->display_options['fields']['php']['exclude'] = TRUE;
  434. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  435. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  436. $handler->display->display_options['fields']['php']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  437. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  438. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  439. /* Champ: Contenu : Nid */
  440. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  441. $handler->display->display_options['fields']['nid']['table'] = 'node';
  442. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  443. $handler->display->display_options['fields']['nid']['label'] = '';
  444. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  445. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  446. $handler->display->display_options['fields']['nid']['element_default_classes'] = FALSE;
  447. $handler->display->display_options['fields']['nid']['hide_empty'] = TRUE;
  448. $handler->display->display_options['fields']['nid']['empty_zero'] = TRUE;
  449. /* Champ: Contenu : Ville (POPSU France) */
  450. $handler->display->display_options['fields']['field_popsu_publication_ville']['id'] = 'field_popsu_publication_ville';
  451. $handler->display->display_options['fields']['field_popsu_publication_ville']['table'] = 'field_data_field_popsu_publication_ville';
  452. $handler->display->display_options['fields']['field_popsu_publication_ville']['field'] = 'field_popsu_publication_ville';
  453. $handler->display->display_options['fields']['field_popsu_publication_ville']['label'] = '';
  454. $handler->display->display_options['fields']['field_popsu_publication_ville']['exclude'] = TRUE;
  455. $handler->display->display_options['fields']['field_popsu_publication_ville']['element_label_colon'] = FALSE;
  456. $handler->display->display_options['fields']['field_popsu_publication_ville']['type'] = 'taxonomy_term_reference_plain';
  457. /* Champ: Contenu : Titre */
  458. $handler->display->display_options['fields']['title']['id'] = 'title';
  459. $handler->display->display_options['fields']['title']['table'] = 'node';
  460. $handler->display->display_options['fields']['title']['field'] = 'title';
  461. $handler->display->display_options['fields']['title']['label'] = '';
  462. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  463. $handler->display->display_options['fields']['title']['alter']['text'] = '<h3>[title]</h3>';
  464. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  465. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  466. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  467. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  468. /* Champ: Contenu : Sous titre de la publication */
  469. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['id'] = 'field_popsu_publication_soustitr';
  470. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['table'] = 'field_data_field_popsu_publication_soustitr';
  471. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['field'] = 'field_popsu_publication_soustitr';
  472. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['label'] = '';
  473. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['element_label_colon'] = FALSE;
  474. /* Champ: Contenu : Lien de modification */
  475. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  476. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  477. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  478. $handler->display->display_options['fields']['edit_node']['label'] = '';
  479. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  480. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  481. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier cette publication';
  482. /* Champ: Contenu : Image de couverture */
  483. $handler->display->display_options['fields']['field_popsu_publication_cover']['id'] = 'field_popsu_publication_cover';
  484. $handler->display->display_options['fields']['field_popsu_publication_cover']['table'] = 'field_data_field_popsu_publication_cover';
  485. $handler->display->display_options['fields']['field_popsu_publication_cover']['field'] = 'field_popsu_publication_cover';
  486. $handler->display->display_options['fields']['field_popsu_publication_cover']['label'] = '';
  487. $handler->display->display_options['fields']['field_popsu_publication_cover']['element_label_colon'] = FALSE;
  488. $handler->display->display_options['fields']['field_popsu_publication_cover']['click_sort_column'] = 'fid';
  489. $handler->display->display_options['fields']['field_popsu_publication_cover']['settings'] = array(
  490. 'image_style' => 'popsu-publication-cover',
  491. 'image_link' => '',
  492. );
  493. /* Champ: Contenu : Résumé de la publication */
  494. $handler->display->display_options['fields']['field_popsu_publication_body']['id'] = 'field_popsu_publication_body';
  495. $handler->display->display_options['fields']['field_popsu_publication_body']['table'] = 'field_data_field_popsu_publication_body';
  496. $handler->display->display_options['fields']['field_popsu_publication_body']['field'] = 'field_popsu_publication_body';
  497. $handler->display->display_options['fields']['field_popsu_publication_body']['label'] = '';
  498. $handler->display->display_options['fields']['field_popsu_publication_body']['element_label_colon'] = FALSE;
  499. /* Champ: Contenu : Lien de modification */
  500. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  501. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  502. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  503. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  504. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  505. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php]">Ajouter un document</a>';
  506. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item';
  507. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  508. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  509. /* Champ: Global : Voir */
  510. $handler->display->display_options['fields']['view']['id'] = 'view';
  511. $handler->display->display_options['fields']['view']['table'] = 'views';
  512. $handler->display->display_options['fields']['view']['field'] = 'view';
  513. $handler->display->display_options['fields']['view']['label'] = '';
  514. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  515. $handler->display->display_options['fields']['view']['view'] = 'documents';
  516. $handler->display->display_options['fields']['view']['display'] = 'panel_pane_1';
  517. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],51';
  518. $handler->display->display_options['defaults']['sorts'] = FALSE;
  519. /* Critère de tri: Contenu : Titre */
  520. $handler->display->display_options['sorts']['title']['id'] = 'title';
  521. $handler->display->display_options['sorts']['title']['table'] = 'node';
  522. $handler->display->display_options['sorts']['title']['field'] = 'title';
  523. $handler->display->display_options['defaults']['arguments'] = FALSE;
  524. /* Filtre contextuel: Contenu : POPSU (field_popsu_publication_popsu) */
  525. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['id'] = 'field_popsu_publication_popsu_tid';
  526. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['table'] = 'field_data_field_popsu_publication_popsu';
  527. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['field'] = 'field_popsu_publication_popsu_tid';
  528. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_action'] = 'not found';
  529. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['exception']['title'] = 'Tout';
  530. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_argument_type'] = 'fixed';
  531. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['number_of_records'] = '0';
  532. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['format'] = 'default_summary';
  533. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary_options']['items_per_page'] = '25';
  534. $handler->display->display_options['defaults']['filter_groups'] = FALSE;
  535. $handler->display->display_options['defaults']['filters'] = FALSE;
  536. /* Critère de filtrage: Contenu : Publié */
  537. $handler->display->display_options['filters']['status']['id'] = 'status';
  538. $handler->display->display_options['filters']['status']['table'] = 'node';
  539. $handler->display->display_options['filters']['status']['field'] = 'status';
  540. $handler->display->display_options['filters']['status']['value'] = 1;
  541. $handler->display->display_options['filters']['status']['group'] = 1;
  542. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  543. /* Critère de filtrage: Contenu : Type */
  544. $handler->display->display_options['filters']['type']['id'] = 'type';
  545. $handler->display->display_options['filters']['type']['table'] = 'node';
  546. $handler->display->display_options['filters']['type']['field'] = 'type';
  547. $handler->display->display_options['filters']['type']['value'] = array(
  548. 'popsu_publication' => 'popsu_publication',
  549. );
  550. /* Critère de filtrage: Contenu : Ville (POPSU France) (field_popsu_publication_ville) */
  551. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['id'] = 'field_popsu_publication_ville_tid';
  552. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['table'] = 'field_data_field_popsu_publication_ville';
  553. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['field'] = 'field_popsu_publication_ville_tid';
  554. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['operator'] = 'empty';
  555. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['type'] = 'select';
  556. $handler->display->display_options['filters']['field_popsu_publication_ville_tid']['vocabulary'] = 'popsu_villes';
  557. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  558. $handler->display->display_options['argument_input'] = array(
  559. 'field_popsu_publication_ville_tid' => array(
  560. 'type' => 'user',
  561. 'context' => 'string.raw',
  562. 'context_optional' => 0,
  563. 'panel' => '0',
  564. 'fixed' => '',
  565. 'label' => 'Contenu : Ville (field_popsu_publication_ville)',
  566. ),
  567. 'field_popsu_publication_popsu_tid' => array(
  568. 'type' => 'user',
  569. 'context' => 'string.raw',
  570. 'context_optional' => 0,
  571. 'panel' => '0',
  572. 'fixed' => '',
  573. 'label' => 'Contenu : POPSU (field_popsu_publication_popsu)',
  574. ),
  575. );
  576. /* Display: Publications par thème EUROPE Pane */
  577. $handler = $view->new_display('panel_pane', 'Publications par thème EUROPE Pane', 'panel_pane_4');
  578. $handler->display->display_options['defaults']['title'] = FALSE;
  579. $handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
  580. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  581. $handler->display->display_options['style_plugin'] = 'default';
  582. $handler->display->display_options['defaults']['style_options'] = FALSE;
  583. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  584. $handler->display->display_options['row_plugin'] = 'panels_fields';
  585. $handler->display->display_options['row_options']['layout'] = 'flexible:popsu_accordion_column';
  586. $handler->display->display_options['row_options']['regions'] = array(
  587. 'php' => 'title',
  588. 'nid' => 'title',
  589. 'field_popsu_publication_theme' => 'title',
  590. 'title' => 'left',
  591. 'field_popsu_publication_soustitr' => 'left',
  592. 'edit_node' => 'left',
  593. 'field_popsu_publication_cover' => 'left',
  594. 'field_popsu_publication_body' => 'left',
  595. 'edit_node_1' => 'left',
  596. 'view' => 'left',
  597. );
  598. $handler->display->display_options['defaults']['row_options'] = FALSE;
  599. $handler->display->display_options['defaults']['fields'] = FALSE;
  600. /* Champ: Global : PHP */
  601. $handler->display->display_options['fields']['php']['id'] = 'php';
  602. $handler->display->display_options['fields']['php']['table'] = 'views';
  603. $handler->display->display_options['fields']['php']['field'] = 'php';
  604. $handler->display->display_options['fields']['php']['label'] = '';
  605. $handler->display->display_options['fields']['php']['exclude'] = TRUE;
  606. $handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
  607. $handler->display->display_options['fields']['php']['hide_empty'] = TRUE;
  608. $handler->display->display_options['fields']['php']['empty_zero'] = TRUE;
  609. $handler->display->display_options['fields']['php']['use_php_setup'] = 0;
  610. $handler->display->display_options['fields']['php']['php_output'] = '<?php echo drupal_get_path_alias(); ?>';
  611. $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
  612. $handler->display->display_options['fields']['php']['php_click_sortable'] = '';
  613. /* Champ: Contenu : Nid */
  614. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  615. $handler->display->display_options['fields']['nid']['table'] = 'node';
  616. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  617. $handler->display->display_options['fields']['nid']['label'] = '';
  618. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  619. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  620. /* Champ: Contenu : ou Thème (POPSU Europe) */
  621. $handler->display->display_options['fields']['field_popsu_publication_theme']['id'] = 'field_popsu_publication_theme';
  622. $handler->display->display_options['fields']['field_popsu_publication_theme']['table'] = 'field_data_field_popsu_publication_theme';
  623. $handler->display->display_options['fields']['field_popsu_publication_theme']['field'] = 'field_popsu_publication_theme';
  624. $handler->display->display_options['fields']['field_popsu_publication_theme']['label'] = '';
  625. $handler->display->display_options['fields']['field_popsu_publication_theme']['alter']['alter_text'] = TRUE;
  626. $handler->display->display_options['fields']['field_popsu_publication_theme']['alter']['text'] = 'Publications';
  627. $handler->display->display_options['fields']['field_popsu_publication_theme']['element_label_colon'] = FALSE;
  628. $handler->display->display_options['fields']['field_popsu_publication_theme']['type'] = 'node_reference_plain';
  629. /* Champ: Contenu : Titre */
  630. $handler->display->display_options['fields']['title']['id'] = 'title';
  631. $handler->display->display_options['fields']['title']['table'] = 'node';
  632. $handler->display->display_options['fields']['title']['field'] = 'title';
  633. $handler->display->display_options['fields']['title']['label'] = '';
  634. $handler->display->display_options['fields']['title']['alter']['alter_text'] = TRUE;
  635. $handler->display->display_options['fields']['title']['alter']['text'] = '<h3>[title]</h3>';
  636. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
  637. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
  638. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  639. $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
  640. /* Champ: Contenu : Sous titre de la publication */
  641. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['id'] = 'field_popsu_publication_soustitr';
  642. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['table'] = 'field_data_field_popsu_publication_soustitr';
  643. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['field'] = 'field_popsu_publication_soustitr';
  644. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['label'] = '';
  645. $handler->display->display_options['fields']['field_popsu_publication_soustitr']['element_label_colon'] = FALSE;
  646. /* Champ: Contenu : Lien de modification */
  647. $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  648. $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  649. $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  650. $handler->display->display_options['fields']['edit_node']['label'] = '';
  651. $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
  652. $handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
  653. $handler->display->display_options['fields']['edit_node']['text'] = 'Modifier cette publication';
  654. /* Champ: Contenu : Image de couverture */
  655. $handler->display->display_options['fields']['field_popsu_publication_cover']['id'] = 'field_popsu_publication_cover';
  656. $handler->display->display_options['fields']['field_popsu_publication_cover']['table'] = 'field_data_field_popsu_publication_cover';
  657. $handler->display->display_options['fields']['field_popsu_publication_cover']['field'] = 'field_popsu_publication_cover';
  658. $handler->display->display_options['fields']['field_popsu_publication_cover']['label'] = '';
  659. $handler->display->display_options['fields']['field_popsu_publication_cover']['element_label_colon'] = FALSE;
  660. $handler->display->display_options['fields']['field_popsu_publication_cover']['click_sort_column'] = 'fid';
  661. $handler->display->display_options['fields']['field_popsu_publication_cover']['settings'] = array(
  662. 'image_style' => 'popsu-publication-cover',
  663. 'image_link' => '',
  664. );
  665. /* Champ: Contenu : Résumé de la publication */
  666. $handler->display->display_options['fields']['field_popsu_publication_body']['id'] = 'field_popsu_publication_body';
  667. $handler->display->display_options['fields']['field_popsu_publication_body']['table'] = 'field_data_field_popsu_publication_body';
  668. $handler->display->display_options['fields']['field_popsu_publication_body']['field'] = 'field_popsu_publication_body';
  669. $handler->display->display_options['fields']['field_popsu_publication_body']['label'] = '';
  670. $handler->display->display_options['fields']['field_popsu_publication_body']['element_label_colon'] = FALSE;
  671. /* Champ: Contenu : Lien de modification */
  672. $handler->display->display_options['fields']['edit_node_1']['id'] = 'edit_node_1';
  673. $handler->display->display_options['fields']['edit_node_1']['table'] = 'views_entity_node';
  674. $handler->display->display_options['fields']['edit_node_1']['field'] = 'edit_node';
  675. $handler->display->display_options['fields']['edit_node_1']['label'] = '';
  676. $handler->display->display_options['fields']['edit_node_1']['alter']['alter_text'] = TRUE;
  677. $handler->display->display_options['fields']['edit_node_1']['alter']['text'] = '<a href="/node/add/popsu-document/[nid]?destination=[php]">Ajouter un document</a>';
  678. $handler->display->display_options['fields']['edit_node_1']['element_class'] = 'admin-add-item admin-add-item-margin';
  679. $handler->display->display_options['fields']['edit_node_1']['element_label_colon'] = FALSE;
  680. $handler->display->display_options['fields']['edit_node_1']['hide_empty'] = TRUE;
  681. /* Champ: Global : Voir */
  682. $handler->display->display_options['fields']['view']['id'] = 'view';
  683. $handler->display->display_options['fields']['view']['table'] = 'views';
  684. $handler->display->display_options['fields']['view']['field'] = 'view';
  685. $handler->display->display_options['fields']['view']['label'] = '';
  686. $handler->display->display_options['fields']['view']['element_label_colon'] = FALSE;
  687. $handler->display->display_options['fields']['view']['view'] = 'documents';
  688. $handler->display->display_options['fields']['view']['display'] = 'panel_pane_1';
  689. $handler->display->display_options['fields']['view']['arguments'] = '[!nid],51';
  690. $handler->display->display_options['defaults']['arguments'] = FALSE;
  691. /* Filtre contextuel: Contenu : POPSU (field_popsu_publication_popsu) */
  692. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['id'] = 'field_popsu_publication_popsu_tid';
  693. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['table'] = 'field_data_field_popsu_publication_popsu';
  694. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['field'] = 'field_popsu_publication_popsu_tid';
  695. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_action'] = 'not found';
  696. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['exception']['title'] = 'Tout';
  697. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['default_argument_type'] = 'fixed';
  698. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['number_of_records'] = '0';
  699. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary']['format'] = 'default_summary';
  700. $handler->display->display_options['arguments']['field_popsu_publication_popsu_tid']['summary_options']['items_per_page'] = '25';
  701. /* Filtre contextuel: Contenu : ou Thème (POPSU Europe) (field_popsu_publication_theme) */
  702. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['id'] = 'field_popsu_publication_theme_nid';
  703. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['table'] = 'field_data_field_popsu_publication_theme';
  704. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['field'] = 'field_popsu_publication_theme_nid';
  705. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['default_action'] = 'not found';
  706. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['exception']['title'] = 'Tout';
  707. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['default_argument_type'] = 'fixed';
  708. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['summary']['number_of_records'] = '0';
  709. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['summary']['format'] = 'default_summary';
  710. $handler->display->display_options['arguments']['field_popsu_publication_theme_nid']['summary_options']['items_per_page'] = '25';
  711. $handler->display->display_options['pane_category']['name'] = 'Volets de vue';
  712. $handler->display->display_options['argument_input'] = array(
  713. 'field_popsu_publication_popsu_tid' => array(
  714. 'type' => 'user',
  715. 'context' => 'string.raw',
  716. 'context_optional' => 0,
  717. 'panel' => '0',
  718. 'fixed' => '',
  719. 'label' => 'Contenu : POPSU (field_popsu_publication_popsu)',
  720. ),
  721. 'field_popsu_publication_theme_nid' => array(
  722. 'type' => 'user',
  723. 'context' => 'string.raw',
  724. 'context_optional' => 0,
  725. 'panel' => '0',
  726. 'fixed' => '',
  727. 'label' => 'Contenu : ou Thème (POPSU Europe) (field_popsu_publication_theme)',
  728. ),
  729. );
  730. $translatables['publications'] = array(
  731. t('Master'),
  732. t('plus'),
  733. t('Appliquer'),
  734. t('Réinitialiser'),
  735. t('Trier par'),
  736. t('Asc'),
  737. t('Desc'),
  738. t('Éléments par page'),
  739. t('- Tout -'),
  740. t('Décalage'),
  741. t('« premier'),
  742. t('‹ précédent'),
  743. t('suivant ›'),
  744. t('dernier »'),
  745. t('Toutes les publications'),
  746. t('Publications par ville Pane'),
  747. t('Publication'),
  748. t('<h3>[title]</h3>'),
  749. t('Modifier cette publication'),
  750. t('<a href="/node/add/popsu-document/[nid]?destination=[php]">Ajouter un document</a>'),
  751. t('Tout'),
  752. t('Volets de vue'),
  753. t('Publications par POPSU Pane'),
  754. t('Les Publications par ville'),
  755. t('terme à partir de field_popsu_publication_ville'),
  756. t('Publications par POPSU sans ville Pane'),
  757. t('Publications par thème EUROPE Pane'),
  758. t('Publications'),
  759. );
  760. $export['publications'] = $view;
  761. return $export;
  762. }