The module replaces the #description field with its list of suggested terms, but it would be nice if it still supported whatever text was originally there (the taxonomy module puts help text in this field). Here is a patch against 5.x-1.2 to do that:
Index: suggestedterms.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/suggestedterms/suggestedterms.module,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 suggestedterms.module
--- suggestedterms.module 25 Jun 2008 18:26:08 -0000 1.1.2.4
+++ suggestedterms.module 17 May 2009 15:31:10 -0000
@@ -106,7 +106,12 @@
break;
}
// build the suggested terms and set in description tag
- $form['taxonomy']['tags'][$vid]['#description'] = t($tag_description) . ': ' . _suggestedterms_build_suggestions($vid, $sort_order);
+ if( $form['taxonomy']['tags'][$vid]['#description'] ) {
+ $form['taxonomy']['tags'][$vid]['#description'] .= '<br>' . _suggestedterms_build_suggestions($vid, $sort_order);
+ }
+ else {
+ $form['taxonomy']['tags'][$vid]['#description'] = t($tag_description) . ': ' . _suggestedterms_build_suggestions($vid, $sort_order);
+ }
}
}
}
Comments
Comment #1
Crell commentedThis is not a patch. http://drupal.org/patch/create
The Drupal 6 version already does this. The Drupal 5 version is not getting new features, only critical bug fixes. (I only have limited time for this module, unfortunately.) So marking won't fix.