Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Awesome module! The D6 version seems to play very well with CCK & Field Groups, but the D7 version seems to completely ignore Field Groups and Tabs. I am not sure if this is a Support Request, Feature Request or Bug Report.
The new tab groups and fieldsets aren't seen in the Manage Form page. The individual fields show instead, but aren't effected.
Comment | File | Size | Author |
---|---|---|---|
#21 | nodeformcols-make-fieldgroups-avaliable-1058094-1.patch | 908 bytes | asherry |
#17 | nodeformcols-make-fieldgroups-avaliable-1058094.patch | 771 bytes | miax |
Comments
Comment #1
michaelschutz CreditAttribution: michaelschutz commentedSubscribing. This is a great module for d7, and I'm using it in conjunction with field_group and this new conditional_field_state module (http://drupal.org/node/1025338). Working great, except for the field groups aren't showing up in the nodeformcol Manage Form page, and therefore I can't assign any fieldgroups to the right-side area.
Thanks for a great module!
(Oh, just another bit of detail - in the Manage Forms page, the fields themselves are showing up as assigned to the Right section, but because they're actually living in the fieldset, on the actual node add/edit form, they're in the main section in the fieldset.)
Comment #2
Iztok CreditAttribution: Iztok commentedsub
Comment #3
rickvug CreditAttribution: rickvug commentedSubscribe.
Comment #4
tbeauchemin CreditAttribution: tbeauchemin commentedSubscribe
Comment #5
8thom CreditAttribution: 8thom commentedsubby
Comment #6
HnLn CreditAttribution: HnLn commentedsub
Comment #7
jibize CreditAttribution: jibize commentedThat would be a great addition to this great module!
Comment #8
rafaelcaceres CreditAttribution: rafaelcaceres commentedI really don't know if this is the best way to do that, but I cut off line 38 from nodeformcols.admin.inc
- (isset($field['#type'], $field['#group']) && $field['#type'] === 'fieldset')
and add that at the end of nodeformcols_form_alter (line 85, nodeformcols.module)
+ unset($form['additional_settings']);
It works fine here. Why hide fieldsets from settings page?
Comment #9
HnLn CreditAttribution: HnLn commentedYou could try with http://drupal.org/project/rel, it makes the vertical tabs available for fieldgroups (so you can change them to fieldsets). Note that it's not stable yet.
Comment #10
rooby CreditAttribution: rooby commentedSubscribing
Comment #11
drupso CreditAttribution: drupso commentedHi #8, I'm trying to apply this changes:
- (isset($field['#type'], $field['#group']) && $field['#type'] === 'fieldset')
+ unset($form['additional_settings']);
in respective functions, but I can't see fieldset fields in manage form tab. What version are you using? nodeformcols 7.x-1.x-dev ???
Comment #12
rooby CreditAttribution: rooby commentedAfter having a quick go at the solution in #8 it seems that it only works for the groups of fields such as those provided by drupal core such as the publishing options and authoring information etc.
It doesn't seem to work for field groups provided by the Field group module.
I guess maybe that should have its own issue.
Comment #13
hixster CreditAttribution: hixster commentedAny news on this?
Comment #14
glynster CreditAttribution: glynster commentedI think this feature is holding back the usage of this module. I use a lot of fieldgroups and basically any field that resides in the group can never be rendered int he allocated region. They show in the manage form tab but nothing happens past that.
What is the main reason for no movement forward on this?
Comment #15
LiorFil CreditAttribution: LiorFil commentedsubscribe
Comment #16
dannygoh CreditAttribution: dannygoh commentedI switched to "Display Suite Forms" and found that it also did multiple columns node form, only better.
Comment #17
miax CreditAttribution: miax commentedHere is a patch that make field_groups available to node form columns.
It hides all the fields in field groups and displays the field group(s) in the "manage forms" section so you can position them as with any other field.
It's not possible to use the "hide" checkbox. It has no effect on the field groups. The patch dose not fix this problem but I guess you could use the function field_group_hide_field_groups(&$element, $group_names) mentioned here: http://drupal.org/node/1324860 to accomplish this.
Comment #18
fortis CreditAttribution: fortis commentedthank you, works for me
Comment #19
VVS CreditAttribution: VVS commented#9 - big thanks!
Comment #20
System Lord CreditAttribution: System Lord commentedIs this patch in the latest dev, 7.x-1.x-dev ?
#16, I also used DS for this and it works and looks great. However, its a huge module for just this feature. I may come back to it, though, because it will be ideal for a panel page replacement. I.e., I need to use Juicebox for all my images, but it doesn't work in panels. With DS you can nearly duplicate what panels can do AND I'll get to use Juicebox.
Comment #21
asherry CreditAttribution: asherry commentedGreat patch @MickeA, thanks. Only thing I'm going to add is a check to see if the field_group module exists and if there are actual groups for that node type. This patch returns an error if you don't have field groups.
Comment #22
asherry CreditAttribution: asherry commentedComment #23
parasolx CreditAttribution: parasolx commentedTested patch #21 and it works great with Field Group.
Comment #25
asherry CreditAttribution: asherry commentedThanks everybody!