Closed (fixed)
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2011 at 18:45 UTC
Updated:
26 Feb 2013 at 22:41 UTC
Jump to comment: Most recent, Most recent file
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!