popsu_themes_europe.pages_default.inc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. <?php
  2. /**
  3. * @file
  4. * popsu_themes_europe.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_handlers().
  8. */
  9. function popsu_themes_europe_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_9';
  15. $handler->task = 'node_view';
  16. $handler->subtask = '';
  17. $handler->handler = 'panel_context';
  18. $handler->weight = 8;
  19. $handler->conf = array(
  20. 'title' => 'Thèmes Europe (feature)',
  21. 'no_blocks' => 0,
  22. 'pipeline' => 'standard',
  23. 'body_classes_to_remove' => '',
  24. 'body_classes_to_add' => 'panel-theme-europe',
  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_themeur_popsu])',
  31. 'keyword' => 'taxonomy_term',
  32. 'name' => 'entity_from_field:field_popsu_themeur_popsu-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_theme_europe' => 'popsu_theme_europe',
  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 = '%node:title';
  70. $display->content = array();
  71. $display->panels = array();
  72. $pane = new stdClass();
  73. $pane->pid = 'new-1';
  74. $pane->panel = 'footer';
  75. $pane->type = 'node_content';
  76. $pane->subtype = 'node_content';
  77. $pane->shown = FALSE;
  78. $pane->access = array();
  79. $pane->configuration = array(
  80. 'links' => 0,
  81. 'no_extras' => 0,
  82. 'override_title' => 0,
  83. 'override_title_text' => '',
  84. 'identifier' => '',
  85. 'link' => 0,
  86. 'leave_node_title' => 0,
  87. 'build_mode' => 'full',
  88. 'context' => 'argument_entity_id:node_1',
  89. );
  90. $pane->cache = array();
  91. $pane->style = array(
  92. 'settings' => NULL,
  93. );
  94. $pane->css = array();
  95. $pane->extras = array();
  96. $pane->position = 0;
  97. $pane->locks = array();
  98. $display->content['new-1'] = $pane;
  99. $display->panels['footer'][0] = 'new-1';
  100. $pane = new stdClass();
  101. $pane->pid = 'new-2';
  102. $pane->panel = 'left';
  103. $pane->type = 'views_panes';
  104. $pane->subtype = 'projets_europe-panel_pane_3';
  105. $pane->shown = TRUE;
  106. $pane->access = array();
  107. $pane->configuration = array(
  108. 'arguments' => array(
  109. 'field_popsu_projeteur_theme_nid' => '%node:nid',
  110. ),
  111. );
  112. $pane->cache = array();
  113. $pane->style = array(
  114. 'settings' => NULL,
  115. );
  116. $pane->css = array(
  117. 'css_id' => '',
  118. 'css_class' => '',
  119. );
  120. $pane->extras = array();
  121. $pane->position = 0;
  122. $pane->locks = array();
  123. $display->content['new-2'] = $pane;
  124. $display->panels['left'][0] = 'new-2';
  125. $pane = new stdClass();
  126. $pane->pid = 'new-3';
  127. $pane->panel = 'left';
  128. $pane->type = 'entity_field';
  129. $pane->subtype = 'node:field_popsu_themeur_intro';
  130. $pane->shown = TRUE;
  131. $pane->access = array();
  132. $pane->configuration = array(
  133. 'label' => 'title',
  134. 'formatter' => 'text_default',
  135. 'delta_limit' => 0,
  136. 'delta_offset' => '0',
  137. 'delta_reversed' => FALSE,
  138. 'formatter_settings' => array(),
  139. 'context' => 'argument_entity_id:node_1',
  140. 'override_title' => 1,
  141. 'override_title_text' => '<none>',
  142. );
  143. $pane->cache = array();
  144. $pane->style = array(
  145. 'settings' => NULL,
  146. );
  147. $pane->css = array(
  148. 'css_id' => '',
  149. 'css_class' => 'layout-88p',
  150. );
  151. $pane->extras = array();
  152. $pane->position = 1;
  153. $pane->locks = array();
  154. $display->content['new-3'] = $pane;
  155. $display->panels['left'][1] = 'new-3';
  156. $pane = new stdClass();
  157. $pane->pid = 'new-4';
  158. $pane->panel = 'right';
  159. $pane->type = 'node_links';
  160. $pane->subtype = 'node_links';
  161. $pane->shown = TRUE;
  162. $pane->access = array(
  163. 'plugins' => array(
  164. 0 => array(
  165. 'name' => 'role',
  166. 'settings' => array(
  167. 'rids' => array(
  168. 0 => 3,
  169. 1 => 4,
  170. 2 => 5,
  171. ),
  172. ),
  173. 'context' => 'logged-in-user',
  174. 'not' => FALSE,
  175. ),
  176. ),
  177. );
  178. $pane->configuration = array(
  179. 'override_title' => 1,
  180. 'override_title_text' => '<none>',
  181. 'build_mode' => 'full',
  182. 'identifier' => '',
  183. 'link' => 1,
  184. 'context' => 'argument_entity_id:node_1',
  185. );
  186. $pane->cache = array();
  187. $pane->style = array(
  188. 'settings' => NULL,
  189. );
  190. $pane->css = array(
  191. 'css_id' => '',
  192. 'css_class' => 'admin-add-item admin-add-item-panel',
  193. );
  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 = 'views_panes';
  203. $pane->subtype = 'projets_europe-panel_pane_1';
  204. $pane->shown = TRUE;
  205. $pane->access = array();
  206. $pane->configuration = array(
  207. 'arguments' => array(
  208. 'field_popsu_projeteur_theme_nid' => '%node:nid',
  209. ),
  210. );
  211. $pane->cache = array();
  212. $pane->style = array(
  213. 'settings' => NULL,
  214. );
  215. $pane->css = array(
  216. 'css_id' => 'accordion-h2-projetseurope',
  217. 'css_class' => 'accordion-h2 accordion-h2-views',
  218. );
  219. $pane->extras = array();
  220. $pane->position = 1;
  221. $pane->locks = array();
  222. $display->content['new-5'] = $pane;
  223. $display->panels['right'][1] = 'new-5';
  224. $pane = new stdClass();
  225. $pane->pid = 'new-6';
  226. $pane->panel = 'right';
  227. $pane->type = 'entity_field';
  228. $pane->subtype = 'node:field_popsu_themeur_equipe';
  229. $pane->shown = TRUE;
  230. $pane->access = array();
  231. $pane->configuration = array(
  232. 'label' => 'title',
  233. 'formatter' => 'text_default',
  234. 'delta_limit' => 0,
  235. 'delta_offset' => '0',
  236. 'delta_reversed' => FALSE,
  237. 'formatter_settings' => array(),
  238. 'context' => 'argument_entity_id:node_1',
  239. 'override_title' => 1,
  240. 'override_title_text' => 'Equipe',
  241. );
  242. $pane->cache = array();
  243. $pane->style = array(
  244. 'settings' => NULL,
  245. );
  246. $pane->css = array(
  247. 'css_id' => 'accordion-h2-equipe-recherche',
  248. 'css_class' => 'accordion-h2 accordion-h2-panel',
  249. );
  250. $pane->extras = array();
  251. $pane->position = 2;
  252. $pane->locks = array();
  253. $display->content['new-6'] = $pane;
  254. $display->panels['right'][2] = 'new-6';
  255. $pane = new stdClass();
  256. $pane->pid = 'new-7';
  257. $pane->panel = 'right';
  258. $pane->type = 'views_panes';
  259. $pane->subtype = 'documents-panel_pane_5';
  260. $pane->shown = TRUE;
  261. $pane->access = array();
  262. $pane->configuration = array(
  263. 'arguments' => array(
  264. 'field_popsu_doc_parent_nid' => '%node:nid',
  265. 'field_popsu_doc_type_tid' => '57',
  266. ),
  267. );
  268. $pane->cache = array();
  269. $pane->style = array(
  270. 'settings' => NULL,
  271. );
  272. $pane->css = array(
  273. 'css_id' => 'accordion-h2-seminaire',
  274. 'css_class' => 'accordion-h2 accordion-h2-panel',
  275. );
  276. $pane->extras = array();
  277. $pane->position = 3;
  278. $pane->locks = array();
  279. $display->content['new-7'] = $pane;
  280. $display->panels['right'][3] = 'new-7';
  281. $pane = new stdClass();
  282. $pane->pid = 'new-8';
  283. $pane->panel = 'right';
  284. $pane->type = 'views_panes';
  285. $pane->subtype = 'publications-panel_pane_4';
  286. $pane->shown = TRUE;
  287. $pane->access = array();
  288. $pane->configuration = array(
  289. 'arguments' => array(
  290. 'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
  291. 'field_popsu_publication_theme_nid' => '%node:nid',
  292. ),
  293. );
  294. $pane->cache = array();
  295. $pane->style = array(
  296. 'settings' => NULL,
  297. );
  298. $pane->css = array(
  299. 'css_id' => 'accordion-h2-publication-europe',
  300. 'css_class' => '',
  301. );
  302. $pane->extras = array();
  303. $pane->position = 4;
  304. $pane->locks = array();
  305. $display->content['new-8'] = $pane;
  306. $display->panels['right'][4] = 'new-8';
  307. $pane = new stdClass();
  308. $pane->pid = 'new-9';
  309. $pane->panel = 'right';
  310. $pane->type = 'views_panes';
  311. $pane->subtype = 'documents-panel_pane_6';
  312. $pane->shown = TRUE;
  313. $pane->access = array();
  314. $pane->configuration = array(
  315. 'arguments' => array(
  316. 'field_popsu_doc_parent_nid' => '%node:nid',
  317. 'field_popsu_doc_type_tid' => '58',
  318. ),
  319. );
  320. $pane->cache = array();
  321. $pane->style = array(
  322. 'settings' => NULL,
  323. );
  324. $pane->css = array(
  325. 'css_id' => 'accordion-h2-biblio',
  326. 'css_class' => 'accordion-h2 accordion-h2-panel',
  327. );
  328. $pane->extras = array();
  329. $pane->position = 5;
  330. $pane->locks = array();
  331. $display->content['new-9'] = $pane;
  332. $display->panels['right'][5] = 'new-9';
  333. $pane = new stdClass();
  334. $pane->pid = 'new-10';
  335. $pane->panel = 'right';
  336. $pane->type = 'entity_field';
  337. $pane->subtype = 'node:field_popsu_themeur_partenaires';
  338. $pane->shown = TRUE;
  339. $pane->access = array();
  340. $pane->configuration = array(
  341. 'label' => 'title',
  342. 'formatter' => 'image',
  343. 'delta_limit' => '0',
  344. 'delta_offset' => '0',
  345. 'delta_reversed' => 0,
  346. 'formatter_settings' => array(
  347. 'image_style' => '',
  348. 'image_link' => '',
  349. ),
  350. 'context' => 'argument_entity_id:node_1',
  351. 'override_title' => 1,
  352. 'override_title_text' => 'Partenaires',
  353. );
  354. $pane->cache = array();
  355. $pane->style = array(
  356. 'settings' => NULL,
  357. );
  358. $pane->css = array(
  359. 'css_id' => 'accordion-h2-partenaires',
  360. 'css_class' => 'accordion-h2 accordion-h2-panel',
  361. );
  362. $pane->extras = array();
  363. $pane->position = 6;
  364. $pane->locks = array();
  365. $display->content['new-10'] = $pane;
  366. $display->panels['right'][6] = 'new-10';
  367. $pane = new stdClass();
  368. $pane->pid = 'new-11';
  369. $pane->panel = 'top';
  370. $pane->type = 'node_title';
  371. $pane->subtype = 'node_title';
  372. $pane->shown = FALSE;
  373. $pane->access = array();
  374. $pane->configuration = array(
  375. 'link' => 1,
  376. 'context' => 'argument_entity_id:node_1',
  377. 'override_title' => 0,
  378. 'override_title_text' => '',
  379. );
  380. $pane->cache = array();
  381. $pane->style = array(
  382. 'settings' => NULL,
  383. );
  384. $pane->css = array();
  385. $pane->extras = array();
  386. $pane->position = 0;
  387. $pane->locks = array();
  388. $display->content['new-11'] = $pane;
  389. $display->panels['top'][0] = 'new-11';
  390. $display->hide_title = PANELS_TITLE_FIXED;
  391. $display->title_pane = '0';
  392. $handler->conf['display'] = $display;
  393. $export['node_view_panel_context_9'] = $handler;
  394. return $export;
  395. }