This patch implements CCK's hook_content_extra_fields() function to allow users to change the weight of the webform fieldsets on the 'Manage Fields' page.
A very handy addition IMHO :)

CommentFileSizeAuthor
#6 webform_extra_fields6.patch1.24 KBquicksketch
#6 webform_extra_fields7.patch1.07 KBquicksketch
#3 webform_cck_extra_fields_3.patch603 bytesAnonymous (not verified)
#1 webform_cck_extra_fields_2.patch712 bytesAnonymous (not verified)
webform_cck_extra_fields.patch632 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Title: Support CCK's drag & drop interface » Implement hook_content_extra_fields()
StatusFileSize
new712 bytes

Here's an updated patch that stops the draggable webform settings from appearing on non-webform content types. I also changed the default weight to match the value in webform_form().

djalloway’s picture

@BWPanda
could you re-roll against HEAD? (3.x)
I will then review and test it, and see what we can do about getting it committed.
Thanks.

Anonymous’s picture

Version: 6.x-2.x-dev »
StatusFileSize
new603 bytes

Here you go...

djalloway’s picture

Hmm, it seems I was not thinking clearly.
For Webform 3.x the settings screen has moved to a different tab, so there is no need for a CCK type reordering hook, due to it's new location.

The only use for this would be in a future 2.x release, if there will even be one. And I will leave that call up to quicksketch.
Thanks for your work on this though BWPanda, great job.

Anonymous’s picture

Version: » 6.x-2.x-dev

Marking back to v2...
Use the patch from #1 above, ignore #3.

quicksketch’s picture

Version: 6.x-2.x-dev » 6.x-3.0-beta2
Status: Needs review » Fixed
StatusFileSize
new1.07 KB
new1.24 KB

This actually does still apply to 3.x, since the webform weight can be used on display, even if it's not used on edit. Webform 2.x already has this functionality in CVS. I've committed these patches to the 3.x branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.