updated video thumb display style

This commit is contained in:
2017-02-23 20:29:41 +01:00
parent 064930653f
commit 65f6be158a
11 changed files with 317 additions and 94 deletions
@@ -223,6 +223,109 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-body'.
$field_instances['node-documentair-body'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 2,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 1,
),
),
'entity_type' => 'node',
'field_name' => 'body',
'label' => 'Body',
'required' => FALSE,
'settings' => array(
'display_summary' => TRUE,
'entity_translation_sync' => 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' => 5,
),
);
// Exported field_instance: 'node-documentair-field_description'.
$field_instances['node-documentair-field_description'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 4,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
),
'entity_type' => 'node',
'field_name' => 'field_description',
'label' => 'Description',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 103,
),
);
// Exported field_instance: 'node-documentair-field_doc'.
$field_instances['node-documentair-field_doc'] = array(
'bundle' => 'documentair',
@@ -447,6 +550,115 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-body'.
$field_instances['node-episode-body'] = array(
'bundle' => 'episode',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 1,
),
),
'entity_type' => 'node',
'field_name' => 'body',
'label' => 'Body',
'required' => 0,
'settings' => array(
'display_summary' => 1,
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 2,
),
);
// Exported field_instance: 'node-episode-field_description'.
$field_instances['node-episode-field_description'] = array(
'bundle' => 'episode',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 7,
),
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 5,
),
),
'entity_type' => 'node',
'field_name' => 'field_description',
'label' => 'Description',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 103,
),
);
// Exported field_instance: 'node-episode-field_emvideo'.
$field_instances['node-episode-field_emvideo'] = array(
'bundle' => 'episode',
@@ -59,16 +59,15 @@ function clameurs_image_default_styles() {
$styles['video_thumb_docu'] = array(
'label' => 'video_thumb_docu',
'effects' => array(
6 => array(
'name' => 'image_scale',
11 => array(
'name' => 'image_scale_and_crop',
'data' => array(
'width' => 300,
'height' => 160,
'upscale' => 0,
),
'weight' => 1,
'weight' => -9,
),
7 => array(
10 => array(
'name' => 'canvasactions_file2canvas',
'data' => array(
'xpos' => 'center',
@@ -77,7 +76,7 @@ function clameurs_image_default_styles() {
'scale' => '',
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
),
'weight' => 2,
'weight' => -8,
),
),
);
@@ -86,16 +85,15 @@ function clameurs_image_default_styles() {
$styles['video_thumb_episode'] = array(
'label' => 'video_thumb_episode',
'effects' => array(
8 => array(
'name' => 'image_scale',
14 => array(
'name' => 'image_scale_and_crop',
'data' => array(
'width' => 200,
'height' => 111,
'upscale' => 0,
),
'weight' => 1,
'weight' => -9,
),
9 => array(
13 => array(
'name' => 'canvasactions_file2canvas',
'data' => array(
'xpos' => 'center',
@@ -104,7 +102,7 @@ function clameurs_image_default_styles() {
'scale' => '',
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
),
'weight' => 2,
'weight' => -8,
),
),
);
@@ -113,16 +111,15 @@ function clameurs_image_default_styles() {
$styles['video_thumb_themat'] = array(
'label' => 'video_thumb_themat',
'effects' => array(
4 => array(
'name' => 'image_scale',
8 => array(
'name' => 'image_scale_and_crop',
'data' => array(
'width' => 760,
'height' => 430,
'upscale' => 0,
'height' => 428,
),
'weight' => 1,
'weight' => -9,
),
5 => array(
2 => array(
'name' => 'canvasactions_file2canvas',
'data' => array(
'xpos' => 'center',
@@ -131,7 +128,7 @@ function clameurs_image_default_styles() {
'scale' => '',
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
),
'weight' => 2,
'weight' => -8,
),
),
);
@@ -154,7 +154,7 @@ function clameurs_field_group_info() {
$field_groups['group_episodes|node|thematique|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_htabs|node|documentair|form';
$field_group->group_name = 'group_htabs';
@@ -180,7 +180,7 @@ function clameurs_field_group_info() {
$field_groups['group_htabs|node|documentair|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_htabs|node|episode|form';
$field_group->group_name = 'group_htabs';
@@ -289,7 +289,7 @@ function clameurs_field_group_info() {
$field_groups['group_right|node|thematique|accueil'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_texte|node|documentair|form';
$field_group->group_name = 'group_texte';
@@ -317,7 +317,7 @@ function clameurs_field_group_info() {
$field_groups['group_texte|node|documentair|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_texte|node|episode|form';
$field_group->group_name = 'group_texte';
@@ -501,7 +501,7 @@ function clameurs_field_group_info() {
$field_groups['group_video|node|documentair|accueil'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_video|node|documentair|form';
$field_group->group_name = 'group_video';
@@ -563,7 +563,7 @@ function clameurs_field_group_info() {
$field_groups['group_video|node|episode|accueil'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$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_video|node|episode|form';
$field_group->group_name = 'group_video';
@@ -99,10 +99,14 @@ features[field_instance][] = cer-cer-cer_left
features[field_instance][] = cer-cer-cer_right
features[field_instance][] = cer-cer-cer_weight
features[field_instance][] = file-image-field_legende
features[field_instance][] = node-documentair-body
features[field_instance][] = node-documentair-field_description
features[field_instance][] = node-documentair-field_doc
features[field_instance][] = node-documentair-field_emvideo
features[field_instance][] = node-documentair-field_thematique
features[field_instance][] = node-documentair-title_field
features[field_instance][] = node-episode-body
features[field_instance][] = node-episode-field_description
features[field_instance][] = node-episode-field_emvideo
features[field_instance][] = node-episode-field_habiter
features[field_instance][] = node-episode-field_thematique
@@ -16,7 +16,10 @@ function clameurs_default_page_manager_pages() {
$page->admin_title = 'Home';
$page->admin_description = 'Home for onepage clameurs website';
$page->path = 'home';
$page->access = array();
$page->access = array(
'type' => 'none',
'settings' => NULL,
);
$page->menu = array();
$page->arguments = array();
$page->conf = array(