On the group configuration form there seems to be no settings for the a field group for display, but there is for the edit form. Were the options removed due to bugs or is this unintentional?

Screen shot:

http://img523c.imageshack.us/img523/4686/cckfgtsi0.png

Comments

chasz’s picture

seems to have lost it on the last CCK updates

both create and edit have no option now

Moonshine’s picture

Status: Active » Needs review

CCK changed its form names here recently...

Sorry I can't give a patch here (my lines numbers are too far off from other pending patches I have). But if change the following in cck_fieldgroup_tabs.module :

-  else if ($form_id == 'content_admin_display_overview_form') {
+  else if ($form_id == 'content_display_overview_form') {

and...

-  else if ($form_id == 'fieldgroup_edit_group_form') {
+  else if ($form_id == 'fieldgroup_group_edit_form') {

- is the old line , + is the new line.. like a patch. :)

nedjo’s picture

Category: support » bug
Status: Needs review » Reviewed & tested by the community

Thanks. Please go ahead and commit.

chasz’s picture

seems to be the fix

thanks

Moonshine’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

highvoltage’s picture

Udated to the latest dev, this issue still exists for me.

Moonshine’s picture

Are you running the latest CCK also? A lot has changed with CCK, and we've been trying to keep up with the relevant changes in Fieldgroup Tabs.

highvoltage’s picture

Absolutely, I'm running the latest cck dev.

Moonshine’s picture

Well I just updated to the latest CCK dev this morning and am running the latest CCK Fieldgroup Tabs code. I see tab choices in the Edit Group forms and the Display Fields forms.

Just to be clear, you are talking about the "Edit Group" forms that are found at paths like:

admin/content/node-type//groups/

correct?

highvoltage’s picture

I'm referring to the form that the screenshot in the original post was taken from, Manage fields > configure, under the operations column.

/admin/content/node-type/type_name/groups/group_name

Image of the form:

http://img399.imageshack.us/img399/9186/cckfgtdd2.png

Display settings aren't available...

Moonshine’s picture

Ahh... sorry, now I understand where you are looking. You will never see fieldgroup settings (for tabs or otherwise) in the "Display Settings" portion of that form. That's because CCK offers display option setting per "mode", so there isn't just one set of display settings for a group.

If you go to admin/content/node-type/*type*/display you will see the different display mode options, and be able to set "tabs" for any of the fieldgroups for any of the modes. (ie. Teaser, Full Node, RSS, Search Results, etc..)

chasz’s picture

thats wierd ! fieldgroup tabs are an editing form tabs......are they displayed in other views?

and why?

edit: ok i would like the option of both display and editing tabs... BUT this is definitely an editing form tab.

edit2: i think i have the latest CCK and i seem to be able to edit it and field group does have a option for tabs....i will make a new fieldgroup and see if its there

Moonshine’s picture

You can have tabs output for "add/edit" forms and/or "display" output for the nodes. As I described in the post above, you just enable the tabs for the group in a different location for forms vs. display output.

Fieldgroup settings for forms are at:
admin/content/node-type/*node-type*/groups/*group_name*

Fieldgroup settings for display output are at:

admin/content/node-type/*node-type*/display