问题
How can move an existing field (IDublinCore.rights) into another fieldset, after a specific field - Without writing my own Behavior (a copy of IDublinCore)?
"Rights" fields should be appear after "image_caption" (own contenttype)
This isn't working
form.order_after(rights='image_caption')
回答1:
How about using Jquery? (Since the fieldsets are using Jquery anyway)
For example to move Tags under Summary....
$('body.template-edit.portaltype-document #formfield-form-widgets-IDublinCore-subjects').insertAfter('#formfield-form-widgets-IDublinCore-description')
Note: I only tested this in Firebug's Script window...
来源:https://stackoverflow.com/questions/31163583/moving-existing-fields-behaviors-in-dexterity