瀏覽代碼

home v2: upadted features

Bachir Soussi Chiadmi 9 年之前
父節點
當前提交
b05c9a53c5

+ 1 - 1
sites/all/modules/features/materio_content_types/materio_content_types.features.field_base.inc

@@ -432,7 +432,7 @@ $entity_field[0][\'value\'] = format_date($entity->created, \'breves\');',
       'title_value' => '',
       'url' => 0,
     ),
-    'translatable' => 0,
+    'translatable' => 1,
     'type' => 'link_field',
   );
 

+ 1 - 1
sites/all/modules/features/materio_publications/materio_publications.features.field_instance.inc

@@ -141,7 +141,7 @@ function materio_publications_field_default_field_instances() {
         'label' => 'hidden',
         'module' => 'image',
         'settings' => array(
-          'image_link' => 'content',
+          'image_link' => '',
           'image_style' => 'publications-home',
         ),
         'type' => 'image',

+ 5 - 2
sites/all/modules/features/materio_publications/materio_publications.info

@@ -1,13 +1,15 @@
 name = Materio publications
 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
 dependencies[] = text
+dependencies[] = workflow
 dependencies[] = workflow_access
 features[ctools][] = strongarm:strongarm:1
 features[features_api][] = api:2
@@ -61,4 +63,5 @@ features[variable][] = unique_field_show_matches_publication
 features[variable][] = workflow_publication
 features[workflow][] = Publication
 features[workflow_access][] = Publication
+features_exclude[dependencies][strongarm] = strongarm
 project path = sites/all/modules/features

+ 1 - 1
sites/all/themes/gui/materiobasetheme/js/script.js

@@ -356,7 +356,7 @@
           $(this)
             // .attr('data-anchor-target', "#news-pane")
             .attr('data--'+i*100+'-bottom-top', 'opacity:0;')
-            .attr('data-'+i*50+'-center-center', 'opacity:1;');
+            .attr('data-'+i*10+'-center-center', 'opacity:1;');
         });
 
         _skrollr = skrollr.init();