big update for home v2
This commit is contained in:
@@ -22,8 +22,9 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'name' => 'role',
|
||||
'settings' => array(
|
||||
'rids' => array(
|
||||
0 => 3,
|
||||
1 => 4,
|
||||
0 => 11,
|
||||
1 => 3,
|
||||
2 => 4,
|
||||
),
|
||||
),
|
||||
'context' => 'logged-in-user',
|
||||
@@ -51,8 +52,8 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'no_blocks' => 0,
|
||||
'pipeline' => 'standard',
|
||||
'body_classes_to_remove' => '',
|
||||
'body_classes_to_add' => '',
|
||||
'css_id' => 'homev2',
|
||||
'body_classes_to_add' => 'home-v2',
|
||||
'css_id' => 'home-v2',
|
||||
'css' => '',
|
||||
'contexts' => array(),
|
||||
'relationships' => array(),
|
||||
@@ -71,6 +72,38 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
$display->uuid = 'eca54323-0377-4ab0-b40c-69b96c16707a';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'node';
|
||||
$pane->subtype = 'node';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'nid' => '13097',
|
||||
'links' => 0,
|
||||
'leave_node_title' => 0,
|
||||
'identifier' => '',
|
||||
'build_mode' => 'homeblock',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<No Title>',
|
||||
'override_title_heading' => 'span',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'intro-video',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'd0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
|
||||
$display->content['new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7'] = $pane;
|
||||
$display->panels['middle'][0] = 'new-d0ee2cb5-bc02-4ded-a907-91d2dbea37c7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
||||
$pane->panel = 'middle';
|
||||
@@ -89,11 +122,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
||||
$display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
|
||||
$display->panels['middle'][0] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
||||
$display->panels['middle'][1] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
|
||||
$pane->panel = 'middle';
|
||||
@@ -106,10 +139,10 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'links' => 1,
|
||||
'leave_node_title' => 0,
|
||||
'identifier' => 'showroom',
|
||||
'build_mode' => 'teaser',
|
||||
'link_node_title' => 1,
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'homeblock',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<No Title>',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
@@ -121,11 +154,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'showroom',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
|
||||
$display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
|
||||
$display->panels['middle'][1] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
|
||||
$display->panels['middle'][2] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
|
||||
$pane->panel = 'middle';
|
||||
@@ -138,10 +171,10 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'links' => 1,
|
||||
'leave_node_title' => 0,
|
||||
'identifier' => 'database',
|
||||
'build_mode' => 'teaser',
|
||||
'link_node_title' => 1,
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'homeblock',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
@@ -153,11 +186,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'bdd',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->position = 3;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
|
||||
$display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
|
||||
$display->panels['middle'][2] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
|
||||
$display->panels['middle'][3] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
||||
$pane->panel = 'middle';
|
||||
@@ -179,11 +212,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'news-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 3;
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
||||
$display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
|
||||
$display->panels['middle'][3] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
||||
$display->panels['middle'][4] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
|
||||
$pane->panel = 'middle';
|
||||
@@ -196,10 +229,10 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'links' => 1,
|
||||
'leave_node_title' => 0,
|
||||
'identifier' => 'formations',
|
||||
'build_mode' => 'teaser',
|
||||
'link_node_title' => 1,
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'homeblock',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
@@ -211,11 +244,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'formations',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->position = 5;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
|
||||
$display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
|
||||
$display->panels['middle'][4] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
|
||||
$display->panels['middle'][5] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
|
||||
$pane->panel = 'middle';
|
||||
@@ -228,10 +261,10 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'links' => 1,
|
||||
'leave_node_title' => 0,
|
||||
'identifier' => 'services',
|
||||
'build_mode' => 'teaser',
|
||||
'link_node_title' => 1,
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'homeblock',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
@@ -243,11 +276,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'services',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 5;
|
||||
$pane->position = 6;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
|
||||
$display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
|
||||
$display->panels['middle'][5] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
|
||||
$display->panels['middle'][6] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
|
||||
$pane->panel = 'middle';
|
||||
@@ -265,11 +298,11 @@ function materio_home_v2_default_page_manager_pages() {
|
||||
'css_class' => 'publication',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 6;
|
||||
$pane->position = 7;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
|
||||
$display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
|
||||
$display->panels['middle'][6] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
|
||||
$display->panels['middle'][7] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
|
||||
$display->hide_title = PANELS_TITLE_NONE;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
|
||||
@@ -79,6 +79,8 @@ function materio_home_v2_views_default_views() {
|
||||
|
||||
/* Display: daily */
|
||||
$handler = $view->new_display('panel_pane', 'daily', 'panel_pane_2');
|
||||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||||
$handler->display->display_options['title'] = 'Daily materiO\'';
|
||||
$handler->display->display_options['defaults']['pager'] = FALSE;
|
||||
$handler->display->display_options['pager']['type'] = 'some';
|
||||
$handler->display->display_options['pager']['options']['items_per_page'] = '1';
|
||||
@@ -131,6 +133,15 @@ function materio_home_v2_views_default_views() {
|
||||
);
|
||||
$handler->display->display_options['pane_category']['name'] = 'home v2';
|
||||
$handler->display->display_options['pane_category']['weight'] = '0';
|
||||
$handler->display->display_options['allow']['use_pager'] = 0;
|
||||
$handler->display->display_options['allow']['items_per_page'] = 0;
|
||||
$handler->display->display_options['allow']['offset'] = 0;
|
||||
$handler->display->display_options['allow']['link_to_view'] = 0;
|
||||
$handler->display->display_options['allow']['more_link'] = 0;
|
||||
$handler->display->display_options['allow']['path_override'] = 0;
|
||||
$handler->display->display_options['allow']['title_override'] = 'title_override';
|
||||
$handler->display->display_options['allow']['exposed_form'] = 0;
|
||||
$handler->display->display_options['allow']['fields_override'] = 0;
|
||||
$translatables['news_home_v2'] = array(
|
||||
t('Master'),
|
||||
t('News'),
|
||||
@@ -142,6 +153,7 @@ function materio_home_v2_views_default_views() {
|
||||
t('Desc'),
|
||||
t('home v2'),
|
||||
t('daily'),
|
||||
t('Daily materiO\''),
|
||||
);
|
||||
$export['news_home_v2'] = $view;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user