Hi Tim,
Great module, really useful. I noticed that when I set up a new view mode for a field collection and render it through this module the table still shows all the cells (only the order is different). This is because the view mode is not properly recognised in the function which renders the output. Patch to follow shortly.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | view_mode_issues-1426806-15.patch | 2.55 KB | old_toby |
| #12 | field_collection_table-hiddenLabel_viewMode-1426806-12.patch | 2.18 KB | attisan |
| #7 | view_mode_issues-1426806-7.patch | 1.77 KB | WorldFallz |
| #2 | view_modes-1426806-2.patch | 1.34 KB | tanc |
| #1 | view_modes-1426806-1.patch | 1.04 KB | tanc |
Comments
Comment #1
tancHere's the patch :-)
Comment #2
tancUpdated patch to sort the weights properly per view mode.
Comment #3
tancStill an issue in latest dev. Any chance of this getting looked at/committed?
Comment #4
wla_g commentedI take it even further: When I put an additional field into a view mode of the field collection via display suite, this field isn't shown in the table, but the "normal" view mode formatter of field collection recognizes this field and shows it.
Comment #5
OnkelTem commentedPlease, read this post: http://drupal.org/node/1652782#comment-6612476
Comment #6
kevinquillen commentedThis patch worked for me.
Also, since some people may use multiple view modes per collection (per device) like me, this should probably get in the sooner the better. It's not immediately clear from the UI that this isn't working.
Comment #7
WorldFallz commentedupdatated patch that also fixes the column headers printing even when set to hidden.
Comment #8
WorldFallz commentedjust making this patch easier to find
Comment #9
josebc commentedpatch is causing php warnings and only the last field is appearing
Notice: Undefined index: full in field_collection_table_field_formatter_view() (line 41 of /var/www/htdocs/sites/all/modules/field_collection_table/field_collection_table.module).
Comment #10
attisanI refined this patch to correctly work - #2004742: view mode & hidden label support
Comment #11
imclean commentedMarked #2004742: view mode & hidden label support as a duplicate.
Comment #12
attisanthanks - though my patch isn't really a duplicate of either issues - I'll post it here anyway.
greets,
attisan
Comment #13
imclean commented@attisan, there wasn't enough information in your issue to determine what your patch was supposed to do. Were you referring to a different "view mode & hidden label support" problem? What does the patch in #12 do?
Comment #14
attisan@imclean
sorry if I've not been clear about that! the patch in #12 is the same as in #2004742: view mode & hidden label support.
what this patch does:
attisan
Comment #15
old_toby commentedthanks to attisan for the good work. I cleaned up some stuff, though.
Everything should work now.
Comment #16
Exploratus commentedIssue https://drupal.org/node/1401492 references this issue.
Basically I have a field collection table in views and it displays as a sticky header. I want just a regular header, not a sticky header, but I see no where I can set this.
Is this issue related to https://drupal.org/node/1401492? I dont see any mention of sticky headers anywhere.
Cheers.
Comment #17
RossP-1 commentedThe patch from #15 above worked great on Drupal 7.21 and Field Collection Table 7.x-1.0-beta1. Thank you attisan and old_toby!
Comment #18
anybodyPatch #15 works great agains the latest .dev and I think it's time to get this into the latest .dev version.
Comment #20
kristofferwiklund commentedFixed