materio_home_v2.pages_default.inc 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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 => 11,
  25. 1 => 3,
  26. 2 => 4,
  27. ),
  28. ),
  29. 'context' => 'logged-in-user',
  30. 'not' => FALSE,
  31. ),
  32. ),
  33. 'logic' => 'and',
  34. );
  35. $page->menu = array();
  36. $page->arguments = array();
  37. $page->conf = array(
  38. 'admin_paths' => FALSE,
  39. );
  40. $page->default_handlers = array();
  41. $handler = new stdClass();
  42. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  43. $handler->api_version = 1;
  44. $handler->name = 'page_home_v2__panel_context_2bd92edc-8b2b-42d3-9857-f44f03574847';
  45. $handler->task = 'page';
  46. $handler->subtask = 'home_v2';
  47. $handler->handler = 'panel_context';
  48. $handler->weight = 0;
  49. $handler->conf = array(
  50. 'title' => 'Panneau',
  51. 'no_blocks' => 0,
  52. 'pipeline' => 'standard',
  53. 'body_classes_to_remove' => '',
  54. 'body_classes_to_add' => 'home-v2',
  55. 'css_id' => 'home-v2',
  56. 'css' => '',
  57. 'contexts' => array(),
  58. 'relationships' => array(),
  59. );
  60. $display = new panels_display();
  61. $display->layout = 'onecol';
  62. $display->layout_settings = array();
  63. $display->panel_settings = array(
  64. 'style_settings' => array(
  65. 'default' => NULL,
  66. 'middle' => NULL,
  67. ),
  68. );
  69. $display->cache = array();
  70. $display->title = '';
  71. $display->uuid = 'eca54323-0377-4ab0-b40c-69b96c16707a';
  72. $display->content = array();
  73. $display->panels = array();
  74. $pane = new stdClass();
  75. $pane->pid = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  76. $pane->panel = 'middle';
  77. $pane->type = 'node';
  78. $pane->subtype = 'node';
  79. $pane->shown = TRUE;
  80. $pane->access = array();
  81. $pane->configuration = array(
  82. 'nid' => '13097',
  83. 'links' => 0,
  84. 'leave_node_title' => 0,
  85. 'identifier' => '',
  86. 'build_mode' => 'homeblock',
  87. 'link_node_title' => 0,
  88. 'override_title' => 1,
  89. 'override_title_text' => '<No Title>',
  90. 'override_title_heading' => 'span',
  91. );
  92. $pane->cache = array();
  93. $pane->style = array(
  94. 'settings' => NULL,
  95. );
  96. $pane->css = array(
  97. 'css_id' => '',
  98. 'css_class' => 'intro-video',
  99. );
  100. $pane->extras = array();
  101. $pane->position = 0;
  102. $pane->locks = array();
  103. $pane->uuid = 'd0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  104. $display->content['new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7'] = $pane;
  105. $display->panels['middle'][0] = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
  106. $pane = new stdClass();
  107. $pane->pid = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  108. $pane->panel = 'middle';
  109. $pane->type = 'block';
  110. $pane->subtype = 'menu-menu-home-v2';
  111. $pane->shown = TRUE;
  112. $pane->access = array();
  113. $pane->configuration = array(
  114. 'override_title' => 1,
  115. 'override_title_text' => '',
  116. 'override_title_heading' => 'h3',
  117. );
  118. $pane->cache = array();
  119. $pane->style = array(
  120. 'settings' => NULL,
  121. );
  122. $pane->css = array();
  123. $pane->extras = array();
  124. $pane->position = 1;
  125. $pane->locks = array();
  126. $pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
  127. $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
  128. $display->panels['middle'][1] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
  129. $pane = new stdClass();
  130. $pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  131. $pane->panel = 'middle';
  132. $pane->type = 'node';
  133. $pane->subtype = 'node';
  134. $pane->shown = TRUE;
  135. $pane->access = array();
  136. $pane->configuration = array(
  137. 'nid' => '13051',
  138. 'links' => 1,
  139. 'leave_node_title' => 0,
  140. 'identifier' => 'showroom',
  141. 'build_mode' => 'homeblock',
  142. 'link_node_title' => 0,
  143. 'override_title' => 1,
  144. 'override_title_text' => '<No Title>',
  145. 'override_title_heading' => 'h2',
  146. );
  147. $pane->cache = array();
  148. $pane->style = array(
  149. 'settings' => NULL,
  150. );
  151. $pane->css = array(
  152. 'css_id' => 'showroom-pane',
  153. 'css_class' => 'showroom',
  154. );
  155. $pane->extras = array();
  156. $pane->position = 2;
  157. $pane->locks = array();
  158. $pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
  159. $display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
  160. $display->panels['middle'][2] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
  161. $pane = new stdClass();
  162. $pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  163. $pane->panel = 'middle';
  164. $pane->type = 'node';
  165. $pane->subtype = 'node';
  166. $pane->shown = TRUE;
  167. $pane->access = array();
  168. $pane->configuration = array(
  169. 'nid' => '13052',
  170. 'links' => 1,
  171. 'leave_node_title' => 0,
  172. 'identifier' => 'database',
  173. 'build_mode' => 'homeblock',
  174. 'link_node_title' => 0,
  175. 'override_title' => 1,
  176. 'override_title_text' => '<none>',
  177. 'override_title_heading' => 'h2',
  178. );
  179. $pane->cache = array();
  180. $pane->style = array(
  181. 'settings' => NULL,
  182. );
  183. $pane->css = array(
  184. 'css_id' => 'bdd-pane',
  185. 'css_class' => 'bdd',
  186. );
  187. $pane->extras = array();
  188. $pane->position = 3;
  189. $pane->locks = array();
  190. $pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
  191. $display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
  192. $display->panels['middle'][3] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
  193. $pane = new stdClass();
  194. $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  195. $pane->panel = 'middle';
  196. $pane->type = 'panels_mini';
  197. $pane->subtype = 'news_home_v2';
  198. $pane->shown = TRUE;
  199. $pane->access = array();
  200. $pane->configuration = array(
  201. 'override_title' => 0,
  202. 'override_title_text' => '',
  203. 'override_title_heading' => 'h2',
  204. );
  205. $pane->cache = array();
  206. $pane->style = array(
  207. 'settings' => NULL,
  208. );
  209. $pane->css = array(
  210. 'css_id' => 'news-pane',
  211. 'css_class' => 'news-panel',
  212. );
  213. $pane->extras = array();
  214. $pane->position = 4;
  215. $pane->locks = array();
  216. $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
  217. $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
  218. $display->panels['middle'][4] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
  219. $pane = new stdClass();
  220. $pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  221. $pane->panel = 'middle';
  222. $pane->type = 'node';
  223. $pane->subtype = 'node';
  224. $pane->shown = TRUE;
  225. $pane->access = array();
  226. $pane->configuration = array(
  227. 'nid' => '13053',
  228. 'links' => 1,
  229. 'leave_node_title' => 0,
  230. 'identifier' => 'formations',
  231. 'build_mode' => 'homeblock',
  232. 'link_node_title' => 0,
  233. 'override_title' => 1,
  234. 'override_title_text' => '<none>',
  235. 'override_title_heading' => 'h2',
  236. );
  237. $pane->cache = array();
  238. $pane->style = array(
  239. 'settings' => NULL,
  240. );
  241. $pane->css = array(
  242. 'css_id' => 'formations-pane',
  243. 'css_class' => 'formations',
  244. );
  245. $pane->extras = array();
  246. $pane->position = 5;
  247. $pane->locks = array();
  248. $pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  249. $display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
  250. $display->panels['middle'][5] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
  251. $pane = new stdClass();
  252. $pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  253. $pane->panel = 'middle';
  254. $pane->type = 'node';
  255. $pane->subtype = 'node';
  256. $pane->shown = TRUE;
  257. $pane->access = array();
  258. $pane->configuration = array(
  259. 'nid' => '13054',
  260. 'links' => 1,
  261. 'leave_node_title' => 0,
  262. 'identifier' => 'services',
  263. 'build_mode' => 'homeblock',
  264. 'link_node_title' => 0,
  265. 'override_title' => 1,
  266. 'override_title_text' => '<none>',
  267. 'override_title_heading' => 'h2',
  268. );
  269. $pane->cache = array();
  270. $pane->style = array(
  271. 'settings' => NULL,
  272. );
  273. $pane->css = array(
  274. 'css_id' => 'services-pane',
  275. 'css_class' => 'services',
  276. );
  277. $pane->extras = array();
  278. $pane->position = 6;
  279. $pane->locks = array();
  280. $pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  281. $display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
  282. $display->panels['middle'][6] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
  283. $pane = new stdClass();
  284. $pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  285. $pane->panel = 'middle';
  286. $pane->type = 'views_panes';
  287. $pane->subtype = 'publication_home_v2-panel_pane_1';
  288. $pane->shown = TRUE;
  289. $pane->access = array();
  290. $pane->configuration = array();
  291. $pane->cache = array();
  292. $pane->style = array(
  293. 'settings' => NULL,
  294. );
  295. $pane->css = array(
  296. 'css_id' => '',
  297. 'css_class' => 'publication',
  298. );
  299. $pane->extras = array();
  300. $pane->position = 7;
  301. $pane->locks = array();
  302. $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  303. $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
  304. $display->panels['middle'][7] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
  305. $display->hide_title = PANELS_TITLE_NONE;
  306. $display->title_pane = '0';
  307. $handler->conf['display'] = $display;
  308. $page->default_handlers[$handler->name] = $handler;
  309. $pages['home_v2'] = $page;
  310. return $pages;
  311. }