popsu_actualites.views_default.inc 59 KB

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