popsu_special_pages.pages_default.inc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. <?php
  2. /**
  3. * @file
  4. * popsu_special_pages.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_handlers().
  8. */
  9. function popsu_special_pages_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_7';
  15. $handler->task = 'node_view';
  16. $handler->subtask = '';
  17. $handler->handler = 'panel_context';
  18. $handler->weight = 6;
  19. $handler->conf = array(
  20. 'title' => 'Special (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: POPSU [field_popsu_special_popsu])',
  31. 'keyword' => 'taxonomy_term',
  32. 'name' => 'entity_from_field:field_popsu_special_popsu-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: Type de page spéciale [field_popsu_special_typetaxo])',
  39. 'keyword' => 'taxonomy_term_2',
  40. 'name' => 'entity_from_field:field_popsu_special_typetaxo-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_special' => 'popsu_special',
  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->content = array();
  79. $display->panels = array();
  80. $pane = new stdClass();
  81. $pane->pid = 'new-1';
  82. $pane->panel = 'footer';
  83. $pane->type = 'node_title';
  84. $pane->subtype = 'node_title';
  85. $pane->shown = FALSE;
  86. $pane->access = array();
  87. $pane->configuration = array(
  88. 'link' => 1,
  89. 'context' => 'argument_entity_id:node_1',
  90. 'override_title' => 0,
  91. 'override_title_text' => '',
  92. );
  93. $pane->cache = array();
  94. $pane->style = array(
  95. 'settings' => NULL,
  96. );
  97. $pane->css = array();
  98. $pane->extras = array();
  99. $pane->position = 0;
  100. $pane->locks = array();
  101. $display->content['new-1'] = $pane;
  102. $display->panels['footer'][0] = 'new-1';
  103. $pane = new stdClass();
  104. $pane->pid = 'new-2';
  105. $pane->panel = 'footer';
  106. $pane->type = 'node_content';
  107. $pane->subtype = 'node_content';
  108. $pane->shown = FALSE;
  109. $pane->access = array();
  110. $pane->configuration = array(
  111. 'links' => 0,
  112. 'no_extras' => 0,
  113. 'override_title' => 1,
  114. 'override_title_text' => '<none>',
  115. 'identifier' => '',
  116. 'link' => 0,
  117. 'leave_node_title' => 0,
  118. 'build_mode' => 'full',
  119. 'context' => 'argument_entity_id:node_1',
  120. );
  121. $pane->cache = array();
  122. $pane->style = array(
  123. 'settings' => NULL,
  124. );
  125. $pane->css = array();
  126. $pane->extras = array();
  127. $pane->position = 1;
  128. $pane->locks = array();
  129. $display->content['new-2'] = $pane;
  130. $display->panels['footer'][1] = 'new-2';
  131. $pane = new stdClass();
  132. $pane->pid = 'new-3';
  133. $pane->panel = 'top';
  134. $pane->type = 'entity_field';
  135. $pane->subtype = 'node:field_popsu_special_body';
  136. $pane->shown = TRUE;
  137. $pane->access = array(
  138. 'plugins' => array(
  139. 0 => array(
  140. 'name' => 'term',
  141. 'settings' => array(
  142. 'vid' => '8',
  143. 6 => array(),
  144. 7 => array(),
  145. 8 => array(
  146. 31 => '31',
  147. ),
  148. 9 => array(),
  149. 1 => array(),
  150. ),
  151. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  152. 'not' => TRUE,
  153. ),
  154. ),
  155. );
  156. $pane->configuration = array(
  157. 'label' => 'hidden',
  158. 'formatter' => 'text_default',
  159. 'delta_limit' => 0,
  160. 'delta_offset' => '0',
  161. 'delta_reversed' => FALSE,
  162. 'formatter_settings' => array(),
  163. 'context' => 'argument_entity_id:node_1',
  164. 'override_title' => 1,
  165. 'override_title_text' => '<none>',
  166. );
  167. $pane->cache = array();
  168. $pane->style = array(
  169. 'settings' => NULL,
  170. );
  171. $pane->css = array(
  172. 'css_id' => '',
  173. 'css_class' => 'layout-64p',
  174. );
  175. $pane->extras = array();
  176. $pane->position = 0;
  177. $pane->locks = array();
  178. $display->content['new-3'] = $pane;
  179. $display->panels['top'][0] = 'new-3';
  180. $pane = new stdClass();
  181. $pane->pid = 'new-4';
  182. $pane->panel = 'top';
  183. $pane->type = 'panels_mini';
  184. $pane->subtype = 'popsu_special_accueil_pps1';
  185. $pane->shown = TRUE;
  186. $pane->access = array(
  187. 'plugins' => array(
  188. 0 => array(
  189. 'name' => 'term',
  190. 'settings' => array(
  191. 'vid' => '6',
  192. 6 => array(
  193. 1 => '1',
  194. ),
  195. 7 => array(),
  196. 8 => array(),
  197. 9 => array(),
  198. 1 => array(),
  199. ),
  200. 'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
  201. 'not' => FALSE,
  202. ),
  203. 1 => array(
  204. 'name' => 'term',
  205. 'settings' => array(
  206. 'vid' => '8',
  207. 6 => array(),
  208. 7 => array(),
  209. 8 => array(
  210. 31 => '31',
  211. ),
  212. 9 => array(),
  213. 1 => array(),
  214. ),
  215. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  216. 'not' => FALSE,
  217. ),
  218. ),
  219. );
  220. $pane->configuration = array(
  221. 'context' => array(
  222. 0 => 'argument_entity_id:node_1',
  223. ),
  224. 'override_title' => 1,
  225. 'override_title_text' => '<none>',
  226. );
  227. $pane->cache = array();
  228. $pane->style = array(
  229. 'settings' => NULL,
  230. );
  231. $pane->css = array();
  232. $pane->extras = array();
  233. $pane->position = 1;
  234. $pane->locks = array();
  235. $display->content['new-4'] = $pane;
  236. $display->panels['top'][1] = 'new-4';
  237. $pane = new stdClass();
  238. $pane->pid = 'new-5';
  239. $pane->panel = 'top';
  240. $pane->type = 'panels_mini';
  241. $pane->subtype = 'popsu_special_accueil_pps2';
  242. $pane->shown = TRUE;
  243. $pane->access = array(
  244. 'plugins' => array(
  245. 0 => array(
  246. 'name' => 'term',
  247. 'settings' => array(
  248. 'vid' => '6',
  249. 6 => array(
  250. 2 => '2',
  251. ),
  252. 7 => array(),
  253. 8 => array(),
  254. 9 => array(),
  255. 10 => array(),
  256. 1 => array(),
  257. ),
  258. 'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
  259. 'not' => FALSE,
  260. ),
  261. 1 => array(
  262. 'name' => 'term',
  263. 'settings' => array(
  264. 'vid' => '8',
  265. 6 => array(),
  266. 7 => array(),
  267. 8 => array(
  268. 31 => '31',
  269. ),
  270. 9 => array(),
  271. 10 => array(),
  272. 1 => array(),
  273. ),
  274. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  275. 'not' => FALSE,
  276. ),
  277. ),
  278. );
  279. $pane->configuration = array(
  280. 'context' => array(
  281. 0 => 'argument_entity_id:node_1',
  282. ),
  283. 'override_title' => 1,
  284. 'override_title_text' => '<none>',
  285. );
  286. $pane->cache = array();
  287. $pane->style = array(
  288. 'settings' => NULL,
  289. );
  290. $pane->css = array();
  291. $pane->extras = array();
  292. $pane->position = 2;
  293. $pane->locks = array();
  294. $display->content['new-5'] = $pane;
  295. $display->panels['top'][2] = 'new-5';
  296. $pane = new stdClass();
  297. $pane->pid = 'new-6';
  298. $pane->panel = 'top';
  299. $pane->type = 'panels_mini';
  300. $pane->subtype = 'popsu_special_accueil_ppse';
  301. $pane->shown = TRUE;
  302. $pane->access = array(
  303. 'plugins' => array(
  304. 0 => array(
  305. 'name' => 'term',
  306. 'settings' => array(
  307. 'vid' => '6',
  308. 6 => array(
  309. 3 => '3',
  310. ),
  311. 7 => array(),
  312. 8 => array(),
  313. 9 => array(),
  314. 10 => array(),
  315. 1 => array(),
  316. ),
  317. 'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
  318. 'not' => FALSE,
  319. ),
  320. 1 => array(
  321. 'name' => 'term',
  322. 'settings' => array(
  323. 'vid' => '8',
  324. 6 => array(),
  325. 7 => array(),
  326. 8 => array(
  327. 31 => '31',
  328. ),
  329. 9 => array(),
  330. 10 => array(),
  331. 1 => array(),
  332. ),
  333. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  334. 'not' => FALSE,
  335. ),
  336. ),
  337. );
  338. $pane->configuration = array(
  339. 'context' => array(
  340. 0 => 'argument_entity_id:node_1',
  341. ),
  342. 'override_title' => 1,
  343. 'override_title_text' => '<none>',
  344. );
  345. $pane->cache = array();
  346. $pane->style = array(
  347. 'settings' => NULL,
  348. );
  349. $pane->css = array();
  350. $pane->extras = array();
  351. $pane->position = 3;
  352. $pane->locks = array();
  353. $display->content['new-6'] = $pane;
  354. $display->panels['top'][3] = 'new-6';
  355. $pane = new stdClass();
  356. $pane->pid = 'new-7';
  357. $pane->panel = 'top';
  358. $pane->type = 'views_panes';
  359. $pane->subtype = 'colloques-panel_pane_2';
  360. $pane->shown = TRUE;
  361. $pane->access = array(
  362. 'plugins' => array(
  363. 0 => array(
  364. 'name' => 'term',
  365. 'settings' => array(
  366. 'vid' => '8',
  367. 6 => array(),
  368. 7 => array(),
  369. 8 => array(
  370. 28 => '28',
  371. ),
  372. 9 => array(),
  373. 1 => array(),
  374. ),
  375. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  376. 'not' => FALSE,
  377. ),
  378. ),
  379. );
  380. $pane->configuration = array(
  381. 'arguments' => array(
  382. 'field_popsu_colloque_popsu_tid' => '%taxonomy_term:tid',
  383. ),
  384. );
  385. $pane->cache = array();
  386. $pane->style = array(
  387. 'settings' => NULL,
  388. );
  389. $pane->css = array(
  390. 'css_id' => '',
  391. 'css_class' => '',
  392. );
  393. $pane->extras = array();
  394. $pane->position = 4;
  395. $pane->locks = array();
  396. $display->content['new-7'] = $pane;
  397. $display->panels['top'][4] = 'new-7';
  398. $pane = new stdClass();
  399. $pane->pid = 'new-8';
  400. $pane->panel = 'top';
  401. $pane->type = 'views_panes';
  402. $pane->subtype = 'publications-panel_pane_3';
  403. $pane->shown = TRUE;
  404. $pane->access = array(
  405. 'plugins' => array(
  406. 0 => array(
  407. 'name' => 'term',
  408. 'settings' => array(
  409. 'vid' => '8',
  410. 6 => array(),
  411. 7 => array(),
  412. 8 => array(
  413. 29 => '29',
  414. ),
  415. 9 => array(),
  416. 1 => array(),
  417. ),
  418. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  419. 'not' => FALSE,
  420. ),
  421. ),
  422. );
  423. $pane->configuration = array(
  424. 'arguments' => array(
  425. 'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
  426. ),
  427. );
  428. $pane->cache = array();
  429. $pane->style = array(
  430. 'settings' => NULL,
  431. );
  432. $pane->css = array(
  433. 'css_id' => 'pane-publication',
  434. 'css_class' => 'layout-88p pane-publication-sans-ville',
  435. );
  436. $pane->extras = array();
  437. $pane->position = 5;
  438. $pane->locks = array();
  439. $display->content['new-8'] = $pane;
  440. $display->panels['top'][5] = 'new-8';
  441. $pane = new stdClass();
  442. $pane->pid = 'new-9';
  443. $pane->panel = 'top';
  444. $pane->type = 'views_panes';
  445. $pane->subtype = 'publications-panel_pane_2';
  446. $pane->shown = TRUE;
  447. $pane->access = array(
  448. 'plugins' => array(
  449. 0 => array(
  450. 'name' => 'term',
  451. 'settings' => array(
  452. 'vid' => '8',
  453. 6 => array(),
  454. 7 => array(),
  455. 8 => array(
  456. 29 => '29',
  457. ),
  458. 9 => array(),
  459. 1 => array(),
  460. ),
  461. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  462. 'not' => FALSE,
  463. ),
  464. ),
  465. );
  466. $pane->configuration = array(
  467. 'arguments' => array(
  468. 'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
  469. ),
  470. );
  471. $pane->cache = array();
  472. $pane->style = array(
  473. 'settings' => NULL,
  474. );
  475. $pane->css = array(
  476. 'css_id' => 'pane-publication',
  477. 'css_class' => 'layout-88p pane-publication-popsu',
  478. );
  479. $pane->extras = array();
  480. $pane->position = 6;
  481. $pane->locks = array();
  482. $display->content['new-9'] = $pane;
  483. $display->panels['top'][6] = 'new-9';
  484. $pane = new stdClass();
  485. $pane->pid = 'new-10';
  486. $pane->panel = 'top';
  487. $pane->type = 'custom';
  488. $pane->subtype = 'custom';
  489. $pane->shown = TRUE;
  490. $pane->access = array(
  491. 'plugins' => array(
  492. 0 => array(
  493. 'name' => 'term',
  494. 'settings' => array(
  495. 'vid' => '8',
  496. 6 => array(),
  497. 7 => array(),
  498. 8 => array(
  499. 28 => '28',
  500. 29 => '29',
  501. ),
  502. 9 => array(),
  503. 10 => array(),
  504. 1 => array(),
  505. ),
  506. 'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
  507. 'not' => FALSE,
  508. ),
  509. ),
  510. );
  511. $pane->configuration = array(
  512. 'admin_title' => 'POPSU Fermeture de liste',
  513. 'title' => '<none>',
  514. 'body' => '<div></div>',
  515. 'format' => 'php_code',
  516. 'substitute' => 0,
  517. );
  518. $pane->cache = array();
  519. $pane->style = array(
  520. 'settings' => NULL,
  521. );
  522. $pane->css = array(
  523. 'css_id' => '',
  524. 'css_class' => 'border-last layout-64-5p',
  525. );
  526. $pane->extras = array();
  527. $pane->position = 7;
  528. $pane->locks = array();
  529. $display->content['new-10'] = $pane;
  530. $display->panels['top'][7] = 'new-10';
  531. $display->hide_title = PANELS_TITLE_FIXED;
  532. $display->title_pane = '0';
  533. $handler->conf['display'] = $display;
  534. $export['node_view_panel_context_7'] = $handler;
  535. return $export;
  536. }