Skip to content

Commit

Permalink
Update event feature with image style speaker
Browse files Browse the repository at this point in the history
  • Loading branch information
zufrieden committed Jan 21, 2016
1 parent 5894efe commit fff4331
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ function tedxlausanne_event_field_default_field_instances() {
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => 'large',
'image_style' => 'speaker_photo',
),
'type' => 'image',
'weight' => 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Implements hook_field_group_info().
*/
function tedxlausanne_event_field_group_info() {
$export = array();
$field_groups = array();

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -39,7 +39,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_basic|node|event|form'] = $field_group;
$field_groups['group_basic|node|event|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -68,7 +68,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_basic|node|speaker|form'] = $field_group;
$field_groups['group_basic|node|speaker|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -98,7 +98,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_basic|node|sponsor|form'] = $field_group;
$field_groups['group_basic|node|sponsor|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -128,7 +128,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_basic|node|talk|form'] = $field_group;
$field_groups['group_basic|node|talk|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -157,7 +157,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_content|node|webform|form'] = $field_group;
$field_groups['group_content|node|webform|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -184,7 +184,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_display|node|event|form'] = $field_group;
$field_groups['group_display|node|event|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -211,7 +211,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_event|node|sponsor|form'] = $field_group;
$field_groups['group_event|node|sponsor|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -238,7 +238,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_event|node|talk|form'] = $field_group;
$field_groups['group_event|node|talk|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -265,7 +265,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_media|node|speaker|form'] = $field_group;
$field_groups['group_media|node|speaker|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -292,7 +292,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_media|node|sponsor|form'] = $field_group;
$field_groups['group_media|node|sponsor|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -319,7 +319,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_media|node|talk|form'] = $field_group;
$field_groups['group_media|node|talk|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand Down Expand Up @@ -348,7 +348,7 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_practical|node|event|form'] = $field_group;
$field_groups['group_practical|node|event|form'] = $field_group;

$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
Expand All @@ -375,7 +375,17 @@ function tedxlausanne_event_field_group_info() {
),
),
);
$export['group_talks|node|event|form'] = $field_group;
$field_groups['group_talks|node|event|form'] = $field_group;

return $export;
// Translatables
// Included for use with string extractors like potx.
t('Basic informations');
t('Contenu');
t('Display');
t('Media');
t('Practical informations');
t('Related to event');
t('talks');

return $field_groups;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies[] = list
dependencies[] = locale
dependencies[] = semanticviews
dependencies[] = taxonomy
dependencies[] = views
dependencies[] = views_bootstrap
dependencies[] = views_bootstrap_responsive_grid
dependencies[] = webform
Expand Down Expand Up @@ -110,4 +111,3 @@ features[views_view][] = startup_event_sponsors
features[views_view][] = talk_speaker
features[views_view][] = watch
features_exclude[field_base][body] = body
features_exclude[dependencies][views] = views

0 comments on commit fff4331

Please sign in to comment.