The field group module (https://drupal.org/project/field_group) is very useful for organizing and cleaning up the display of fields on a form during form edit.
With both modules enabled, I can drag the workbench_access 'Workbench Access' field into an arbitrary field group.
When I do this, the workbench access 'Workbench Access' field dissappears from the form entirely.
It would also be very useful to perform normal 'field operations'.
What I mean is that I would like to click edit on the form field and fill out the "Help text" form so that I can provide short descript and a "see this page for section/access break-down" to the form edit field.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1256692-wa-cannot-be-regrouped.patch | 1.42 KB | dave reid |
Comments
Comment #1
dave reidUnfortunately this isn't an actual field so you could/should only be able to re-order where it exists in the field UI.
Comment #2
dave reidThis field is already moveable in the Field UI:
Comment #3
dave reidActually now I see what this issue is about.
Comment #4
dave reidThis should be solved by adding $form['workbench_access']['#type'] = 'container'. I tested this with Field group enabled with vertical tab and a normal fieldset. This also cleans up the workbench_access_field_extra_fields() function since there is no workbench access element display on node render that can be re-arranged.
Comment #5
dave reidTested and committed #4 to Git.
http://drupalcode.org/project/workbench_access.git/commit/31ae24a
Comment #7
wrd commentedHaving this exact problem in the latest release (7.x-1.2). Looks like the first change in the patch is in the current module code, but the second change (to workbench_access_form_alter()) is not. From the patch:
From the module:
I tried adding the "container" line under the call to workbench_access_alter_form(), with no effect.
Comment #8
wrd commentedOK, it seems the trick is to not use the built-in form widget, and instead use a regular ol' term reference field. So nevermind!