materio_home_v2.pages_default.inc 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  107. $pane->panel = 'middle';
  108. $pane->type = 'block';
  109. $pane->subtype = 'menu-menu-home-v2';
  110. $pane->shown = FALSE;
  111. $pane->access = array();
  112. $pane->configuration = array(
  113. 'override_title' => 1,
  114. 'override_title_text' => '',
  115. 'override_title_heading' => 'h3',
  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 = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
  126. $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
  127. $display->panels['middle'][1] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  128. $pane = new stdClass();
  129. $pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  130. $pane->panel = 'middle';
  131. $pane->type = 'node';
  132. $pane->subtype = 'node';
  133. $pane->shown = TRUE;
  134. $pane->access = array();
  135. $pane->configuration = array(
  136. 'nid' => '13051',
  137. 'links' => 1,
  138. 'leave_node_title' => 0,
  139. 'identifier' => 'showroom',
  140. 'build_mode' => 'homeblock',
  141. 'link_node_title' => 0,
  142. 'override_title' => 1,
  143. 'override_title_text' => '<No Title>',
  144. 'override_title_heading' => 'h2',
  145. );
  146. $pane->cache = array();
  147. $pane->style = array(
  148. 'settings' => NULL,
  149. );
  150. $pane->css = array(
  151. 'css_id' => 'showroom-pane',
  152. 'css_class' => 'showroom',
  153. );
  154. $pane->extras = array();
  155. $pane->position = 2;
  156. $pane->locks = array();
  157. $pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
  158. $display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
  159. $display->panels['middle'][2] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  160. $pane = new stdClass();
  161. $pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  162. $pane->panel = 'middle';
  163. $pane->type = 'node';
  164. $pane->subtype = 'node';
  165. $pane->shown = TRUE;
  166. $pane->access = array();
  167. $pane->configuration = array(
  168. 'nid' => '13052',
  169. 'links' => 1,
  170. 'leave_node_title' => 0,
  171. 'identifier' => 'database',
  172. 'build_mode' => 'homeblock',
  173. 'link_node_title' => 0,
  174. 'override_title' => 1,
  175. 'override_title_text' => '<none>',
  176. 'override_title_heading' => 'h2',
  177. );
  178. $pane->cache = array();
  179. $pane->style = array(
  180. 'settings' => NULL,
  181. );
  182. $pane->css = array(
  183. 'css_id' => 'bdd-pane',
  184. 'css_class' => 'bdd',
  185. );
  186. $pane->extras = array();
  187. $pane->position = 3;
  188. $pane->locks = array();
  189. $pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
  190. $display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
  191. $display->panels['middle'][3] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  192. $pane = new stdClass();
  193. $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  194. $pane->panel = 'middle';
  195. $pane->type = 'panels_mini';
  196. $pane->subtype = 'news_home_v2';
  197. $pane->shown = TRUE;
  198. $pane->access = array();
  199. $pane->configuration = array(
  200. 'override_title' => 0,
  201. 'override_title_text' => '',
  202. 'override_title_heading' => 'h2',
  203. );
  204. $pane->cache = array();
  205. $pane->style = array(
  206. 'settings' => NULL,
  207. );
  208. $pane->css = array(
  209. 'css_id' => 'news-pane',
  210. 'css_class' => 'news-panel',
  211. );
  212. $pane->extras = array();
  213. $pane->position = 4;
  214. $pane->locks = array();
  215. $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
  216. $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
  217. $display->panels['middle'][4] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  218. $pane = new stdClass();
  219. $pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  220. $pane->panel = 'middle';
  221. $pane->type = 'node';
  222. $pane->subtype = 'node';
  223. $pane->shown = TRUE;
  224. $pane->access = array();
  225. $pane->configuration = array(
  226. 'nid' => '13053',
  227. 'links' => 1,
  228. 'leave_node_title' => 0,
  229. 'identifier' => 'formations',
  230. 'build_mode' => 'homeblock',
  231. 'link_node_title' => 0,
  232. 'override_title' => 1,
  233. 'override_title_text' => '<none>',
  234. 'override_title_heading' => 'h2',
  235. );
  236. $pane->cache = array();
  237. $pane->style = array(
  238. 'settings' => NULL,
  239. );
  240. $pane->css = array(
  241. 'css_id' => 'formations-pane',
  242. 'css_class' => 'formations',
  243. );
  244. $pane->extras = array();
  245. $pane->position = 5;
  246. $pane->locks = array();
  247. $pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  248. $display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
  249. $display->panels['middle'][5] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  250. $pane = new stdClass();
  251. $pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  252. $pane->panel = 'middle';
  253. $pane->type = 'node';
  254. $pane->subtype = 'node';
  255. $pane->shown = TRUE;
  256. $pane->access = array();
  257. $pane->configuration = array(
  258. 'nid' => '13054',
  259. 'links' => 1,
  260. 'leave_node_title' => 0,
  261. 'identifier' => 'services',
  262. 'build_mode' => 'homeblock',
  263. 'link_node_title' => 0,
  264. 'override_title' => 1,
  265. 'override_title_text' => '<none>',
  266. 'override_title_heading' => 'h2',
  267. );
  268. $pane->cache = array();
  269. $pane->style = array(
  270. 'settings' => NULL,
  271. );
  272. $pane->css = array(
  273. 'css_id' => 'services-pane',
  274. 'css_class' => 'services',
  275. );
  276. $pane->extras = array();
  277. $pane->position = 6;
  278. $pane->locks = array();
  279. $pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  280. $display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
  281. $display->panels['middle'][6] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  282. $pane = new stdClass();
  283. $pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  284. $pane->panel = 'middle';
  285. $pane->type = 'views_panes';
  286. $pane->subtype = 'publication_home_v2-panel_pane_1';
  287. $pane->shown = TRUE;
  288. $pane->access = array();
  289. $pane->configuration = array();
  290. $pane->cache = array();
  291. $pane->style = array(
  292. 'settings' => NULL,
  293. );
  294. $pane->css = array(
  295. 'css_id' => '',
  296. 'css_class' => 'publication',
  297. );
  298. $pane->extras = array();
  299. $pane->position = 7;
  300. $pane->locks = array();
  301. $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  302. $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
  303. $display->panels['middle'][7] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  304. $display->hide_title = PANELS_TITLE_NONE;
  305. $display->title_pane = '0';
  306. $handler->conf['display'] = $display;
  307. $page->default_handlers[$handler->name] = $handler;
  308. $pages['home_v2'] = $page;
  309. return $pages;
  310. }