|
@@ -430,6 +430,16 @@ function tripal_analysis_unigene_nodeapi(&$node, $op, $teaser, $page) {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/**
|
|
|
+ * Implements hook_theme_registry_alter().
|
|
|
+ */
|
|
|
+function tripal_analysis_unigene_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_unigene')));
|
|
|
+}
|
|
|
+
|
|
|
/************************************************************************
|
|
|
* We need to let drupal know about our theme functions and their arguments.
|
|
|
* We create theme functions to allow users of the module to customize the
|