I've got a content type for which three different flags can be set while a piece of content is being created or edited. These three flags are grouped together in a collapsible fieldset. This fieldset appears right in the middle of my content type's create/edit form. How can I change the weight of the fieldset so that it appears at the top of the form?
Comments
Comment #1
quicksketchThis would be possible if hook_content_extra_fields() were implemented as recommended in #295044: Default Flag Fieldset collapsed. Unfortunately unless that is done the only way is to write a hook_form_alter() function in a custom module.
Comment #2
jim0203 commentedGreat, thanks. I've written a very quick tutorial on the simplest way to implement this; see http://state68.com/content/changing-position-flags-node-edit-form.
Comment #3
quicksketchThis was implemented in #489056: Reorder Flag's fieldset for CCK and will be in the 1.2 version of Flag.