When using the WYSIWYG API the module depends on the http://drupal.org/project/jquery_ui module. Would be nice if this dependency will be mentioned in the README.
Since jQuery UI is not needed for non-WYSIWYG integration this dependency can not be generalized in one module I guess.
Comments
Comment #1
nottaken commenteddependency in module info maybe. Also adding a function_exists to the node_embed_node_embed_plugin function in the node_embed.inc would be useful as well. I didn't have jquery ui installed when upgrading. Something like...
function node_embed_node_embed_plugin() {
if (function_exists('jquery_ui_add')) {
jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.dialog'));
} else {
drupal_set_message(t('The jquery ui module was not found'), 'warning');
}
..
Comment #2
lee20 commentedI had the same issue.
Comment #3
mennonot commented+1 for this to be documented. I installed the module in Drupal 6.x, added the input format and then got this error when I went to create content: Call to undefined function jquery_ui_add(). When I activated jQuery UI (which was present, but not activated) the error went away.
Comment #4
mrharolda commentedAs of 22 September 2014, we no longer support the Drupal 6 version of Node Embed due to the small install base (< 15%) and more importantly: general lack of time.
If you would like to help and maintain the 6.x branch until Drupal 8 is released, please apply for co-maintainership!