Browse Source

Fixed missing featurepos template

Stephen Ficklin 11 years ago
parent
commit
0dbe7620ac

+ 0 - 5
tripal_feature/tripal_feature.module

@@ -246,11 +246,6 @@ function tripal_feature_theme($existing, $type, $theme, $path) {
       'template' => 'tripal_feature_base',
       'path' => "$path/theme/tripal_feature",
     ),
-    'tripal_feature_featurepos' => array(
-      'arguments' => array('node' => NULL),
-      'template' => 'tripal_feature_featurepos',
-      'path' => "$path/theme/tripal_feature",
-    ),
     'tripal_feature_sequence' => array(
       'variables' => array('node' => NULL),
       'template' => 'tripal_feature_sequence',

+ 7 - 0
tripal_featuremap/tripal_featuremap.module

@@ -217,6 +217,13 @@ function tripal_featuremap_theme($existing, $type, $theme, $path) {
       'variables' =>  array(NULL),
       'path' => "$path/theme/tripal_featuremap",
     ),
+    
+    // templates for the chado_feature nodes:
+    'tripal_feature_featurepos' => array(
+      'arguments' => array('node' => NULL),
+      'template' => 'tripal_feature_featurepos',
+      'path' => "$path/theme/tripal_feature",
+    ),
   );
   return $items;
 }