materiau print page css

This commit is contained in:
Bachir Soussi Chiadmi
2015-05-19 19:14:40 +02:00
parent 81ea02bb3e
commit c90787212b
9 changed files with 1531 additions and 871 deletions

View File

@@ -10,6 +10,27 @@
function materio_content_types_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'description_field'
$field_bases['description_field'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'description_field',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'entity_translation_sync' => FALSE,
),
'translatable' => 1,
'type' => 'text_with_summary',
);
// Exported field_base: 'field_attachments'
$field_bases['field_attachments'] = array(
'active' => 1,
@@ -894,6 +915,9 @@ foreach ($states as $state) {
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'name_field',
'field_permissions' => array(
'type' => 0,
),
'indexes' => array(
'format' => array(
0 => 'format',
@@ -904,6 +928,7 @@ foreach ($states as $state) {
'settings' => array(
'entity_translation_sync' => FALSE,
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 1,
'type' => 'text',

View File

@@ -2186,7 +2186,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 17,
'weight' => 18,
),
'teaser' => array(
'label' => 'above',
@@ -2268,7 +2268,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 10,
'weight' => 12,
),
'teaser' => array(
'label' => 'above',
@@ -2358,7 +2358,7 @@ function materio_content_types_field_default_field_instances() {
'viewmode' => 'print',
),
'type' => 'tode',
'weight' => 5,
'weight' => 8,
),
'teaser' => array(
'label' => 'above',
@@ -2449,7 +2449,7 @@ function materio_content_types_field_default_field_instances() {
'viewmode' => 'print',
),
'type' => 'tode',
'weight' => 4,
'weight' => 7,
),
'teaser' => array(
'label' => 'above',
@@ -2532,7 +2532,7 @@ function materio_content_types_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 2,
'weight' => 6,
),
'teaser' => array(
'label' => 'hidden',
@@ -2611,7 +2611,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 8,
'weight' => 10,
),
'teaser' => array(
'label' => 'above',
@@ -2686,7 +2686,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 9,
'weight' => 11,
),
'teaser' => array(
'label' => 'above',
@@ -2761,10 +2761,11 @@ function materio_content_types_field_default_field_instances() {
'weight' => 14,
),
'print' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'hidden',
'weight' => 16,
'type' => 'text_plain',
'weight' => 5,
),
'teaser' => array(
'label' => 'above',
@@ -2867,7 +2868,7 @@ function materio_content_types_field_default_field_instances() {
'image_style' => 'pdf',
),
'type' => 'image',
'weight' => 3,
'weight' => 7,
),
'teaser' => array(
'label' => 'above',
@@ -2963,7 +2964,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 11,
'weight' => 13,
),
'teaser' => array(
'label' => 'above',
@@ -3040,7 +3041,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 15,
'weight' => 17,
),
'teaser' => array(
'label' => 'above',
@@ -3127,7 +3128,7 @@ function materio_content_types_field_default_field_instances() {
'title_style' => '',
),
'type' => 'title_linked',
'weight' => 1,
'weight' => 2,
),
'teaser' => array(
'label' => 'hidden',
@@ -3205,7 +3206,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 12,
'weight' => 14,
),
'teaser' => array(
'label' => 'above',
@@ -3293,9 +3294,10 @@ function materio_content_types_field_default_field_instances() {
),
'print' => array(
'label' => 'hidden',
'module' => 'computed_field',
'settings' => array(),
'type' => 'hidden',
'weight' => 7,
'type' => 'computed_field_plain',
'weight' => 4,
),
'teaser' => array(
'label' => 'hidden',
@@ -3370,7 +3372,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 13,
'weight' => 15,
),
'teaser' => array(
'label' => 'above',
@@ -3448,7 +3450,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 14,
'weight' => 16,
),
'teaser' => array(
'label' => 'above',
@@ -3524,7 +3526,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
'weight' => 9,
),
'teaser' => array(
'label' => 'hidden',
@@ -3608,7 +3610,7 @@ function materio_content_types_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
'weight' => 1,
),
'teaser' => array(
'label' => 'hidden',
@@ -4121,6 +4123,45 @@ function materio_content_types_field_default_field_instances() {
),
);
// Exported field_instance: 'taxonomy_term-tag_libres-description_field'
$field_instances['taxonomy_term-tag_libres-description_field'] = array(
'bundle' => 'tag_libres',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 2,
),
),
'entity_type' => 'taxonomy_term',
'field_name' => 'description_field',
'label' => 'Description',
'required' => FALSE,
'settings' => array(
'display_summary' => 0,
'entity_translation_sync' => FALSE,
'hide_label' => array(
'entity' => FALSE,
'page' => FALSE,
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 1,
),
);
// Exported field_instance: 'taxonomy_term-tag_libres-name_field'
$field_instances['taxonomy_term-tag_libres-name_field'] = array(
'bundle' => 'tag_libres',

View File

@@ -159,6 +159,39 @@ function materio_content_types_field_group_info() {
);
$export['group_fichiers|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_head_right|node|materiau|print';
$field_group->group_name = 'group_head_right';
$field_group->entity_type = 'node';
$field_group->bundle = 'materiau';
$field_group->mode = 'print';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'head right',
'weight' => '3',
'children' => array(
0 => 'field_localisation',
1 => 'field_reference_materio',
),
'format_type' => 'div',
'format_settings' => array(
'label' => 'head right',
'instance_settings' => array(
'id' => '',
'classes' => 'group-head-right field-group-div',
'description' => '',
'show_label' => '0',
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
),
'formatter' => 'open',
),
);
$export['group_head_right|node|materiau|print'] = $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;
@@ -1569,6 +1602,40 @@ function materio_content_types_field_group_info() {
);
$export['group_side_left|node|materiau|cardfull'] = $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_side_left|node|materiau|print';
$field_group->group_name = 'group_side_left';
$field_group->entity_type = 'node';
$field_group->bundle = 'materiau';
$field_group->mode = 'print';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'side left',
'weight' => '6',
'children' => array(
0 => 'field_description',
1 => 'field_company_fab',
2 => 'field_company_distrib',
),
'format_type' => 'div',
'format_settings' => array(
'label' => 'side left',
'instance_settings' => array(
'id' => '',
'classes' => 'side group-side-left field-group-div',
'description' => '',
'show_label' => '0',
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
),
'formatter' => 'open',
),
);
$export['group_side_left|node|materiau|print'] = $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;
@@ -1641,6 +1708,38 @@ function materio_content_types_field_group_info() {
);
$export['group_side_right|node|materiau|cardfull'] = $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_side_right|node|materiau|print';
$field_group->group_name = 'group_side_right';
$field_group->entity_type = 'node';
$field_group->bundle = 'materiau';
$field_group->mode = 'print';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'side right',
'weight' => '7',
'children' => array(
0 => 'field_materiau_image',
),
'format_type' => 'div',
'format_settings' => array(
'label' => 'side right',
'instance_settings' => array(
'id' => '',
'classes' => 'side group-side-right field-group-div',
'description' => '',
'show_label' => '0',
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
),
'formatter' => 'open',
),
);
$export['group_side_right|node|materiau|print'] = $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

@@ -38,6 +38,7 @@ features[ctools][] = field_group:field_group:1
features[ctools][] = strongarm:strongarm:1
features[ctools][] = views:views_default:3.0
features[features_api][] = api:2
features[field_base][] = description_field
features[field_base][] = field_attachments
features[field_base][] = field_authored_on
features[field_base][] = field_breve_ref
@@ -73,6 +74,7 @@ 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_fichiers|node|materiau|form
features[field_group][] = group_head_right|node|materiau|print
features[field_group][] = group_header|node|breve|bookmark
features[field_group][] = group_header|node|breve|cardbig
features[field_group][] = group_header|node|breve|cardfull
@@ -117,8 +119,10 @@ features[field_group][] = group_side_5|node|materiau|cardbig
features[field_group][] = group_side_5|node|materiau|cardmedium
features[field_group][] = group_side_left|node|breve|cardfull
features[field_group][] = group_side_left|node|materiau|cardfull
features[field_group][] = group_side_left|node|materiau|print
features[field_group][] = group_side_right|node|breve|cardfull
features[field_group][] = group_side_right|node|materiau|cardfull
features[field_group][] = group_side_right|node|materiau|print
features[field_group][] = group_upload|node|breve|form
features[field_instance][] = node-breve-body
features[field_instance][] = node-breve-field_authored_on
@@ -168,6 +172,7 @@ features[field_instance][] = taxonomy_term-company-synonyms_synonym
features[field_instance][] = taxonomy_term-onthologie-field_used_on_advanced_search
features[field_instance][] = taxonomy_term-onthologie-name_field
features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym
features[field_instance][] = taxonomy_term-tag_libres-description_field
features[field_instance][] = taxonomy_term-tag_libres-name_field
features[field_instance][] = taxonomy_term-tag_libres-synonyms_synonym
features[image][] = card-big

View File

@@ -265,6 +265,10 @@ function materio_content_types_strongarm() {
'weight' => '-99',
'visible' => FALSE,
),
'print' => array(
'weight' => '0',
'visible' => FALSE,
),
),
'workflow' => array(
'cardmedium' => array(
@@ -287,6 +291,10 @@ function materio_content_types_strongarm() {
'weight' => '99',
'visible' => FALSE,
),
'print' => array(
'weight' => '8',
'visible' => FALSE,
),
),
),
),
@@ -942,7 +950,7 @@ function materio_content_types_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'print_newwindow';
$strongarm->value = '1';
$strongarm->value = '0';
$export['print_newwindow'] = $strongarm;
$strongarm = new stdClass();
@@ -1311,7 +1319,7 @@ function materio_content_types_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'print_robots_noarchive';
$strongarm->value = 0;
$strongarm->value = 1;
$export['print_robots_noarchive'] = $strongarm;
$strongarm = new stdClass();