Browse Source

got node templates to show up

alexgl 13 years ago
parent
commit
dffab81b6c

+ 0 - 0
extensions/tripal_analysis_blast/node--chado_analysis_blast.tpl.php → extensions/tripal_analysis_blast/node-chado_analysis_blast.tpl.php


+ 3 - 5
extensions/tripal_analysis_blast/tripal_analysis_blast.module

@@ -135,7 +135,7 @@ function tripal_analysis_blast_nodeapi(&$node, $op, $teaser, $page) {
 /**
  * Implements hook_theme_registry_alter().
  */
-function tripal_analysis_blast__theme_registry_alter(&$info) {
+function tripal_analysis_blast_theme_registry_alter(&$info) {
   // Inject our module into the node theme registry as being an available theme
   // path so that we can override the node template for our content type.
   array_splice($info['node']['theme paths'], 1, 0, array(drupal_get_path('module', 'tripal_analysis_blast')));
@@ -152,8 +152,8 @@ function tripal_analysis_blast_theme () {
       // 'node__chado_analysis_blast' => array (
          'arguments' => array('node'),
 		),
-		'node__chado_analysis_blast' => array(
-		'template' => 'node--chado-analysis-blast',
+		'node_chado_analysis_blast' => array(
+		'template' => 'node-chado-analysis-blast',
 		'arguments' => array('node'=>null),
 		),
 		'tripal_feature_blast_results' => array(
@@ -295,8 +295,6 @@ function tripal_get_feature_blast_results($feature_id, $db_id, $max){
 		$blast_obj_counter ++;
 	}
 
-	$blast_obj_array = theme('tripal_analysis_blast_report', $blast_obj_array);
-
    return $blast_obj_array;
 }
 /*******************************************************************************