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

View File

@ -3,10 +3,7 @@ core = 7.x
package = Materio package = Materio
dependencies[] = ctools dependencies[] = ctools
dependencies[] = features dependencies[] = features
dependencies[] = image
dependencies[] = materio_content_types dependencies[] = materio_content_types
dependencies[] = materio_page_title
dependencies[] = materio_subscriptions
dependencies[] = metatag dependencies[] = metatag
dependencies[] = node dependencies[] = node
dependencies[] = strongarm dependencies[] = strongarm

View File

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