popsu_villes.pages_default.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. <?php
  2. /**
  3. * @file
  4. * popsu_villes.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_handlers().
  8. */
  9. function popsu_villes_default_page_manager_handlers() {
  10. $export = array();
  11. $handler = new stdClass();
  12. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  13. $handler->api_version = 1;
  14. $handler->name = 'node_view_panel_context_2';
  15. $handler->task = 'node_view';
  16. $handler->subtask = '';
  17. $handler->handler = 'panel_context';
  18. $handler->weight = 1;
  19. $handler->conf = array(
  20. 'title' => 'Villes (feature)',
  21. 'no_blocks' => 0,
  22. 'pipeline' => 'standard',
  23. 'body_classes_to_remove' => '',
  24. 'body_classes_to_add' => 'panel-ville',
  25. 'css_id' => '',
  26. 'css' => '',
  27. 'contexts' => array(),
  28. 'relationships' => array(
  29. 0 => array(
  30. 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_ville_ville])',
  31. 'keyword' => 'taxonomy_term',
  32. 'name' => 'entity_from_field:field_popsu_ville_ville-node-taxonomy_term',
  33. 'delta' => 0,
  34. 'context' => 'argument_entity_id:node_1',
  35. 'id' => 1,
  36. ),
  37. 1 => array(
  38. 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: POPSU [field_popsu_ville_popsu])',
  39. 'keyword' => 'taxonomy_term_2',
  40. 'name' => 'entity_from_field:field_popsu_ville_popsu-node-taxonomy_term',
  41. 'delta' => 0,
  42. 'context' => 'argument_entity_id:node_1',
  43. 'id' => 1,
  44. ),
  45. ),
  46. 'access' => array(
  47. 'plugins' => array(
  48. 0 => array(
  49. 'name' => 'node_type',
  50. 'settings' => array(
  51. 'type' => array(
  52. 'popsu_ville' => 'popsu_ville',
  53. ),
  54. ),
  55. 'context' => 'argument_entity_id:node_1',
  56. 'not' => FALSE,
  57. ),
  58. ),
  59. 'logic' => 'and',
  60. ),
  61. );
  62. $display = new panels_display();
  63. $display->layout = 'flexible:popsu_74_36_stacked';
  64. $display->layout_settings = array();
  65. $display->panel_settings = array(
  66. 'style_settings' => array(
  67. 'default' => NULL,
  68. 'top' => NULL,
  69. 'left' => NULL,
  70. 'right' => NULL,
  71. 'bottom' => NULL,
  72. 'header' => NULL,
  73. 'footer' => NULL,
  74. ),
  75. );
  76. $display->cache = array();
  77. $display->title = '%node:title';
  78. $display->uuid = '2a15c48c-e269-41d7-900d-2968a7252ef3';
  79. $display->storage_type = 'page_manager';
  80. $display->storage_id = 'node_view_panel_context_2';
  81. $display->content = array();
  82. $display->panels = array();
  83. $pane = new stdClass();
  84. $pane->pid = 'new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
  85. $pane->panel = 'footer';
  86. $pane->type = 'views_panes';
  87. $pane->subtype = 'colloques-panel_pane_1';
  88. $pane->shown = TRUE;
  89. $pane->access = array();
  90. $pane->configuration = array(
  91. 'arguments' => array(
  92. 'field_popsu_colloque_ville_tid' => '%taxonomy_term:tid',
  93. 'field_popsu_colloque_popsu_tid' => '%taxonomy_term_2:tid',
  94. ),
  95. );
  96. $pane->cache = array();
  97. $pane->style = array(
  98. 'settings' => NULL,
  99. );
  100. $pane->css = array(
  101. 'css_id' => 'pane-colloque',
  102. 'css_class' => 'pane-74-26',
  103. );
  104. $pane->extras = array();
  105. $pane->position = 0;
  106. $pane->locks = array();
  107. $pane->uuid = '19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
  108. $display->content['new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb'] = $pane;
  109. $display->panels['footer'][0] = 'new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
  110. $pane = new stdClass();
  111. $pane->pid = 'new-20e52524-8591-4ca9-9cf9-b0812e4c1b22';
  112. $pane->panel = 'footer';
  113. $pane->type = 'views_panes';
  114. $pane->subtype = 'publications-panel_pane_1';
  115. $pane->shown = TRUE;
  116. $pane->access = array();
  117. $pane->configuration = array(
  118. 'arguments' => array(
  119. 'field_popsu_publication_ville_tid' => '%taxonomy_term:tid',
  120. 'field_popsu_publication_popsu_tid' => '%taxonomy_term_2:tid',
  121. ),
  122. );
  123. $pane->cache = array();
  124. $pane->style = array(
  125. 'settings' => NULL,
  126. );
  127. $pane->css = array(
  128. 'css_id' => 'pane-publication',
  129. 'css_class' => 'layout-88p pane-74-26 clearfix',
  130. );
  131. $pane->extras = array();
  132. $pane->position = 1;
  133. $pane->locks = array();
  134. $pane->uuid = '20e52524-8591-4ca9-9cf9-b0812e4c1b22';
  135. $display->content['new-20e52524-8591-4ca9-9cf9-b0812e4c1b22'] = $pane;
  136. $display->panels['footer'][1] = 'new-20e52524-8591-4ca9-9cf9-b0812e4c1b22';
  137. $pane = new stdClass();
  138. $pane->pid = 'new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
  139. $pane->panel = 'footer';
  140. $pane->type = 'custom';
  141. $pane->subtype = 'custom';
  142. $pane->shown = TRUE;
  143. $pane->access = array();
  144. $pane->configuration = array(
  145. 'admin_title' => 'POPSU Fermeture de liste',
  146. 'title' => '<none>',
  147. 'body' => '<div></div>',
  148. 'format' => 'php_code',
  149. 'substitute' => 0,
  150. );
  151. $pane->cache = array();
  152. $pane->style = array(
  153. 'settings' => NULL,
  154. );
  155. $pane->css = array(
  156. 'css_id' => '',
  157. 'css_class' => 'border-last layout-64-5p',
  158. );
  159. $pane->extras = array();
  160. $pane->position = 2;
  161. $pane->locks = array();
  162. $pane->uuid = '0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
  163. $display->content['new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb'] = $pane;
  164. $display->panels['footer'][2] = 'new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
  165. $pane = new stdClass();
  166. $pane->pid = 'new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
  167. $pane->panel = 'left';
  168. $pane->type = 'entity_field';
  169. $pane->subtype = 'node:field_popsu_ville_images_illustr';
  170. $pane->shown = TRUE;
  171. $pane->access = array();
  172. $pane->configuration = array(
  173. 'label' => 'title',
  174. 'formatter' => 'image',
  175. 'delta_limit' => '0',
  176. 'delta_offset' => '0',
  177. 'delta_reversed' => 0,
  178. 'formatter_settings' => array(
  179. 'image_style' => 'popsu-villes-grande-image',
  180. 'image_link' => '',
  181. ),
  182. 'context' => 'argument_entity_id:node_1',
  183. 'override_title' => 1,
  184. 'override_title_text' => '<none>',
  185. );
  186. $pane->cache = array();
  187. $pane->style = array(
  188. 'settings' => NULL,
  189. );
  190. $pane->css = array(
  191. 'css_id' => 'panel-ville-grande-image',
  192. 'css_class' => 'image-decallee captioned',
  193. );
  194. $pane->extras = array();
  195. $pane->position = 0;
  196. $pane->locks = array();
  197. $pane->uuid = '4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
  198. $display->content['new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610'] = $pane;
  199. $display->panels['left'][0] = 'new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
  200. $pane = new stdClass();
  201. $pane->pid = 'new-95496ef6-19e2-49c4-8c59-f3d251199a84';
  202. $pane->panel = 'left';
  203. $pane->type = 'entity_field';
  204. $pane->subtype = 'node:field_popsu_ville_body';
  205. $pane->shown = TRUE;
  206. $pane->access = array();
  207. $pane->configuration = array(
  208. 'label' => 'title',
  209. 'formatter' => 'text_default',
  210. 'delta_limit' => 0,
  211. 'delta_offset' => '0',
  212. 'delta_reversed' => FALSE,
  213. 'formatter_settings' => array(),
  214. 'context' => 'argument_entity_id:node_1',
  215. 'override_title' => 1,
  216. 'override_title_text' => '<none>',
  217. );
  218. $pane->cache = array();
  219. $pane->style = array(
  220. 'settings' => NULL,
  221. );
  222. $pane->css = array(
  223. 'css_id' => 'panel-ville-texte-intro',
  224. 'css_class' => 'layout-88p',
  225. );
  226. $pane->extras = array();
  227. $pane->position = 1;
  228. $pane->locks = array();
  229. $pane->uuid = '95496ef6-19e2-49c4-8c59-f3d251199a84';
  230. $display->content['new-95496ef6-19e2-49c4-8c59-f3d251199a84'] = $pane;
  231. $display->panels['left'][1] = 'new-95496ef6-19e2-49c4-8c59-f3d251199a84';
  232. $pane = new stdClass();
  233. $pane->pid = 'new-8633443c-8d55-49e3-9e83-f316d9a5e06c';
  234. $pane->panel = 'right';
  235. $pane->type = 'entity_field';
  236. $pane->subtype = 'node:field_popsu_ville_equipe';
  237. $pane->shown = TRUE;
  238. $pane->access = array();
  239. $pane->configuration = array(
  240. 'label' => 'title',
  241. 'formatter' => 'text_default',
  242. 'delta_limit' => 0,
  243. 'delta_offset' => '0',
  244. 'delta_reversed' => FALSE,
  245. 'formatter_settings' => array(),
  246. 'context' => 'argument_entity_id:node_1',
  247. 'override_title' => 0,
  248. 'override_title_text' => '',
  249. );
  250. $pane->cache = array();
  251. $pane->style = array(
  252. 'settings' => NULL,
  253. );
  254. $pane->css = array(
  255. 'css_id' => 'accordion-h2-ville-equipe',
  256. 'css_class' => 'accordion-h2-ex accordion-h2-panel',
  257. );
  258. $pane->extras = array();
  259. $pane->position = 0;
  260. $pane->locks = array();
  261. $pane->uuid = '8633443c-8d55-49e3-9e83-f316d9a5e06c';
  262. $display->content['new-8633443c-8d55-49e3-9e83-f316d9a5e06c'] = $pane;
  263. $display->panels['right'][0] = 'new-8633443c-8d55-49e3-9e83-f316d9a5e06c';
  264. $pane = new stdClass();
  265. $pane->pid = 'new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
  266. $pane->panel = 'right';
  267. $pane->type = 'entity_field';
  268. $pane->subtype = 'node:field_popsu_ville_coordinateur';
  269. $pane->shown = TRUE;
  270. $pane->access = array();
  271. $pane->configuration = array(
  272. 'label' => 'title',
  273. 'formatter' => 'text_default',
  274. 'delta_limit' => 0,
  275. 'delta_offset' => '0',
  276. 'delta_reversed' => FALSE,
  277. 'formatter_settings' => array(),
  278. 'context' => 'argument_entity_id:node_1',
  279. 'override_title' => 1,
  280. 'override_title_text' => 'Coordinateur<br>des acteurs',
  281. );
  282. $pane->cache = array();
  283. $pane->style = array(
  284. 'settings' => NULL,
  285. );
  286. $pane->css = array(
  287. 'css_id' => 'accordion-h2-ville-coordinateur',
  288. 'css_class' => 'accordion-h2-ex accordion-h2-panel',
  289. );
  290. $pane->extras = array();
  291. $pane->position = 1;
  292. $pane->locks = array();
  293. $pane->uuid = 'b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
  294. $display->content['new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c'] = $pane;
  295. $display->panels['right'][1] = 'new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
  296. $pane = new stdClass();
  297. $pane->pid = 'new-80da3ac7-1847-46ac-a958-ce6eec560906';
  298. $pane->panel = 'right';
  299. $pane->type = 'entity_field';
  300. $pane->subtype = 'node:field_popsu_ville_partenairesimg';
  301. $pane->shown = TRUE;
  302. $pane->access = array();
  303. $pane->configuration = array(
  304. 'label' => 'title',
  305. 'formatter' => 'image',
  306. 'delta_limit' => '0',
  307. 'delta_offset' => '0',
  308. 'delta_reversed' => 0,
  309. 'formatter_settings' => array(
  310. 'image_style' => '',
  311. 'image_link' => '',
  312. ),
  313. 'context' => 'argument_entity_id:node_1',
  314. 'override_title' => 1,
  315. 'override_title_text' => 'Partenaires',
  316. );
  317. $pane->cache = array();
  318. $pane->style = array(
  319. 'settings' => NULL,
  320. );
  321. $pane->css = array(
  322. 'css_id' => 'accordion-h2-ville-partenaires',
  323. 'css_class' => 'accordion-h2-ex accordion-h2-panel',
  324. );
  325. $pane->extras = array();
  326. $pane->position = 2;
  327. $pane->locks = array();
  328. $pane->uuid = '80da3ac7-1847-46ac-a958-ce6eec560906';
  329. $display->content['new-80da3ac7-1847-46ac-a958-ce6eec560906'] = $pane;
  330. $display->panels['right'][2] = 'new-80da3ac7-1847-46ac-a958-ce6eec560906';
  331. $pane = new stdClass();
  332. $pane->pid = 'new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
  333. $pane->panel = 'right';
  334. $pane->type = 'views_panes';
  335. $pane->subtype = 'documents-panel_pane_2';
  336. $pane->shown = TRUE;
  337. $pane->access = array();
  338. $pane->configuration = array(
  339. 'arguments' => array(
  340. 'field_popsu_doc_parent_nid' => '%node:nid',
  341. 'field_popsu_doc_type_tid' => '52',
  342. ),
  343. );
  344. $pane->cache = array();
  345. $pane->style = array(
  346. 'settings' => NULL,
  347. );
  348. $pane->css = array(
  349. 'css_id' => 'accordion-h2-documents',
  350. 'css_class' => 'accordion-h2 accordion-h2-panel',
  351. );
  352. $pane->extras = array();
  353. $pane->position = 3;
  354. $pane->locks = array();
  355. $pane->uuid = '7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
  356. $display->content['new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8'] = $pane;
  357. $display->panels['right'][3] = 'new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
  358. $pane = new stdClass();
  359. $pane->pid = 'new-beaed20f-342d-4553-ad2e-9527df2d46e1';
  360. $pane->panel = 'right';
  361. $pane->type = 'custom';
  362. $pane->subtype = 'custom';
  363. $pane->shown = TRUE;
  364. $pane->access = array();
  365. $pane->configuration = array(
  366. 'admin_title' => 'POPSU Fermeture de liste',
  367. 'title' => '<none>',
  368. 'body' => '<div></div>',
  369. 'format' => 'php_code',
  370. 'substitute' => 0,
  371. );
  372. $pane->cache = array();
  373. $pane->style = array(
  374. 'settings' => NULL,
  375. );
  376. $pane->css = array(
  377. 'css_id' => '',
  378. 'css_class' => 'border-last',
  379. );
  380. $pane->extras = array();
  381. $pane->position = 4;
  382. $pane->locks = array();
  383. $pane->uuid = 'beaed20f-342d-4553-ad2e-9527df2d46e1';
  384. $display->content['new-beaed20f-342d-4553-ad2e-9527df2d46e1'] = $pane;
  385. $display->panels['right'][4] = 'new-beaed20f-342d-4553-ad2e-9527df2d46e1';
  386. $pane = new stdClass();
  387. $pane->pid = 'new-c976aec7-6650-4c5c-bb9c-4a44e7872566';
  388. $pane->panel = 'top';
  389. $pane->type = 'node_links';
  390. $pane->subtype = 'node_links';
  391. $pane->shown = FALSE;
  392. $pane->access = array();
  393. $pane->configuration = array(
  394. 'override_title' => 0,
  395. 'override_title_text' => '',
  396. 'build_mode' => 'full',
  397. 'identifier' => '',
  398. 'link' => 1,
  399. 'context' => 'argument_entity_id:node_1',
  400. );
  401. $pane->cache = array();
  402. $pane->style = array(
  403. 'settings' => NULL,
  404. );
  405. $pane->css = array(
  406. 'css_id' => '',
  407. 'css_class' => 'admin-add-item',
  408. );
  409. $pane->extras = array();
  410. $pane->position = 0;
  411. $pane->locks = array();
  412. $pane->uuid = 'c976aec7-6650-4c5c-bb9c-4a44e7872566';
  413. $display->content['new-c976aec7-6650-4c5c-bb9c-4a44e7872566'] = $pane;
  414. $display->panels['top'][0] = 'new-c976aec7-6650-4c5c-bb9c-4a44e7872566';
  415. $display->hide_title = PANELS_TITLE_FIXED;
  416. $display->title_pane = '0';
  417. $handler->conf['display'] = $display;
  418. $export['node_view_panel_context_2'] = $handler;
  419. return $export;
  420. }