clameurs.pages_default.inc 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?php
  2. /**
  3. * @file
  4. * clameurs.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_pages().
  8. */
  9. function clameurs_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';
  14. $page->task = 'page';
  15. $page->admin_title = 'Home';
  16. $page->admin_description = 'Home for onepage clameurs website';
  17. $page->path = 'home';
  18. $page->access = array(
  19. 'type' => 'none',
  20. 'settings' => NULL,
  21. );
  22. $page->menu = array();
  23. $page->arguments = array();
  24. $page->conf = array(
  25. 'admin_paths' => FALSE,
  26. );
  27. $page->default_handlers = array();
  28. $handler = new stdClass();
  29. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  30. $handler->api_version = 1;
  31. $handler->name = 'page_home__panneau';
  32. $handler->task = 'page';
  33. $handler->subtask = 'home';
  34. $handler->handler = 'panel_context';
  35. $handler->weight = 0;
  36. $handler->conf = array(
  37. 'title' => 'Home',
  38. 'no_blocks' => 0,
  39. 'pipeline' => 'standard',
  40. 'body_classes_to_remove' => '',
  41. 'body_classes_to_add' => '',
  42. 'css_id' => '',
  43. 'css' => '',
  44. 'contexts' => array(
  45. 0 => array(
  46. 'identifier' => 'T1',
  47. 'keyword' => 'node_1',
  48. 'name' => 'entity:node',
  49. 'entity_id' => '32',
  50. 'id' => 1,
  51. ),
  52. 1 => array(
  53. 'identifier' => 'T2',
  54. 'keyword' => 'node_2',
  55. 'name' => 'entity:node',
  56. 'entity_id' => '14',
  57. 'id' => 2,
  58. ),
  59. 2 => array(
  60. 'identifier' => 'T3',
  61. 'keyword' => 'node_3',
  62. 'name' => 'entity:node',
  63. 'entity_id' => '38',
  64. 'id' => 3,
  65. ),
  66. 3 => array(
  67. 'identifier' => 'T4',
  68. 'keyword' => 'node_4',
  69. 'name' => 'entity:node',
  70. 'entity_id' => '3',
  71. 'id' => 4,
  72. ),
  73. 4 => array(
  74. 'identifier' => 'T5',
  75. 'keyword' => 'node_5',
  76. 'name' => 'entity:node',
  77. 'entity_id' => '20',
  78. 'id' => 5,
  79. ),
  80. 5 => array(
  81. 'identifier' => 'T6',
  82. 'keyword' => 'node_6',
  83. 'name' => 'entity:node',
  84. 'entity_id' => '26',
  85. 'id' => 6,
  86. ),
  87. ),
  88. 'relationships' => array(),
  89. 'name' => 'panneau',
  90. );
  91. $display = new panels_display();
  92. $display->layout = 'column';
  93. $display->layout_settings = array();
  94. $display->panel_settings = array(
  95. 'style_settings' => array(
  96. 'middle' => NULL,
  97. 'default' => NULL,
  98. ),
  99. 'style' => 'naked',
  100. );
  101. $display->cache = array();
  102. $display->title = '';
  103. $display->uuid = 'cc95d4d9-2da7-434a-a6d9-1c54f7c04244';
  104. $display->storage_type = 'page_manager';
  105. $display->storage_id = 'page_home__panneau';
  106. $display->content = array();
  107. $display->panels = array();
  108. $pane = new stdClass();
  109. $pane->pid = 'new-047092b0-9489-436d-879b-704fc543bf86';
  110. $pane->panel = 'middle';
  111. $pane->type = 'node';
  112. $pane->subtype = 'node';
  113. $pane->shown = TRUE;
  114. $pane->access = array();
  115. $pane->configuration = array(
  116. 'nid' => '63',
  117. 'links' => 1,
  118. 'leave_node_title' => 0,
  119. 'identifier' => '',
  120. 'build_mode' => 'teaser',
  121. 'link_node_title' => 0,
  122. 'override_title' => 1,
  123. 'override_title_text' => '',
  124. 'override_title_heading' => 'h2',
  125. );
  126. $pane->cache = array();
  127. $pane->style = array(
  128. 'settings' => NULL,
  129. 'style' => 'naked',
  130. );
  131. $pane->css = array(
  132. 'css_id' => 'about-pan',
  133. 'css_class' => '',
  134. );
  135. $pane->extras = array();
  136. $pane->position = 0;
  137. $pane->locks = array();
  138. $pane->uuid = '047092b0-9489-436d-879b-704fc543bf86';
  139. $display->content['new-047092b0-9489-436d-879b-704fc543bf86'] = $pane;
  140. $display->panels['middle'][0] = 'new-047092b0-9489-436d-879b-704fc543bf86';
  141. $pane = new stdClass();
  142. $pane->pid = 'new-4151eebf-62c3-4502-bfa0-0da5af08cfd1';
  143. $pane->panel = 'middle';
  144. $pane->type = 'block';
  145. $pane->subtype = 'clameursmod-thematiques-anchor-links';
  146. $pane->shown = TRUE;
  147. $pane->access = array();
  148. $pane->configuration = array(
  149. 'override_title' => 1,
  150. 'override_title_text' => '',
  151. 'override_title_heading' => 'h2',
  152. );
  153. $pane->cache = array();
  154. $pane->style = array(
  155. 'settings' => array(
  156. 'title' => array(
  157. 'prefix' => '',
  158. 'suffix' => '',
  159. ),
  160. 'content' => array(
  161. 'prefix' => '<nav id="thematique-anchor-links">',
  162. 'suffix' => '</nav>',
  163. ),
  164. 'theme' => 0,
  165. ),
  166. 'style' => 'wrapper_raw',
  167. );
  168. $pane->css = array();
  169. $pane->extras = array();
  170. $pane->position = 1;
  171. $pane->locks = array();
  172. $pane->uuid = '4151eebf-62c3-4502-bfa0-0da5af08cfd1';
  173. $display->content['new-4151eebf-62c3-4502-bfa0-0da5af08cfd1'] = $pane;
  174. $display->panels['middle'][1] = 'new-4151eebf-62c3-4502-bfa0-0da5af08cfd1';
  175. $pane = new stdClass();
  176. $pane->pid = 'new-efb1bca5-47da-48e8-9aed-d84cfe637033';
  177. $pane->panel = 'middle';
  178. $pane->type = 'block';
  179. $pane->subtype = 'clameursmod-thematiques';
  180. $pane->shown = TRUE;
  181. $pane->access = array();
  182. $pane->configuration = array(
  183. 'override_title' => 0,
  184. 'override_title_text' => '',
  185. 'override_title_heading' => 'h2',
  186. );
  187. $pane->cache = array();
  188. $pane->style = array(
  189. 'settings' => NULL,
  190. 'style' => 'naked',
  191. );
  192. $pane->css = array();
  193. $pane->extras = array();
  194. $pane->position = 2;
  195. $pane->locks = array();
  196. $pane->uuid = 'efb1bca5-47da-48e8-9aed-d84cfe637033';
  197. $display->content['new-efb1bca5-47da-48e8-9aed-d84cfe637033'] = $pane;
  198. $display->panels['middle'][2] = 'new-efb1bca5-47da-48e8-9aed-d84cfe637033';
  199. $display->hide_title = PANELS_TITLE_NONE;
  200. $display->title_pane = '0';
  201. $handler->conf['display'] = $display;
  202. $page->default_handlers[$handler->name] = $handler;
  203. $pages['home'] = $page;
  204. return $pages;
  205. }