materio_home_v2.pages_default.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. <?php
  2. /**
  3. * @file
  4. * materio_home_v2.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_pages().
  8. */
  9. function materio_home_v2_default_page_manager_pages() {
  10. $page = new stdClass();
  11. $page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
  12. $page->api_version = 1;
  13. $page->name = 'home_v2';
  14. $page->task = 'page';
  15. $page->admin_title = 'Home V2';
  16. $page->admin_description = '';
  17. $page->path = 'home';
  18. $page->access = array(
  19. 'plugins' => array(
  20. 0 => array(
  21. 'name' => 'role',
  22. 'settings' => array(
  23. 'rids' => array(
  24. 0 => 1,
  25. 1 => 2,
  26. ),
  27. ),
  28. 'context' => 'logged-in-user',
  29. 'not' => FALSE,
  30. ),
  31. ),
  32. 'logic' => 'and',
  33. );
  34. $page->menu = array();
  35. $page->arguments = array();
  36. $page->conf = array(
  37. 'admin_paths' => FALSE,
  38. );
  39. $page->default_handlers = array();
  40. $handler = new stdClass();
  41. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  42. $handler->api_version = 1;
  43. $handler->name = 'page_home_v2__panel_context_2bd92edc-8b2b-42d3-9857-f44f03574847';
  44. $handler->task = 'page';
  45. $handler->subtask = 'home_v2';
  46. $handler->handler = 'panel_context';
  47. $handler->weight = 0;
  48. $handler->conf = array(
  49. 'title' => 'Panneau',
  50. 'no_blocks' => 0,
  51. 'pipeline' => 'standard',
  52. 'body_classes_to_remove' => '',
  53. 'body_classes_to_add' => 'home-v2',
  54. 'css_id' => 'home-v2',
  55. 'css' => '',
  56. 'contexts' => array(),
  57. 'relationships' => array(),
  58. );
  59. $display = new panels_display();
  60. $display->layout = 'onecol';
  61. $display->layout_settings = array();
  62. $display->panel_settings = array(
  63. 'style_settings' => array(
  64. 'default' => NULL,
  65. 'middle' => NULL,
  66. ),
  67. );
  68. $display->cache = array();
  69. $display->title = '';
  70. $display->uuid = 'eca54323-0377-4ab0-b40c-69b96c16707a';
  71. $display->content = array();
  72. $display->panels = array();
  73. $pane = new stdClass();
  74. $pane->pid = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  75. $pane->panel = 'middle';
  76. $pane->type = 'node';
  77. $pane->subtype = 'node';
  78. $pane->shown = TRUE;
  79. $pane->access = array();
  80. $pane->configuration = array(
  81. 'nid' => '13097',
  82. 'links' => 0,
  83. 'leave_node_title' => 0,
  84. 'identifier' => '',
  85. 'build_mode' => 'homeblock',
  86. 'link_node_title' => 0,
  87. 'override_title' => 1,
  88. 'override_title_text' => '<No Title>',
  89. 'override_title_heading' => 'span',
  90. );
  91. $pane->cache = array();
  92. $pane->style = array(
  93. 'settings' => NULL,
  94. );
  95. $pane->css = array(
  96. 'css_id' => '',
  97. 'css_class' => 'intro-video',
  98. );
  99. $pane->extras = array();
  100. $pane->position = 0;
  101. $pane->locks = array();
  102. $pane->uuid = 'd0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  103. $display->content['new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7'] = $pane;
  104. $display->panels['middle'][0] = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  105. $pane = new stdClass();
  106. $pane->pid = 'new-afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  107. $pane->panel = 'middle';
  108. $pane->type = 'block';
  109. $pane->subtype = 'materio_user-user_register';
  110. $pane->shown = TRUE;
  111. $pane->access = array();
  112. $pane->configuration = array(
  113. 'override_title' => 0,
  114. 'override_title_text' => '',
  115. 'override_title_heading' => 'h2',
  116. );
  117. $pane->cache = array();
  118. $pane->style = array(
  119. 'settings' => NULL,
  120. );
  121. $pane->css = array();
  122. $pane->extras = array();
  123. $pane->position = 1;
  124. $pane->locks = array();
  125. $pane->uuid = 'afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  126. $display->content['new-afe6b27a-ba89-4292-8f16-0a59f0e9d944'] = $pane;
  127. $display->panels['middle'][1] = 'new-afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  128. $pane = new stdClass();
  129. $pane->pid = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  130. $pane->panel = 'middle';
  131. $pane->type = 'block';
  132. $pane->subtype = 'menu-menu-home-v2';
  133. $pane->shown = FALSE;
  134. $pane->access = array(
  135. 'plugins' => array(),
  136. );
  137. $pane->configuration = array(
  138. 'override_title' => 1,
  139. 'override_title_text' => '',
  140. 'override_title_heading' => 'h3',
  141. );
  142. $pane->cache = array();
  143. $pane->style = array(
  144. 'settings' => NULL,
  145. );
  146. $pane->css = array();
  147. $pane->extras = array();
  148. $pane->position = 2;
  149. $pane->locks = array();
  150. $pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
  151. $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
  152. $display->panels['middle'][2] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  153. $pane = new stdClass();
  154. $pane->pid = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  155. $pane->panel = 'middle';
  156. $pane->type = 'block';
  157. $pane->subtype = 'menu-menu-menu-home-member';
  158. $pane->shown = TRUE;
  159. $pane->access = array(
  160. 'plugins' => array(
  161. 0 => array(
  162. 'name' => 'role',
  163. 'settings' => array(
  164. 'rids' => array(
  165. 0 => 10,
  166. 1 => 11,
  167. 2 => 6,
  168. 3 => 8,
  169. 4 => 3,
  170. 5 => 4,
  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' => '',
  181. 'override_title_heading' => 'h2',
  182. );
  183. $pane->cache = array();
  184. $pane->style = array(
  185. 'settings' => NULL,
  186. );
  187. $pane->css = array();
  188. $pane->extras = array();
  189. $pane->position = 3;
  190. $pane->locks = array();
  191. $pane->uuid = 'fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  192. $display->content['new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339'] = $pane;
  193. $display->panels['middle'][3] = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  194. $pane = new stdClass();
  195. $pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  196. $pane->panel = 'middle';
  197. $pane->type = 'node';
  198. $pane->subtype = 'node';
  199. $pane->shown = TRUE;
  200. $pane->access = array();
  201. $pane->configuration = array(
  202. 'nid' => '13051',
  203. 'links' => 1,
  204. 'leave_node_title' => 0,
  205. 'identifier' => 'showroom',
  206. 'build_mode' => 'homeblock',
  207. 'link_node_title' => 0,
  208. 'override_title' => 1,
  209. 'override_title_text' => '<No Title>',
  210. 'override_title_heading' => 'h2',
  211. );
  212. $pane->cache = array();
  213. $pane->style = array(
  214. 'settings' => NULL,
  215. );
  216. $pane->css = array(
  217. 'css_id' => 'showroom-pane',
  218. 'css_class' => 'showroom',
  219. );
  220. $pane->extras = array();
  221. $pane->position = 4;
  222. $pane->locks = array();
  223. $pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
  224. $display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
  225. $display->panels['middle'][4] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  226. $pane = new stdClass();
  227. $pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  228. $pane->panel = 'middle';
  229. $pane->type = 'node';
  230. $pane->subtype = 'node';
  231. $pane->shown = TRUE;
  232. $pane->access = array();
  233. $pane->configuration = array(
  234. 'nid' => '13052',
  235. 'links' => 1,
  236. 'leave_node_title' => 0,
  237. 'identifier' => 'database',
  238. 'build_mode' => 'homeblock',
  239. 'link_node_title' => 0,
  240. 'override_title' => 1,
  241. 'override_title_text' => '<none>',
  242. 'override_title_heading' => 'h2',
  243. );
  244. $pane->cache = array();
  245. $pane->style = array(
  246. 'settings' => NULL,
  247. );
  248. $pane->css = array(
  249. 'css_id' => 'bdd-pane',
  250. 'css_class' => 'bdd',
  251. );
  252. $pane->extras = array();
  253. $pane->position = 5;
  254. $pane->locks = array();
  255. $pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
  256. $display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
  257. $display->panels['middle'][5] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  258. $pane = new stdClass();
  259. $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  260. $pane->panel = 'middle';
  261. $pane->type = 'panels_mini';
  262. $pane->subtype = 'news_home_v2';
  263. $pane->shown = TRUE;
  264. $pane->access = array();
  265. $pane->configuration = array(
  266. 'override_title' => 0,
  267. 'override_title_text' => '',
  268. 'override_title_heading' => 'h2',
  269. );
  270. $pane->cache = array();
  271. $pane->style = array(
  272. 'settings' => NULL,
  273. );
  274. $pane->css = array(
  275. 'css_id' => 'news-pane',
  276. 'css_class' => 'news-panel',
  277. );
  278. $pane->extras = array();
  279. $pane->position = 6;
  280. $pane->locks = array();
  281. $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
  282. $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
  283. $display->panels['middle'][6] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  284. $pane = new stdClass();
  285. $pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  286. $pane->panel = 'middle';
  287. $pane->type = 'node';
  288. $pane->subtype = 'node';
  289. $pane->shown = TRUE;
  290. $pane->access = array();
  291. $pane->configuration = array(
  292. 'nid' => '13053',
  293. 'links' => 1,
  294. 'leave_node_title' => 0,
  295. 'identifier' => 'formations',
  296. 'build_mode' => 'homeblock',
  297. 'link_node_title' => 0,
  298. 'override_title' => 1,
  299. 'override_title_text' => '<none>',
  300. 'override_title_heading' => 'h2',
  301. );
  302. $pane->cache = array();
  303. $pane->style = array(
  304. 'settings' => NULL,
  305. );
  306. $pane->css = array(
  307. 'css_id' => 'formations-pane',
  308. 'css_class' => 'formations',
  309. );
  310. $pane->extras = array();
  311. $pane->position = 7;
  312. $pane->locks = array();
  313. $pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  314. $display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
  315. $display->panels['middle'][7] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  316. $pane = new stdClass();
  317. $pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  318. $pane->panel = 'middle';
  319. $pane->type = 'node';
  320. $pane->subtype = 'node';
  321. $pane->shown = TRUE;
  322. $pane->access = array();
  323. $pane->configuration = array(
  324. 'nid' => '13054',
  325. 'links' => 1,
  326. 'leave_node_title' => 0,
  327. 'identifier' => 'services',
  328. 'build_mode' => 'homeblock',
  329. 'link_node_title' => 0,
  330. 'override_title' => 1,
  331. 'override_title_text' => '<none>',
  332. 'override_title_heading' => 'h2',
  333. );
  334. $pane->cache = array();
  335. $pane->style = array(
  336. 'settings' => NULL,
  337. );
  338. $pane->css = array(
  339. 'css_id' => 'services-pane',
  340. 'css_class' => 'services',
  341. );
  342. $pane->extras = array();
  343. $pane->position = 8;
  344. $pane->locks = array();
  345. $pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  346. $display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
  347. $display->panels['middle'][8] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  348. $pane = new stdClass();
  349. $pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  350. $pane->panel = 'middle';
  351. $pane->type = 'views_panes';
  352. $pane->subtype = 'publication_home_v2-panel_pane_1';
  353. $pane->shown = TRUE;
  354. $pane->access = array();
  355. $pane->configuration = array();
  356. $pane->cache = array();
  357. $pane->style = array(
  358. 'settings' => NULL,
  359. );
  360. $pane->css = array(
  361. 'css_id' => '',
  362. 'css_class' => 'publication',
  363. );
  364. $pane->extras = array();
  365. $pane->position = 9;
  366. $pane->locks = array();
  367. $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  368. $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
  369. $display->panels['middle'][9] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  370. $pane = new stdClass();
  371. $pane->pid = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  372. $pane->panel = 'middle';
  373. $pane->type = 'node';
  374. $pane->subtype = 'node';
  375. $pane->shown = TRUE;
  376. $pane->access = array();
  377. $pane->configuration = array(
  378. 'nid' => '11175',
  379. 'links' => 0,
  380. 'leave_node_title' => 0,
  381. 'identifier' => '',
  382. 'build_mode' => 'full',
  383. 'link_node_title' => 0,
  384. 'override_title' => 1,
  385. 'override_title_text' => '<none>',
  386. 'override_title_heading' => 'h2',
  387. );
  388. $pane->cache = array();
  389. $pane->style = array(
  390. 'settings' => NULL,
  391. );
  392. $pane->css = array(
  393. 'css_id' => 'contact-pane',
  394. 'css_class' => '',
  395. );
  396. $pane->extras = array();
  397. $pane->position = 10;
  398. $pane->locks = array();
  399. $pane->uuid = 'ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  400. $display->content['new-ab2ebbf2-7338-4db9-8df4-8b825058f98d'] = $pane;
  401. $display->panels['middle'][10] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  402. $display->hide_title = PANELS_TITLE_NONE;
  403. $display->title_pane = '0';
  404. $handler->conf['display'] = $display;
  405. $page->default_handlers[$handler->name] = $handler;
  406. $pages['home_v2'] = $page;
  407. return $pages;
  408. }