materio_home_v2.pages_default.inc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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->storage_type = 'page_manager';
  72. $display->storage_id = 'page_home_v2__panel_context_2bd92edc-8b2b-42d3-9857-f44f03574847';
  73. $display->content = array();
  74. $display->panels = array();
  75. $pane = new stdClass();
  76. $pane->pid = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  77. $pane->panel = 'middle';
  78. $pane->type = 'node';
  79. $pane->subtype = 'node';
  80. $pane->shown = TRUE;
  81. $pane->access = array();
  82. $pane->configuration = array(
  83. 'nid' => '13097',
  84. 'links' => 0,
  85. 'leave_node_title' => 0,
  86. 'identifier' => '',
  87. 'build_mode' => 'homeblock',
  88. 'link_node_title' => 0,
  89. 'override_title' => 1,
  90. 'override_title_text' => '<No Title>',
  91. 'override_title_heading' => 'span',
  92. );
  93. $pane->cache = array();
  94. $pane->style = array(
  95. 'settings' => NULL,
  96. );
  97. $pane->css = array(
  98. 'css_id' => '',
  99. 'css_class' => 'intro-video',
  100. );
  101. $pane->extras = array();
  102. $pane->position = 0;
  103. $pane->locks = array();
  104. $pane->uuid = 'd0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  105. $display->content['new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7'] = $pane;
  106. $display->panels['middle'][0] = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  107. $pane = new stdClass();
  108. $pane->pid = 'new-afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  109. $pane->panel = 'middle';
  110. $pane->type = 'block';
  111. $pane->subtype = 'materio_user-user_register';
  112. $pane->shown = TRUE;
  113. $pane->access = array();
  114. $pane->configuration = array(
  115. 'override_title' => 0,
  116. 'override_title_text' => '',
  117. 'override_title_heading' => 'h2',
  118. );
  119. $pane->cache = array();
  120. $pane->style = array(
  121. 'settings' => NULL,
  122. );
  123. $pane->css = array();
  124. $pane->extras = array();
  125. $pane->position = 1;
  126. $pane->locks = array();
  127. $pane->uuid = 'afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  128. $display->content['new-afe6b27a-ba89-4292-8f16-0a59f0e9d944'] = $pane;
  129. $display->panels['middle'][1] = 'new-afe6b27a-ba89-4292-8f16-0a59f0e9d944';
  130. $pane = new stdClass();
  131. $pane->pid = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  132. $pane->panel = 'middle';
  133. $pane->type = 'block';
  134. $pane->subtype = 'menu-menu-home-v2';
  135. $pane->shown = FALSE;
  136. $pane->access = array(
  137. 'plugins' => array(),
  138. );
  139. $pane->configuration = array(
  140. 'override_title' => 1,
  141. 'override_title_text' => '',
  142. 'override_title_heading' => 'h3',
  143. );
  144. $pane->cache = array();
  145. $pane->style = array(
  146. 'settings' => NULL,
  147. );
  148. $pane->css = array();
  149. $pane->extras = array();
  150. $pane->position = 2;
  151. $pane->locks = array();
  152. $pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
  153. $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
  154. $display->panels['middle'][2] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  155. $pane = new stdClass();
  156. $pane->pid = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  157. $pane->panel = 'middle';
  158. $pane->type = 'block';
  159. $pane->subtype = 'menu-menu-menu-home-member';
  160. $pane->shown = TRUE;
  161. $pane->access = array(
  162. 'plugins' => array(
  163. 0 => array(
  164. 'name' => 'role',
  165. 'settings' => array(
  166. 'rids' => array(
  167. 0 => 10,
  168. 1 => 11,
  169. 2 => 6,
  170. 3 => 8,
  171. 4 => 3,
  172. 5 => 4,
  173. ),
  174. ),
  175. 'context' => 'logged-in-user',
  176. 'not' => FALSE,
  177. ),
  178. ),
  179. );
  180. $pane->configuration = array(
  181. 'override_title' => 1,
  182. 'override_title_text' => '',
  183. 'override_title_heading' => 'h2',
  184. );
  185. $pane->cache = array();
  186. $pane->style = array(
  187. 'settings' => NULL,
  188. );
  189. $pane->css = array();
  190. $pane->extras = array();
  191. $pane->position = 3;
  192. $pane->locks = array();
  193. $pane->uuid = 'fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  194. $display->content['new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339'] = $pane;
  195. $display->panels['middle'][3] = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
  196. $pane = new stdClass();
  197. $pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  198. $pane->panel = 'middle';
  199. $pane->type = 'node';
  200. $pane->subtype = 'node';
  201. $pane->shown = TRUE;
  202. $pane->access = array();
  203. $pane->configuration = array(
  204. 'nid' => '13051',
  205. 'links' => 1,
  206. 'leave_node_title' => 0,
  207. 'identifier' => 'showroom',
  208. 'build_mode' => 'homeblock',
  209. 'link_node_title' => 0,
  210. 'override_title' => 1,
  211. 'override_title_text' => '<No Title>',
  212. 'override_title_heading' => 'h2',
  213. );
  214. $pane->cache = array();
  215. $pane->style = array(
  216. 'settings' => NULL,
  217. );
  218. $pane->css = array(
  219. 'css_id' => 'showroom-pane',
  220. 'css_class' => 'showroom',
  221. );
  222. $pane->extras = array();
  223. $pane->position = 4;
  224. $pane->locks = array();
  225. $pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
  226. $display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
  227. $display->panels['middle'][4] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  228. $pane = new stdClass();
  229. $pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  230. $pane->panel = 'middle';
  231. $pane->type = 'node';
  232. $pane->subtype = 'node';
  233. $pane->shown = TRUE;
  234. $pane->access = array();
  235. $pane->configuration = array(
  236. 'nid' => '13052',
  237. 'links' => 1,
  238. 'leave_node_title' => 0,
  239. 'identifier' => 'database',
  240. 'build_mode' => 'homeblock',
  241. 'link_node_title' => 0,
  242. 'override_title' => 1,
  243. 'override_title_text' => '<none>',
  244. 'override_title_heading' => 'h2',
  245. );
  246. $pane->cache = array();
  247. $pane->style = array(
  248. 'settings' => NULL,
  249. );
  250. $pane->css = array(
  251. 'css_id' => 'bdd-pane',
  252. 'css_class' => 'bdd',
  253. );
  254. $pane->extras = array();
  255. $pane->position = 5;
  256. $pane->locks = array();
  257. $pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
  258. $display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
  259. $display->panels['middle'][5] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  260. $pane = new stdClass();
  261. $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  262. $pane->panel = 'middle';
  263. $pane->type = 'panels_mini';
  264. $pane->subtype = 'news_home_v2';
  265. $pane->shown = TRUE;
  266. $pane->access = array();
  267. $pane->configuration = array(
  268. 'override_title' => 0,
  269. 'override_title_text' => '',
  270. 'override_title_heading' => 'h2',
  271. );
  272. $pane->cache = array();
  273. $pane->style = array(
  274. 'settings' => NULL,
  275. );
  276. $pane->css = array(
  277. 'css_id' => 'news-pane',
  278. 'css_class' => 'news-panel',
  279. );
  280. $pane->extras = array();
  281. $pane->position = 6;
  282. $pane->locks = array();
  283. $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
  284. $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
  285. $display->panels['middle'][6] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  286. $pane = new stdClass();
  287. $pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  288. $pane->panel = 'middle';
  289. $pane->type = 'node';
  290. $pane->subtype = 'node';
  291. $pane->shown = TRUE;
  292. $pane->access = array();
  293. $pane->configuration = array(
  294. 'nid' => '13053',
  295. 'links' => 1,
  296. 'leave_node_title' => 0,
  297. 'identifier' => 'formations',
  298. 'build_mode' => 'homeblock',
  299. 'link_node_title' => 0,
  300. 'override_title' => 1,
  301. 'override_title_text' => '<none>',
  302. 'override_title_heading' => 'h2',
  303. );
  304. $pane->cache = array();
  305. $pane->style = array(
  306. 'settings' => NULL,
  307. );
  308. $pane->css = array(
  309. 'css_id' => 'formations-pane',
  310. 'css_class' => 'formations',
  311. );
  312. $pane->extras = array();
  313. $pane->position = 7;
  314. $pane->locks = array();
  315. $pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  316. $display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
  317. $display->panels['middle'][7] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  318. $pane = new stdClass();
  319. $pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  320. $pane->panel = 'middle';
  321. $pane->type = 'node';
  322. $pane->subtype = 'node';
  323. $pane->shown = TRUE;
  324. $pane->access = array();
  325. $pane->configuration = array(
  326. 'nid' => '13054',
  327. 'links' => 1,
  328. 'leave_node_title' => 0,
  329. 'identifier' => 'services',
  330. 'build_mode' => 'homeblock',
  331. 'link_node_title' => 0,
  332. 'override_title' => 1,
  333. 'override_title_text' => '<none>',
  334. 'override_title_heading' => 'h2',
  335. );
  336. $pane->cache = array();
  337. $pane->style = array(
  338. 'settings' => NULL,
  339. );
  340. $pane->css = array(
  341. 'css_id' => 'services-pane',
  342. 'css_class' => 'services',
  343. );
  344. $pane->extras = array();
  345. $pane->position = 8;
  346. $pane->locks = array();
  347. $pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  348. $display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
  349. $display->panels['middle'][8] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  350. $pane = new stdClass();
  351. $pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  352. $pane->panel = 'middle';
  353. $pane->type = 'views_panes';
  354. $pane->subtype = 'publication_home_v2-panel_pane_1';
  355. $pane->shown = TRUE;
  356. $pane->access = array();
  357. $pane->configuration = array();
  358. $pane->cache = array();
  359. $pane->style = array(
  360. 'settings' => NULL,
  361. );
  362. $pane->css = array(
  363. 'css_id' => '',
  364. 'css_class' => 'publication',
  365. );
  366. $pane->extras = array();
  367. $pane->position = 9;
  368. $pane->locks = array();
  369. $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  370. $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
  371. $display->panels['middle'][9] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  372. $pane = new stdClass();
  373. $pane->pid = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  374. $pane->panel = 'middle';
  375. $pane->type = 'node';
  376. $pane->subtype = 'node';
  377. $pane->shown = TRUE;
  378. $pane->access = array();
  379. $pane->configuration = array(
  380. 'nid' => '11175',
  381. 'links' => 0,
  382. 'leave_node_title' => 0,
  383. 'identifier' => '',
  384. 'build_mode' => 'full',
  385. 'link_node_title' => 0,
  386. 'override_title' => 1,
  387. 'override_title_text' => '<none>',
  388. 'override_title_heading' => 'h2',
  389. );
  390. $pane->cache = array();
  391. $pane->style = array(
  392. 'settings' => NULL,
  393. );
  394. $pane->css = array(
  395. 'css_id' => 'contact-pane',
  396. 'css_class' => '',
  397. );
  398. $pane->extras = array();
  399. $pane->position = 10;
  400. $pane->locks = array();
  401. $pane->uuid = 'ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  402. $display->content['new-ab2ebbf2-7338-4db9-8df4-8b825058f98d'] = $pane;
  403. $display->panels['middle'][10] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  404. $display->hide_title = PANELS_TITLE_NONE;
  405. $display->title_pane = '0';
  406. $handler->conf['display'] = $display;
  407. $page->default_handlers[$handler->name] = $handler;
  408. $pages['home_v2'] = $page;
  409. return $pages;
  410. }