added database link on home for members

This commit is contained in:
Bachir Soussi Chiadmi 2015-07-21 15:58:56 +02:00
parent 96903cab02
commit 5b281024a5
7 changed files with 569 additions and 390 deletions

View File

@ -18,8 +18,17 @@ function materio_home_v2_menu_default_menu_custom() {
'language' => 'und',
'i18n_mode' => 5,
);
// Exported menu: menu-menu-home-member.
$menus['menu-menu-home-member'] = array(
'menu_name' => 'menu-menu-home-member',
'title' => 'Menu Home Member',
'description' => '',
'language' => 'und',
'i18n_mode' => 5,
);
// Translatables
// Included for use with string extractors like potx.
t('Menu Home Member');
t('Menu home v2');

View File

@ -10,6 +10,36 @@
function materio_home_v2_menu_default_menu_links() {
$menu_links = array();
// Exported menu link: menu-home-v2_access-to-the-online-database:node/13052
$menu_links['menu-home-v2_access-to-the-online-database:node/13052'] = array(
'menu_name' => 'menu-home-v2',
'link_path' => 'node/13052',
'router_path' => 'node/%',
'link_title' => 'Access to the online database',
'options' => array(
'alter' => TRUE,
'identifier' => 'menu-home-v2_access-to-the-online-database:node/13052',
'attributes' => array(
'class' => array(
0 => 'bdd-link',
),
),
'item_attributes' => array(
'id' => '',
'class' => '',
'style' => '',
),
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => 1,
'customized' => 1,
'language' => 'und',
'menu_links_customized' => 1,
);
// Exported menu link: menu-home-v2_actualit:actuality
$menu_links['menu-home-v2_actualit:actuality'] = array(
'menu_name' => 'menu-home-v2',
@ -40,36 +70,6 @@ function materio_home_v2_menu_default_menu_links() {
'language' => 'und',
'menu_links_customized' => 1,
);
// Exported menu link: menu-home-v2_la-base-de-donnes:node/13052
$menu_links['menu-home-v2_la-base-de-donnes:node/13052'] = array(
'menu_name' => 'menu-home-v2',
'link_path' => 'node/13052',
'router_path' => 'node/%',
'link_title' => 'La base de données',
'options' => array(
'alter' => TRUE,
'attributes' => array(
'class' => array(
0 => 'bdd-link',
),
),
'item_attributes' => array(
'id' => '',
'class' => '',
'style' => '',
),
'identifier' => 'menu-home-v2_la-base-de-donnes:node/13052',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => 1,
'customized' => 1,
'language' => 'und',
'menu_links_customized' => 1,
);
// Exported menu link: menu-home-v2_le-showroom:node/13051
$menu_links['menu-home-v2_le-showroom:node/13051'] = array(
'menu_name' => 'menu-home-v2',
@ -160,10 +160,36 @@ function materio_home_v2_menu_default_menu_links() {
'language' => 'und',
'menu_links_customized' => 1,
);
// Exported menu link: menu-menu-home-member_access-to-the-online-database:actuality
$menu_links['menu-menu-home-member_access-to-the-online-database:actuality'] = array(
'menu_name' => 'menu-menu-home-member',
'link_path' => 'actuality',
'router_path' => 'actuality',
'link_title' => 'Access to the online database',
'options' => array(
'attributes' => array(),
'item_attributes' => array(
'id' => '',
'class' => '',
'style' => '',
),
'alter' => TRUE,
'identifier' => 'menu-menu-home-member_access-to-the-online-database:actuality',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => 0,
'customized' => 1,
'language' => 'und',
'menu_links_customized' => 1,
);
// Translatables
// Included for use with string extractors like potx.
t('Access to the online database');
t('Actualité');
t('La base de données');
t('Le showroom');
t('Les formations');
t('Les services sur mesure');

View File

@ -20,11 +20,13 @@ features[ctools][] = views:views_default:3.0
features[features_api][] = api:2
features[image][] = publications-home
features[menu_custom][] = menu-home-v2
features[menu_custom][] = menu-menu-home-member
features[menu_links][] = menu-home-v2_access-to-the-online-database:node/13052
features[menu_links][] = menu-home-v2_actualit:actuality
features[menu_links][] = menu-home-v2_la-base-de-donnes:node/13052
features[menu_links][] = menu-home-v2_le-showroom:node/13051
features[menu_links][] = menu-home-v2_les-formations:node/13053
features[menu_links][] = menu-home-v2_les-services-sur-mesure:node/13054
features[menu_links][] = menu-menu-home-member_access-to-the-online-database:actuality
features[page_manager_pages][] = home_v2
features[panels_mini][] = news_home_v2
features[views_view][] = news_home_v2

View File

@ -132,7 +132,9 @@ function materio_home_v2_default_page_manager_pages() {
$pane->type = 'block';
$pane->subtype = 'menu-menu-home-v2';
$pane->shown = FALSE;
$pane->access = array();
$pane->access = array(
'plugins' => array(),
);
$pane->configuration = array(
'override_title' => 1,
'override_title_text' => '',
@ -150,6 +152,47 @@ function materio_home_v2_default_page_manager_pages() {
$display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
$display->panels['middle'][2] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
$pane = new stdClass();
$pane->pid = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
$pane->panel = 'middle';
$pane->type = 'block';
$pane->subtype = 'menu-menu-menu-home-member';
$pane->shown = TRUE;
$pane->access = array(
'plugins' => array(
0 => array(
'name' => 'role',
'settings' => array(
'rids' => array(
0 => 10,
1 => 11,
2 => 6,
3 => 8,
4 => 3,
5 => 4,
),
),
'context' => 'logged-in-user',
'not' => FALSE,
),
),
);
$pane->configuration = array(
'override_title' => 1,
'override_title_text' => '',
'override_title_heading' => 'h2',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 3;
$pane->locks = array();
$pane->uuid = 'fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
$display->content['new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339'] = $pane;
$display->panels['middle'][3] = 'new-fd3cbeb9-4de0-413f-8cd9-f88eb448f339';
$pane = new stdClass();
$pane->pid = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
$pane->panel = 'middle';
$pane->type = 'node';
@ -176,11 +219,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'showroom',
);
$pane->extras = array();
$pane->position = 3;
$pane->position = 4;
$pane->locks = array();
$pane->uuid = 'c0f80278-c595-4c40-bcec-11063eb6fac5';
$display->content['new-c0f80278-c595-4c40-bcec-11063eb6fac5'] = $pane;
$display->panels['middle'][3] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
$display->panels['middle'][4] = 'new-c0f80278-c595-4c40-bcec-11063eb6fac5';
$pane = new stdClass();
$pane->pid = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
$pane->panel = 'middle';
@ -208,11 +251,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'bdd',
);
$pane->extras = array();
$pane->position = 4;
$pane->position = 5;
$pane->locks = array();
$pane->uuid = '71badc43-2232-4c2f-b454-e3be80726a22';
$display->content['new-71badc43-2232-4c2f-b454-e3be80726a22'] = $pane;
$display->panels['middle'][4] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
$display->panels['middle'][5] = 'new-71badc43-2232-4c2f-b454-e3be80726a22';
$pane = new stdClass();
$pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
$pane->panel = 'middle';
@ -234,11 +277,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'news-panel',
);
$pane->extras = array();
$pane->position = 5;
$pane->position = 6;
$pane->locks = array();
$pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
$display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
$display->panels['middle'][5] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
$display->panels['middle'][6] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
$pane = new stdClass();
$pane->pid = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
$pane->panel = 'middle';
@ -266,11 +309,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'formations',
);
$pane->extras = array();
$pane->position = 6;
$pane->position = 7;
$pane->locks = array();
$pane->uuid = 'e5d39cf0-472b-4779-9d31-a1548fe86bc7';
$display->content['new-e5d39cf0-472b-4779-9d31-a1548fe86bc7'] = $pane;
$display->panels['middle'][6] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
$display->panels['middle'][7] = 'new-e5d39cf0-472b-4779-9d31-a1548fe86bc7';
$pane = new stdClass();
$pane->pid = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
$pane->panel = 'middle';
@ -298,11 +341,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'services',
);
$pane->extras = array();
$pane->position = 7;
$pane->position = 8;
$pane->locks = array();
$pane->uuid = '9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
$display->content['new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe'] = $pane;
$display->panels['middle'][7] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
$display->panels['middle'][8] = 'new-9718c81e-6055-4e4e-a0e5-3796d58c6cbe';
$pane = new stdClass();
$pane->pid = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$pane->panel = 'middle';
@ -320,11 +363,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => 'publication',
);
$pane->extras = array();
$pane->position = 8;
$pane->position = 9;
$pane->locks = array();
$pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
$display->panels['middle'][8] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$display->panels['middle'][9] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$pane = new stdClass();
$pane->pid = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$pane->panel = 'middle';
@ -352,11 +395,11 @@ function materio_home_v2_default_page_manager_pages() {
'css_class' => '',
);
$pane->extras = array();
$pane->position = 9;
$pane->position = 10;
$pane->locks = array();
$pane->uuid = 'ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$display->content['new-ab2ebbf2-7338-4db9-8df4-8b825058f98d'] = $pane;
$display->panels['middle'][9] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$display->panels['middle'][10] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = '0';
$handler->conf['display'] = $display;

File diff suppressed because it is too large Load Diff

View File

@ -17,4 +17,5 @@ $vertclair : rgb(121,230,68);
$violet : rgb(119,46,136);
$rouge : rgb(230,35,38);
$bleu : rgb(52,79,193);
$vertjaune : #e6de1c;
$vertbleu : #69cdcf;

View File

@ -2924,7 +2924,7 @@ body.home-v2{
margin-top: 0.5em;
}
}
&.pane-menu-menu-home-v2{
&.pane-menu-menu-home-v2, &.pane-menu-menu-menu-home-member{
margin:2em 0;
ul.menu{
margin: 0px; text-align: center;
@ -2940,41 +2940,15 @@ body.home-v2{
font-size: 18px;
font-weight: 500;
transition:opacity,background-color 0.2s ease-out;
&[href="/fr/actuality"]{
background-color:$vertjaune;
@include shadowTextBtnBlack();
}
}
&:nth-child(1){
// a{color:$orange;}
&:hover a{background-color: $orange; color:#4d4d4d;}
}
&:nth-child(2){
// a{color:$vertclair;}
&:hover a{background-color: $vertclair; color:#4d4d4d;}
}
&:nth-child(3){
// a{color:$bleuclair;}
&:hover a{background-color: $bleuclair; color:#4d4d4d;}
}
&:nth-child(4){
// a{color:$jaune;}
&:hover a{background-color: $jaune; color:#4d4d4d;}
}
&:nth-child(5){
// a{color:$rose;}
&:hover a{background-color: $rose; color:#4d4d4d;}
}
&:nth-child(6){
// a{color:$violet;}
&:hover a{background-color: $violet; color:#4d4d4d;}
}
&:nth-child(7){
// a{color:$rouge;}
&:hover a{background-color: $rouge; color:#4d4d4d;}
}
}
@media #{$small-only}{
display:none;
}
// @media #{$small-only}{
// display:none;
// }
}
&.pane-materio-user-user-register{