materio_home_v2.pages_default.inc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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. $pane->configuration = array(
  136. 'override_title' => 1,
  137. 'override_title_text' => '',
  138. 'override_title_heading' => 'h3',
  139. );
  140. $pane->cache = array();
  141. $pane->style = array(
  142. 'settings' => NULL,
  143. );
  144. $pane->css = array();
  145. $pane->extras = array();
  146. $pane->position = 2;
  147. $pane->locks = array();
  148. $pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
  149. $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
  150. $display->panels['middle'][2] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  151. $pane = new stdClass();
  152. $pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  153. $pane->panel = 'middle';
  154. $pane->type = 'node';
  155. $pane->subtype = 'node';
  156. $pane->shown = TRUE;
  157. $pane->access = array();
  158. $pane->configuration = array(
  159. 'nid' => '13051',
  160. 'links' => 1,
  161. 'leave_node_title' => 0,
  162. 'identifier' => 'showroom',
  163. 'build_mode' => 'homeblock',
  164. 'link_node_title' => 0,
  165. 'override_title' => 1,
  166. 'override_title_text' => '<No Title>',
  167. 'override_title_heading' => 'h2',
  168. );
  169. $pane->cache = array();
  170. $pane->style = array(
  171. 'settings' => NULL,
  172. );
  173. $pane->css = array(
  174. 'css_id' => 'showroom-pane',
  175. 'css_class' => 'showroom',
  176. );
  177. $pane->extras = array();
  178. $pane->position = 3;
  179. $pane->locks = array();
  180. $pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
  181. $display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
  182. $display->panels['middle'][3] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  183. $pane = new stdClass();
  184. $pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  185. $pane->panel = 'middle';
  186. $pane->type = 'node';
  187. $pane->subtype = 'node';
  188. $pane->shown = TRUE;
  189. $pane->access = array();
  190. $pane->configuration = array(
  191. 'nid' => '13052',
  192. 'links' => 1,
  193. 'leave_node_title' => 0,
  194. 'identifier' => 'database',
  195. 'build_mode' => 'homeblock',
  196. 'link_node_title' => 0,
  197. 'override_title' => 1,
  198. 'override_title_text' => '<none>',
  199. 'override_title_heading' => 'h2',
  200. );
  201. $pane->cache = array();
  202. $pane->style = array(
  203. 'settings' => NULL,
  204. );
  205. $pane->css = array(
  206. 'css_id' => 'bdd-pane',
  207. 'css_class' => 'bdd',
  208. );
  209. $pane->extras = array();
  210. $pane->position = 4;
  211. $pane->locks = array();
  212. $pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
  213. $display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
  214. $display->panels['middle'][4] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  215. $pane = new stdClass();
  216. $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  217. $pane->panel = 'middle';
  218. $pane->type = 'panels_mini';
  219. $pane->subtype = 'news_home_v2';
  220. $pane->shown = TRUE;
  221. $pane->access = array();
  222. $pane->configuration = array(
  223. 'override_title' => 0,
  224. 'override_title_text' => '',
  225. 'override_title_heading' => 'h2',
  226. );
  227. $pane->cache = array();
  228. $pane->style = array(
  229. 'settings' => NULL,
  230. );
  231. $pane->css = array(
  232. 'css_id' => 'news-pane',
  233. 'css_class' => 'news-panel',
  234. );
  235. $pane->extras = array();
  236. $pane->position = 5;
  237. $pane->locks = array();
  238. $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
  239. $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
  240. $display->panels['middle'][5] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  241. $pane = new stdClass();
  242. $pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  243. $pane->panel = 'middle';
  244. $pane->type = 'node';
  245. $pane->subtype = 'node';
  246. $pane->shown = TRUE;
  247. $pane->access = array();
  248. $pane->configuration = array(
  249. 'nid' => '13053',
  250. 'links' => 1,
  251. 'leave_node_title' => 0,
  252. 'identifier' => 'formations',
  253. 'build_mode' => 'homeblock',
  254. 'link_node_title' => 0,
  255. 'override_title' => 1,
  256. 'override_title_text' => '<none>',
  257. 'override_title_heading' => 'h2',
  258. );
  259. $pane->cache = array();
  260. $pane->style = array(
  261. 'settings' => NULL,
  262. );
  263. $pane->css = array(
  264. 'css_id' => 'formations-pane',
  265. 'css_class' => 'formations',
  266. );
  267. $pane->extras = array();
  268. $pane->position = 6;
  269. $pane->locks = array();
  270. $pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  271. $display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
  272. $display->panels['middle'][6] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  273. $pane = new stdClass();
  274. $pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  275. $pane->panel = 'middle';
  276. $pane->type = 'node';
  277. $pane->subtype = 'node';
  278. $pane->shown = TRUE;
  279. $pane->access = array();
  280. $pane->configuration = array(
  281. 'nid' => '13054',
  282. 'links' => 1,
  283. 'leave_node_title' => 0,
  284. 'identifier' => 'services',
  285. 'build_mode' => 'homeblock',
  286. 'link_node_title' => 0,
  287. 'override_title' => 1,
  288. 'override_title_text' => '<none>',
  289. 'override_title_heading' => 'h2',
  290. );
  291. $pane->cache = array();
  292. $pane->style = array(
  293. 'settings' => NULL,
  294. );
  295. $pane->css = array(
  296. 'css_id' => 'services-pane',
  297. 'css_class' => 'services',
  298. );
  299. $pane->extras = array();
  300. $pane->position = 7;
  301. $pane->locks = array();
  302. $pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  303. $display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
  304. $display->panels['middle'][7] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  305. $pane = new stdClass();
  306. $pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  307. $pane->panel = 'middle';
  308. $pane->type = 'views_panes';
  309. $pane->subtype = 'publication_home_v2-panel_pane_1';
  310. $pane->shown = TRUE;
  311. $pane->access = array();
  312. $pane->configuration = array();
  313. $pane->cache = array();
  314. $pane->style = array(
  315. 'settings' => NULL,
  316. );
  317. $pane->css = array(
  318. 'css_id' => '',
  319. 'css_class' => 'publication',
  320. );
  321. $pane->extras = array();
  322. $pane->position = 8;
  323. $pane->locks = array();
  324. $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  325. $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
  326. $display->panels['middle'][8] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  327. $pane = new stdClass();
  328. $pane->pid = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  329. $pane->panel = 'middle';
  330. $pane->type = 'node';
  331. $pane->subtype = 'node';
  332. $pane->shown = TRUE;
  333. $pane->access = array();
  334. $pane->configuration = array(
  335. 'nid' => '11175',
  336. 'links' => 0,
  337. 'leave_node_title' => 0,
  338. 'identifier' => '',
  339. 'build_mode' => 'full',
  340. 'link_node_title' => 0,
  341. 'override_title' => 1,
  342. 'override_title_text' => '<none>',
  343. 'override_title_heading' => 'h2',
  344. );
  345. $pane->cache = array();
  346. $pane->style = array(
  347. 'settings' => NULL,
  348. );
  349. $pane->css = array(
  350. 'css_id' => 'contact-pane',
  351. 'css_class' => '',
  352. );
  353. $pane->extras = array();
  354. $pane->position = 9;
  355. $pane->locks = array();
  356. $pane->uuid = 'ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  357. $display->content['new-ab2ebbf2-7338-4db9-8df4-8b825058f98d'] = $pane;
  358. $display->panels['middle'][9] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
  359. $display->hide_title = PANELS_TITLE_NONE;
  360. $display->title_pane = '0';
  361. $handler->conf['display'] = $display;
  362. $page->default_handlers[$handler->name] = $handler;
  363. $pages['home_v2'] = $page;
  364. return $pages;
  365. }