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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michaelschutz’s picture

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

Iztok’s picture

sub

rickvug’s picture

Subscribe.

tbeauchemin’s picture

Subscribe

8thom’s picture

subby

HnLn’s picture

sub

jibize’s picture

That would be a great addition to this great module!

rafaelcaceres’s picture

I 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?

HnLn’s picture

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

rooby’s picture

Subscribing

drupso’s picture

Hi #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 ???

rooby’s picture

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

hixster’s picture

Any news on this?

glynster’s picture

I 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?

LiorFil’s picture

subscribe

dannygoh’s picture

I switched to "Display Suite Forms" and found that it also did multiple columns node form, only better.

miax’s picture

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

fortis’s picture

thank you, works for me

VVS’s picture

#9 - big thanks!

System Lord’s picture

Issue summary: View changes

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

asherry’s picture

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

asherry’s picture

Status: Active » Needs review
parasolx’s picture

Status: Needs review » Reviewed & tested by the community

Tested patch #21 and it works great with Field Group.

  • Commit 8cfa75b on 7.x-1.x authored by MickeA, committed by asherry:
    Issue #1058094 by asherry, MickeA | HaloFX: Fieldsets...
asherry’s picture

Status: Reviewed & tested by the community » Fixed

Thanks everybody!

Status: Fixed » Closed (fixed)

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