Download & Extend

Implement hook_content_extra_fields()

Project:Webform
Version:6.x-3.0-beta2
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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 :)

AttachmentSize
webform_cck_extra_fields.patch632 bytes

Comments

#1

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

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().

AttachmentSize
webform_cck_extra_fields_2.patch 712 bytes

#2

@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.

#3

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

Here you go...

AttachmentSize
webform_cck_extra_fields_3.patch 603 bytes

#4

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.

#5

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

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

#6

Version:6.x-2.x-dev» 6.x-3.0-beta2
Status:needs review» fixed

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.

AttachmentSize
webform_extra_fields6.patch 1.24 KB
webform_extra_fields7.patch 1.07 KB

#7

Status:fixed» closed (fixed)

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

nobody click here