Closed (fixed)
Project:
Field Collection Table
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2012 at 13:31 UTC
Updated:
18 Nov 2015 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
attiks commentedComment #2
attiks commentednewer patch
Comment #3
jonloh commentedAwesome patch attiks! Unfortunately your patch doesn't seem to go well with the latest 7.x-1.x-dev. I've attached a new patch for this.
Hopefully the author of this module will be able to commit this in, as this could be a necessary feature to have :)
Comment #4
retiredpro commentedI applied this patch against the dev release. I then went into my field collection field's settings and checked the box for Disable drag and drop. Doesn't work for me though. I even tried changing from Table to Embedded, save, and then back. Also tried creating a new node but I can always rearrange.
No error messages though. If it matters, im on Drupal 7.15 and the latest dev release of the field collections module (8/9/2012) with patch from http://drupal.org/node/1239946#comment-6325230
Comment #5
mstrelan commented+1 for this feature. Haven't tried the patches, but really need it to save space on a really wide table I've got.
Comment #6
attiks commentedNew patch
Comment #7
imclean commentedPatch in #6 didn't apply to version in git.
Updated with some minor code changes. This works as expected, however sometimes the table headers disappear when clicking "Add more". They reappear after clicking the button at least once more.
Comment #8
imclean commentedThe table header issue isn't related.
#1780394: The table header disappear when there is a validation errorHeader
#1815496: Using "Hide blank items" leads to misformed tables
Comment #9
welly commentedHaving the same problem with the draggable table disable as #4. Using Field Collection beta5+1-dev and Field Collection Table beta 1. The checkbox is showing when I use the patch in #7 but my tables are still draggable. I've cleared cache a number of times.
Comment #10
imclean commentedMake sure you're using the latest dev of field_collection.
Apply patch in #7 to the git version of field_collection_table, as I suggested. It *might* work with the dev version from the project page, but don't use the beta version.
Comment #11
imclean commentedClicking "Remove" on some rows can reorder them. To test, enter some data in the first row, click "Add another item" a few times then remove one of the empty rows.
Comment #12
nikathoneUsing latest dev of field_collection_table along with patch on #7 did the trick for me. Thanks
Comment #13
pebosi commentedPatch #7 is still working with dev Version, please review / commit.
Comment #15
kevineinarsson commentedFixed
Comment #17
stephenrobinson commenteduse this for normal fields