big update for home v2

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-03 17:02:24 +02:00
parent 49004d7fee
commit 3ffbc09c10
26 changed files with 4210 additions and 1461 deletions

View File

@@ -61,7 +61,7 @@ function materio_administration_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_position_fixed';
$strongarm->value = 0;
$strongarm->value = 1;
$export['admin_menu_position_fixed'] = $strongarm;
$strongarm = new stdClass();

View File

@@ -952,11 +952,10 @@ function materio_administration_views_default_views() {
$handler->display->display_options['fields']['type']['id'] = 'type';
$handler->display->display_options['fields']['type']['table'] = 'node';
$handler->display->display_options['fields']['type']['field'] = 'type';
/* Champ: Contenu : Title */
/* Champ: Contenu : Titre */
$handler->display->display_options['fields']['title_field']['id'] = 'title_field';
$handler->display->display_options['fields']['title_field']['table'] = 'field_data_title_field';
$handler->display->display_options['fields']['title_field']['field'] = 'title_field';
$handler->display->display_options['fields']['title_field']['label'] = 'Titre';
$handler->display->display_options['fields']['title_field']['element_type'] = 'strong';
$handler->display->display_options['fields']['title_field']['link_to_entity'] = 1;
/* Champ: Contenu : Référence Materio */

View File

@@ -57,6 +57,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -140,6 +146,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'computed_field_plain',
'weight' => 10,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -226,6 +238,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 8,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -303,6 +321,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 9,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -379,6 +403,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 4,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -467,6 +497,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 7,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -560,6 +596,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 5,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -644,6 +686,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 3,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -744,6 +792,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'image',
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -833,6 +887,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'computed_field_plain',
'weight' => 11,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -916,6 +976,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_plain',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -1000,6 +1066,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'text',
@@ -1085,6 +1157,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'file_default',
'weight' => 10,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -1168,6 +1246,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 5,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -1247,6 +1331,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 4,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'text',
@@ -1325,6 +1415,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -1406,6 +1502,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'list_default',
'weight' => 3,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -1505,6 +1607,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'addressfield_default',
'weight' => 9,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'addressfield',
@@ -1601,6 +1709,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'email_default',
'weight' => 7,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'email',
@@ -1680,6 +1794,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'global_phone_number',
'weight' => 8,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'cck_phone',
@@ -2000,6 +2120,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 11,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'taxonomy',
@@ -2086,6 +2212,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'link_default',
'weight' => 6,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'link',
@@ -2182,6 +2314,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'file_default',
'weight' => 9,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -2264,6 +2402,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'entityreference_label',
'weight' => 23,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -2351,6 +2495,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 18,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'module' => 'tode',
@@ -2442,6 +2592,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 17,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'module' => 'tode',
@@ -2527,6 +2683,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'text',
@@ -2607,6 +2769,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'list_default',
'weight' => 19,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -2682,6 +2850,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'computed_field_plain',
'weight' => 20,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -2760,6 +2934,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 14,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'text',
@@ -2860,6 +3040,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'image',
'weight' => 6,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'image',
@@ -2960,6 +3146,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'entityreference_label',
'weight' => 22,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3037,6 +3229,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 8,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3119,6 +3317,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'title',
@@ -3202,6 +3406,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 16,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3292,6 +3502,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'computed_field_plain',
'weight' => 21,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'computed_field',
@@ -3368,6 +3584,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 15,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3446,6 +3668,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'video_filter_field_default',
'weight' => 7,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3522,6 +3750,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 24,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3605,6 +3839,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 12,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'hidden',
'module' => 'text',
@@ -3688,6 +3928,15 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 3,
),
'homeblock' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 4,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -3701,7 +3950,7 @@ function materio_content_types_field_default_field_instances() {
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 0,
'weight' => 3,
),
),
'entity_type' => 'node',
@@ -3771,10 +4020,24 @@ function materio_content_types_field_default_field_instances() {
'type' => 'image',
'weight' => 1,
),
'homeblock' => array(
'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 0,
),
),
@@ -3854,11 +4117,27 @@ function materio_content_types_field_default_field_instances() {
'type' => 'video_embed_field',
'weight' => 2,
),
'homeblock' => array(
'label' => 'hidden',
'module' => 'video_embed_field',
'settings' => array(
'description' => 1,
'description_position' => 'bottom',
'video_style' => 'normal',
),
'type' => 'video_embed_field',
'weight' => 1,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'label' => 'hidden',
'module' => 'video_embed_field',
'settings' => array(
'description' => 1,
'description_position' => 'bottom',
'video_style' => 'normal',
),
'type' => 'video_embed_field',
'weight' => 1,
),
),
'entity_type' => 'node',
@@ -3922,6 +4201,12 @@ function materio_content_types_field_default_field_instances() {
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'homeblock' => array(
'label' => 'hidden',
'module' => 'title',
'settings' => array(
@@ -3930,7 +4215,7 @@ function materio_content_types_field_default_field_instances() {
'title_style' => '',
),
'type' => 'title_linked',
'weight' => 0,
'weight' => 3,
),
'print' => array(
'label' => 'above',
@@ -3939,10 +4224,15 @@ function materio_content_types_field_default_field_instances() {
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'label' => 'hidden',
'module' => 'title',
'settings' => array(
'title_class' => '',
'title_link' => '',
'title_style' => '',
),
'type' => 'title_linked',
'weight' => 2,
),
),
'entity_type' => 'node',
@@ -4012,6 +4302,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'text_default',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -4092,6 +4388,12 @@ function materio_content_types_field_default_field_instances() {
'type' => 'hidden',
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),

View File

@@ -132,6 +132,39 @@ function materio_content_types_field_group_info() {
);
$export['group_contact_ope|node|materiau|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_content|node|page|homeblock';
$field_group->group_name = 'group_content';
$field_group->entity_type = 'node';
$field_group->bundle = 'page';
$field_group->mode = 'homeblock';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'content',
'weight' => '2',
'children' => array(
0 => 'body',
1 => 'title_field',
),
'format_type' => 'div',
'format_settings' => array(
'label' => 'content',
'instance_settings' => array(
'id' => '',
'classes' => 'group-content field-group-div',
'description' => '',
'show_label' => '0',
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
),
'formatter' => 'open',
),
);
$export['group_content|node|page|homeblock'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;

View File

@@ -76,6 +76,7 @@ features[field_group][] = group_4|node|materiau|cardbig
features[field_group][] = group_base|node|breve|form
features[field_group][] = group_base|node|materiau|form
features[field_group][] = group_contact_ope|node|materiau|form
features[field_group][] = group_content|node|page|homeblock
features[field_group][] = group_fichiers|node|materiau|form
features[field_group][] = group_head_right|node|materiau|print
features[field_group][] = group_header|node|breve|bookmark

View File

@@ -374,12 +374,28 @@ function materio_content_types_strongarm() {
'weight' => '5',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '4',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '5',
'visible' => FALSE,
),
),
'workflow' => array(
'default' => array(
'weight' => '4',
'visible' => TRUE,
),
'teaser' => array(
'weight' => '5',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '6',
'visible' => FALSE,
),
),
),
),

View File

@@ -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;

View File

@@ -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;

View File

@@ -54,6 +54,12 @@ function materio_publications_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
@@ -131,6 +137,12 @@ function materio_publications_field_default_field_instances() {
'type' => 'image',
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),

View File

@@ -28,6 +28,12 @@ function materio_publications_user_default_roles() {
'weight' => 2,
);
// Exported role: Utilisateur Alpha Tester.
$roles['Utilisateur Alpha Tester'] = array(
'name' => 'Utilisateur Alpha Tester',
'weight' => 4,
);
// Exported role: administrator.
$roles['administrator'] = array(
'name' => 'administrator',

View File

@@ -52,17 +52,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Premium'] = array(
$workflows['Publication']['(creation)']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Contact opérationnel'] = array(
$workflows['Publication']['(creation)']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -108,17 +113,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Premium'] = array(
$workflows['Publication']['Importé']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Contact opérationnel'] = array(
$workflows['Publication']['Importé']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -174,12 +184,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Édité']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Édité']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué'] = array();
$workflows['Publication']['Masqué']['Utilisateur Alpha Tester'] = array(
'grant_view' => 1,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['administrator'] = array(
'grant_view' => 1,
'grant_update' => 1,
@@ -225,12 +245,12 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['Premium'] = array(
$workflows['Publication']['Masqué']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['Contact opérationnel'] = array(
$workflows['Publication']['Masqué']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -261,17 +281,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Premium'] = array(
$workflows['Publication']['Publié']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Contact opérationnel'] = array(
$workflows['Publication']['Publié']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,

View File

@@ -3,7 +3,10 @@ core = 7.x
package = Materio
dependencies[] = ctools
dependencies[] = features
dependencies[] = image
dependencies[] = materio_content_types
dependencies[] = materio_page_title
dependencies[] = materio_subscriptions
dependencies[] = metatag
dependencies[] = node
dependencies[] = strongarm
@@ -24,6 +27,7 @@ features[user_permission][] = show publication title
features[user_role][] = Contact opérationnel
features[user_role][] = Student
features[user_role][] = Unverified
features[user_role][] = Utilisateur Alpha Tester
features[user_role][] = administrator
features[user_role][] = root
features[user_role][] = utilisateur anonyme

View File

@@ -54,6 +54,12 @@ function materio_subscriptions_field_default_field_instances() {
'type' => 'text_default',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
@@ -129,6 +135,12 @@ function materio_subscriptions_field_default_field_instances() {
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'print' => array(
'label' => 'above',
'settings' => array(),
@@ -213,6 +225,12 @@ function materio_subscriptions_field_default_field_instances() {
'type' => 'uc_product_image',
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'uc_product',