Hi,
I'm using the latest dev cck module which has content multigroup functionality, it needs a couple of hooks which I found from this issue:
So I added this to your module and it works fine:
/**
* Implementation of hook_content_multigroup_allowed_widgets().
*/
function rolereference_content_multigroup_allowed_widgets() {
return array('content_taxonomy_autocomplete', 'content_taxonomy_options', 'content_taxonomy_select');
}
/**
* Implementation of hook_content_multigroup_no_remove_widgets().
*/
function rolereference_content_multigroup_no_remove_widgets() {
return array('content_taxonomy_autocomplete', 'content_taxonomy_options', 'content_taxonomy_select');
}
I need to find out how to make patches, but in the mean time I thought just posting it here might help.
Comments
Comment #1
Anonymous (not verified) commentedOops, I mean this:
/**
* Implementation of hook_content_multigroup_allowed_widgets().
*/
function rolereference_content_multigroup_allowed_widgets() {
return array('rolereference_autocomplete', 'rolereference_buttons', 'rolereference_select');
}
/**
* Implementation of hook_content_multigroup_no_remove_widgets().
*/
function rolereference_content_multigroup_no_remove_widgets() {
return array('rolereference_autocomplete', 'rolereference_buttons', 'rolereference_select');
}
Comment #2
cyu commentedThis was already done in http://drupal.org/cvs?commit=237376
Getting the latest dev should provide these hooks for you.
Comment #3
Anonymous (not verified) commentedAh, thanks. D'oh...