I was trying to test drive this module, but I get an error on the node add/edit form:
Fatal error: Call to undefined function fieldgroup_groups() in sites/all/modules/i18n_helper/i18n_helper.module on line 48
Is the Fieldgroup module required?
I was trying to test drive this module, but I get an error on the node add/edit form:
Fatal error: Call to undefined function fieldgroup_groups() in sites/all/modules/i18n_helper/i18n_helper.module on line 48
Is the Fieldgroup module required?
Comments
Comment #1
marcus_clements commentedYes it is - this is an oversight - good catch. The function that rebuilds the content type edit form expects fieldgroup module to be there. To be honest I have never had a Drupal with CCK but no fieldgroup so it never got caught in testing. :-/
I think that function can be easily rewritten to include a if(module_exists('fieldgroup')) code block to render the fields read only.
I'll try and test it out this week and commit. If you fix it quicker do post a patch.
As a quick fix try enabling fieldgroup and just don't add any groups.
Comment #2
marcus_clements commentedI've fixed this and committed to CVS. Also fixed is a bug where fields where not correctly hidden in node edit forms.
This should be available in the next nightly snapshot. Please review and let me know.
Comment #3
marcus_clements commented