updated publication feature

This commit is contained in:
Bachir Soussi Chiadmi 2015-06-03 20:09:11 +02:00
parent e12a664fa5
commit 8a8ed4f929
3 changed files with 16 additions and 7 deletions

View File

@ -58,7 +58,7 @@ function materio_publications_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'weight' => 3,
),
'teaser' => array(
'label' => 'hidden',
@ -138,9 +138,13 @@ function materio_publications_field_default_field_instances() {
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => 'content',
'image_style' => 'publications-home',
),
'type' => 'image',
'weight' => 0,
),
'teaser' => array(

View File

@ -3,10 +3,7 @@ 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

View File

@ -167,12 +167,20 @@ function materio_publications_strongarm() {
'weight' => '3',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '1',
'visible' => FALSE,
),
),
'workflow' => array(
'default' => array(
'weight' => '4',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '2',
'visible' => FALSE,
),
),
),
),