popsu_projets.pages_default.inc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. <?php
  2. /**
  3. * @file
  4. * popsu_projets.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_handlers().
  8. */
  9. function popsu_projets_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_4';
  15. $handler->task = 'node_view';
  16. $handler->subtask = '';
  17. $handler->handler = 'panel_context';
  18. $handler->weight = 3;
  19. $handler->conf = array(
  20. 'title' => 'Projets (feature)',
  21. 'no_blocks' => 0,
  22. 'pipeline' => 'standard',
  23. 'body_classes_to_remove' => '',
  24. 'body_classes_to_add' => '',
  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_projet_ville])',
  31. 'keyword' => 'taxonomy_term',
  32. 'name' => 'entity_from_field:field_popsu_projet_ville-node-taxonomy_term',
  33. 'delta' => 0,
  34. 'context' => 'argument_entity_id:node_1',
  35. 'id' => 1,
  36. ),
  37. ),
  38. 'access' => array(
  39. 'plugins' => array(
  40. 0 => array(
  41. 'name' => 'node_type',
  42. 'settings' => array(
  43. 'type' => array(
  44. 'popsu_projet' => 'popsu_projet',
  45. ),
  46. ),
  47. 'context' => 'argument_entity_id:node_1',
  48. 'not' => FALSE,
  49. ),
  50. ),
  51. 'logic' => 'and',
  52. ),
  53. );
  54. $display = new panels_display();
  55. $display->layout = 'flexible:popsu_74_36_stacked';
  56. $display->layout_settings = array();
  57. $display->panel_settings = array(
  58. 'style_settings' => array(
  59. 'default' => NULL,
  60. 'top' => NULL,
  61. 'left' => NULL,
  62. 'right' => NULL,
  63. 'bottom' => NULL,
  64. 'header' => NULL,
  65. 'footer' => NULL,
  66. ),
  67. );
  68. $display->cache = array();
  69. $display->title = '%taxonomy_term:name';
  70. $display->content = array();
  71. $display->panels = array();
  72. $pane = new stdClass();
  73. $pane->pid = 'new-1';
  74. $pane->panel = 'left';
  75. $pane->type = 'entity_field';
  76. $pane->subtype = 'node:field_popsu_projet_imageintro';
  77. $pane->shown = TRUE;
  78. $pane->access = array();
  79. $pane->configuration = array(
  80. 'label' => 'hidden',
  81. 'formatter' => 'image',
  82. 'delta_limit' => '0',
  83. 'delta_offset' => '0',
  84. 'delta_reversed' => 0,
  85. 'formatter_settings' => array(
  86. 'image_style' => 'popsu-projets-grande-image',
  87. 'image_link' => '',
  88. ),
  89. 'context' => 'argument_entity_id:node_1',
  90. 'override_title' => 1,
  91. 'override_title_text' => '<none>',
  92. );
  93. $pane->cache = array();
  94. $pane->style = array(
  95. 'settings' => NULL,
  96. );
  97. $pane->css = array(
  98. 'css_id' => '',
  99. 'css_class' => 'image-decallee',
  100. );
  101. $pane->extras = array();
  102. $pane->position = 0;
  103. $pane->locks = array();
  104. $display->content['new-1'] = $pane;
  105. $display->panels['left'][0] = 'new-1';
  106. $pane = new stdClass();
  107. $pane->pid = 'new-2';
  108. $pane->panel = 'left';
  109. $pane->type = 'entity_field';
  110. $pane->subtype = 'node:field_popsu_projet_presentation';
  111. $pane->shown = TRUE;
  112. $pane->access = array();
  113. $pane->configuration = array(
  114. 'label' => 'hidden',
  115. 'formatter' => 'text_default',
  116. 'delta_limit' => 0,
  117. 'delta_offset' => '0',
  118. 'delta_reversed' => FALSE,
  119. 'formatter_settings' => array(),
  120. 'context' => 'argument_entity_id:node_1',
  121. 'override_title' => 1,
  122. 'override_title_text' => 'Présentation du site',
  123. );
  124. $pane->cache = array();
  125. $pane->style = array(
  126. 'settings' => NULL,
  127. );
  128. $pane->css = array(
  129. 'css_id' => '',
  130. 'css_class' => 'layout-88p',
  131. );
  132. $pane->extras = array();
  133. $pane->position = 1;
  134. $pane->locks = array();
  135. $display->content['new-2'] = $pane;
  136. $display->panels['left'][1] = 'new-2';
  137. $pane = new stdClass();
  138. $pane->pid = 'new-3';
  139. $pane->panel = 'left';
  140. $pane->type = 'entity_field';
  141. $pane->subtype = 'node:field_popsu_projet_methodo';
  142. $pane->shown = TRUE;
  143. $pane->access = array();
  144. $pane->configuration = array(
  145. 'label' => 'hidden',
  146. 'formatter' => 'text_default',
  147. 'delta_limit' => 0,
  148. 'delta_offset' => '0',
  149. 'delta_reversed' => FALSE,
  150. 'formatter_settings' => array(),
  151. 'context' => 'argument_entity_id:node_1',
  152. 'override_title' => 1,
  153. 'override_title_text' => 'Démarche et méthodologie',
  154. );
  155. $pane->cache = array();
  156. $pane->style = array(
  157. 'settings' => NULL,
  158. );
  159. $pane->css = array(
  160. 'css_id' => '',
  161. 'css_class' => 'layout-88p',
  162. );
  163. $pane->extras = array();
  164. $pane->position = 2;
  165. $pane->locks = array();
  166. $display->content['new-3'] = $pane;
  167. $display->panels['left'][2] = 'new-3';
  168. $pane = new stdClass();
  169. $pane->pid = 'new-4';
  170. $pane->panel = 'right';
  171. $pane->type = 'entity_field';
  172. $pane->subtype = 'node:field_popsu_projet_geoloc';
  173. $pane->shown = TRUE;
  174. $pane->access = array();
  175. $pane->configuration = array(
  176. 'label' => 'title',
  177. 'formatter' => 'geofield_openlayers',
  178. 'delta_limit' => 0,
  179. 'delta_offset' => '0',
  180. 'delta_reversed' => FALSE,
  181. 'formatter_settings' => array(
  182. 'data' => 'full',
  183. 'map_preset' => 'popsu_map_projets',
  184. ),
  185. 'context' => 'argument_entity_id:node_1',
  186. 'override_title' => 1,
  187. 'override_title_text' => '<none>',
  188. );
  189. $pane->cache = array();
  190. $pane->style = array(
  191. 'settings' => NULL,
  192. );
  193. $pane->css = array();
  194. $pane->extras = array();
  195. $pane->position = 0;
  196. $pane->locks = array();
  197. $display->content['new-4'] = $pane;
  198. $display->panels['right'][0] = 'new-4';
  199. $pane = new stdClass();
  200. $pane->pid = 'new-5';
  201. $pane->panel = 'right';
  202. $pane->type = 'node_links';
  203. $pane->subtype = 'node_links';
  204. $pane->shown = TRUE;
  205. $pane->access = array(
  206. 'plugins' => array(
  207. 0 => array(
  208. 'name' => 'role',
  209. 'settings' => array(
  210. 'rids' => array(
  211. 0 => 3,
  212. 1 => 4,
  213. 2 => 5,
  214. ),
  215. ),
  216. 'context' => 'logged-in-user',
  217. 'not' => FALSE,
  218. ),
  219. ),
  220. );
  221. $pane->configuration = array(
  222. 'override_title' => 0,
  223. 'override_title_text' => '',
  224. 'build_mode' => 'full',
  225. 'identifier' => '',
  226. 'link' => 0,
  227. 'context' => 'argument_entity_id:node_1',
  228. );
  229. $pane->cache = array();
  230. $pane->style = array(
  231. 'settings' => NULL,
  232. );
  233. $pane->css = array(
  234. 'css_id' => '',
  235. 'css_class' => 'admin-add-item admin-add-item-panel',
  236. );
  237. $pane->extras = array();
  238. $pane->position = 1;
  239. $pane->locks = array();
  240. $display->content['new-5'] = $pane;
  241. $display->panels['right'][1] = 'new-5';
  242. $pane = new stdClass();
  243. $pane->pid = 'new-6';
  244. $pane->panel = 'right';
  245. $pane->type = 'entity_field';
  246. $pane->subtype = 'node:field_popsu_projet_adresse';
  247. $pane->shown = FALSE;
  248. $pane->access = array();
  249. $pane->configuration = array(
  250. 'label' => 'hidden',
  251. 'formatter' => 'addressfield_default',
  252. 'delta_limit' => 0,
  253. 'delta_offset' => '0',
  254. 'delta_reversed' => FALSE,
  255. 'formatter_settings' => array(
  256. 'use_widget_handlers' => 1,
  257. 'format_handlers' => array(
  258. 'address' => 'address',
  259. ),
  260. ),
  261. 'context' => 'argument_entity_id:node_1',
  262. 'override_title' => 1,
  263. 'override_title_text' => '<none>',
  264. );
  265. $pane->cache = array();
  266. $pane->style = array(
  267. 'settings' => NULL,
  268. );
  269. $pane->css = array();
  270. $pane->extras = array();
  271. $pane->position = 2;
  272. $pane->locks = array();
  273. $display->content['new-6'] = $pane;
  274. $display->panels['right'][2] = 'new-6';
  275. $pane = new stdClass();
  276. $pane->pid = 'new-7';
  277. $pane->panel = 'right';
  278. $pane->type = 'entity_field';
  279. $pane->subtype = 'node:field_popsu_projet_demarche';
  280. $pane->shown = TRUE;
  281. $pane->access = array();
  282. $pane->configuration = array(
  283. 'label' => 'hidden',
  284. 'formatter' => 'text_default',
  285. 'delta_limit' => 0,
  286. 'delta_offset' => '0',
  287. 'delta_reversed' => FALSE,
  288. 'formatter_settings' => array(),
  289. 'context' => 'argument_entity_id:node_1',
  290. 'override_title' => 1,
  291. 'override_title_text' => 'Chronologie',
  292. );
  293. $pane->cache = array();
  294. $pane->style = array(
  295. 'settings' => NULL,
  296. );
  297. $pane->css = array(
  298. 'css_id' => 'accordion-h2-chronologie',
  299. 'css_class' => 'accordion-h2 accordion-h2-panel',
  300. );
  301. $pane->extras = array();
  302. $pane->position = 3;
  303. $pane->locks = array();
  304. $display->content['new-7'] = $pane;
  305. $display->panels['right'][3] = 'new-7';
  306. $pane = new stdClass();
  307. $pane->pid = 'new-8';
  308. $pane->panel = 'right';
  309. $pane->type = 'entity_field';
  310. $pane->subtype = 'node:field_popsu_projet_programme';
  311. $pane->shown = TRUE;
  312. $pane->access = array();
  313. $pane->configuration = array(
  314. 'label' => 'title',
  315. 'formatter' => 'text_default',
  316. 'delta_limit' => 0,
  317. 'delta_offset' => '0',
  318. 'delta_reversed' => FALSE,
  319. 'formatter_settings' => array(),
  320. 'context' => 'argument_entity_id:node_1',
  321. 'override_title' => 0,
  322. 'override_title_text' => '',
  323. );
  324. $pane->cache = array();
  325. $pane->style = array(
  326. 'settings' => NULL,
  327. );
  328. $pane->css = array(
  329. 'css_id' => 'accordion-h2-programme',
  330. 'css_class' => 'accordion-h2 accordion-h2-panel',
  331. );
  332. $pane->extras = array();
  333. $pane->position = 4;
  334. $pane->locks = array();
  335. $display->content['new-8'] = $pane;
  336. $display->panels['right'][4] = 'new-8';
  337. $pane = new stdClass();
  338. $pane->pid = 'new-9';
  339. $pane->panel = 'right';
  340. $pane->type = 'entity_field';
  341. $pane->subtype = 'node:field_popsu_projet_acteurs';
  342. $pane->shown = TRUE;
  343. $pane->access = array();
  344. $pane->configuration = array(
  345. 'label' => 'title',
  346. 'formatter' => 'text_default',
  347. 'delta_limit' => 0,
  348. 'delta_offset' => '0',
  349. 'delta_reversed' => FALSE,
  350. 'formatter_settings' => array(),
  351. 'context' => 'argument_entity_id:node_1',
  352. 'override_title' => 0,
  353. 'override_title_text' => '',
  354. );
  355. $pane->cache = array();
  356. $pane->style = array(
  357. 'settings' => NULL,
  358. );
  359. $pane->css = array(
  360. 'css_id' => 'accordion-h2-acteurs',
  361. 'css_class' => 'accordion-h2 accordion-h2-panel',
  362. );
  363. $pane->extras = array();
  364. $pane->position = 5;
  365. $pane->locks = array();
  366. $display->content['new-9'] = $pane;
  367. $display->panels['right'][5] = 'new-9';
  368. $pane = new stdClass();
  369. $pane->pid = 'new-10';
  370. $pane->panel = 'right';
  371. $pane->type = 'views_panes';
  372. $pane->subtype = 'documents-panel_pane_2';
  373. $pane->shown = TRUE;
  374. $pane->access = array();
  375. $pane->configuration = array(
  376. 'arguments' => array(
  377. 'field_popsu_doc_parent_nid' => '%node:nid',
  378. 'field_popsu_doc_type_tid' => '52',
  379. ),
  380. );
  381. $pane->cache = array();
  382. $pane->style = array(
  383. 'settings' => NULL,
  384. );
  385. $pane->css = array(
  386. 'css_id' => 'accordion-h2-documents',
  387. 'css_class' => 'accordion-h2 accordion-h2-panel',
  388. );
  389. $pane->extras = array();
  390. $pane->position = 6;
  391. $pane->locks = array();
  392. $display->content['new-10'] = $pane;
  393. $display->panels['right'][6] = 'new-10';
  394. $pane = new stdClass();
  395. $pane->pid = 'new-11';
  396. $pane->panel = 'right';
  397. $pane->type = 'entity_field';
  398. $pane->subtype = 'node:field_popsu_projet_comparatif';
  399. $pane->shown = TRUE;
  400. $pane->access = array();
  401. $pane->configuration = array(
  402. 'label' => 'hidden',
  403. 'formatter' => 'node_reference_default',
  404. 'delta_limit' => '0',
  405. 'delta_offset' => '0',
  406. 'delta_reversed' => 0,
  407. 'formatter_settings' => array(),
  408. 'context' => 'argument_entity_id:node_1',
  409. 'override_title' => 1,
  410. 'override_title_text' => 'Comparatifs',
  411. );
  412. $pane->cache = array();
  413. $pane->style = array(
  414. 'settings' => NULL,
  415. );
  416. $pane->css = array(
  417. 'css_id' => 'accordion-h2-comparatif',
  418. 'css_class' => 'accordion-h2 accordion-h2-panel pseudo-list',
  419. );
  420. $pane->extras = array();
  421. $pane->position = 7;
  422. $pane->locks = array();
  423. $display->content['new-11'] = $pane;
  424. $display->panels['right'][7] = 'new-11';
  425. $pane = new stdClass();
  426. $pane->pid = 'new-12';
  427. $pane->panel = 'right';
  428. $pane->type = 'custom';
  429. $pane->subtype = 'custom';
  430. $pane->shown = TRUE;
  431. $pane->access = array();
  432. $pane->configuration = array(
  433. 'admin_title' => 'POPSU Fermeture de liste',
  434. 'title' => '<none>',
  435. 'body' => '<div></div>',
  436. 'format' => 'php_code',
  437. 'substitute' => 0,
  438. );
  439. $pane->cache = array();
  440. $pane->style = array(
  441. 'settings' => NULL,
  442. );
  443. $pane->css = array(
  444. 'css_id' => '',
  445. 'css_class' => 'border-last',
  446. );
  447. $pane->extras = array();
  448. $pane->position = 8;
  449. $pane->locks = array();
  450. $display->content['new-12'] = $pane;
  451. $display->panels['right'][8] = 'new-12';
  452. $pane = new stdClass();
  453. $pane->pid = 'new-13';
  454. $pane->panel = 'top';
  455. $pane->type = 'node_title';
  456. $pane->subtype = 'node_title';
  457. $pane->shown = TRUE;
  458. $pane->access = array();
  459. $pane->configuration = array(
  460. 'link' => 0,
  461. 'context' => 'argument_entity_id:node_1',
  462. 'override_title' => 1,
  463. 'override_title_text' => '<none>',
  464. );
  465. $pane->cache = array();
  466. $pane->style = array(
  467. 'settings' => NULL,
  468. );
  469. $pane->css = array(
  470. 'css_id' => '',
  471. 'css_class' => 'page-title-secondary',
  472. );
  473. $pane->extras = array();
  474. $pane->position = 0;
  475. $pane->locks = array();
  476. $display->content['new-13'] = $pane;
  477. $display->panels['top'][0] = 'new-13';
  478. $pane = new stdClass();
  479. $pane->pid = 'new-14';
  480. $pane->panel = 'top';
  481. $pane->type = 'views_panes';
  482. $pane->subtype = 'projets-panel_pane_3';
  483. $pane->shown = TRUE;
  484. $pane->access = array();
  485. $pane->configuration = array(
  486. 'arguments' => array(
  487. 'nid' => '%node:nid',
  488. ),
  489. );
  490. $pane->cache = array();
  491. $pane->style = array(
  492. 'settings' => NULL,
  493. );
  494. $pane->css = array();
  495. $pane->extras = array();
  496. $pane->position = 1;
  497. $pane->locks = array();
  498. $display->content['new-14'] = $pane;
  499. $display->panels['top'][1] = 'new-14';
  500. $display->hide_title = PANELS_TITLE_FIXED;
  501. $display->title_pane = '0';
  502. $handler->conf['display'] = $display;
  503. $export['node_view_panel_context_4'] = $handler;
  504. return $export;
  505. }