Issues for Field Grouphttps://www.drupal.org/project/issues/field_group?text=&status=All&priorities=All&categories=All&version=All&component=All
enUndefined index notice - pre-render tabhttps://www.drupal.org/node/1415804
<blockquote><p> Notice: Undefined property: stdClass::$collapsible in field_group_pre_render_tab() (line 829 of [path]/sites/all/modules/field_group/field_group.module).<br />
Notice: Undefined property: stdClass::$collapsed in field_group_pre_render_tab() (line 830 of [path]/sites/all/modules/field_group/field_group.module).
</p></blockquote>
<p>This appears on almost all pages that have grouped fields on them. I did have these configured first to be horizontal tabs. I got a similar notice, so I changed them to collapsible fieldsets. I've since made them all open fieldsets, cleared all caches using Drush. This PHP notice persists. Anyone else?</p>
Tue, 24 Jan 2012 21:38:17 +0000hanpersandhttps://www.drupal.org/node/1415804Add additional_settings to a custom field group programmatically?https://www.drupal.org/node/2430343
<p>I would like to add additional_settings to a field_group that I created but I am not sure how to do this.</p>
<p>additional_settings does not show up in the field_group group alter functions. Only items created explicitly by field group show up.</p>
Fri, 20 Feb 2015 16:37:15 +0000SocialNicheGuruhttps://www.drupal.org/node/2430343Number of Values of one Grouphttps://www.drupal.org/node/2429337
<p>Hi,</p>
<p>Is it possible to set the "number of Values" of a Field Group to "add another group" the way you do with normal fields when setting the number of values to more than 1?</p>
<p>Thanks</p>
Thu, 19 Feb 2015 09:47:28 +0000Pixelstackhttps://www.drupal.org/node/2429337Tracking field group progress https://www.drupal.org/node/2000982
<p>Hello everyone,<br />
I am creating a form with many accordion field groups. I wish to have a green check mark appear on the right side of the accordion field group item when all the fields within the field group are filled out. Or at least the background color of the accordion title changed. This is useful to keep track of the filled out field groups. </p>
<p>I researched if there are modules for that, so far could not find. I am thinking to use js injector, not sure how to go about it. I am not experienced in Javascript and Drupal 7</p>
<p>What is the best way to accomplish it? Step-by-step explanation would be most appreciated.</p>
Wed, 22 May 2013 18:37:43 +0000haribol18https://www.drupal.org/node/2000982Some additional settings don&#039;t respond to &quot;Additional Settibgs to last Multipage&quot;https://www.drupal.org/node/2426293
<p>I have some additional settings that keep appearing in the first multipage although I have set it to move to the last page.<br />
These are:</p>
<p>Menu settings<br />
URL path settings<br />
Comment settings</p>
Fri, 13 Feb 2015 20:36:04 +0000Yurihttps://www.drupal.org/node/2426293Can i modify the url of the node add form using multi page?https://www.drupal.org/node/2426155
<p>Can i modify the url of the node add form using multi page?</p>
Fri, 13 Feb 2015 17:13:06 +0000pedrosmokerhttps://www.drupal.org/node/2426155Not displaying with Entity Formshttps://www.drupal.org/node/2423901
<p>Hi there,</p>
<p>I am using Entity Forms module to create forms in my Drupal installation, and I need to group some fields. Installation and administration UI to create groups for those fields is fine, however, when I want to preview my form or Submitted my form, fields are displaying, but the groups are not. What can I do?? I need tog et this done urgently!</p>
<p>Thanks!</p>
Wed, 11 Feb 2015 00:04:32 +0000dcramoshttps://www.drupal.org/node/2423901Accordion Element has fixed height in HTMLhttps://www.drupal.org/node/2173937
<p>In the Accordion Element there is a "display: block; height: 855px;" as an inline-style in HTML.<br />
I just updated the recommended Release.<br />
And now every Element has too much space.</p>
<p>I tried to overwrite the CSS-Definition. But nothing worked.</p>
Wed, 15 Jan 2014 08:21:12 +0000Berniemanhttps://www.drupal.org/node/2173937Show all / Review page to show the whole formhttps://www.drupal.org/node/2422523
<p>I found the need for a simple "Review" button, which allows the user to see all of the steps/pages once they have reached the end of the form. Clicking it shows all of the multigroups.</p>
<p>It's basically an alternative to the Preview button which is sometimes unwelcome.</p>
Mon, 09 Feb 2015 01:16:25 +0000jmonkfishhttps://www.drupal.org/node/2422523Multipage field group , disable (hide) specific block when user is on second pagehttps://www.drupal.org/node/2418259
<p>I have a node form configured with field group multi step, my node form is outputted as a block on the front page. I want to disable(hide) the rest of my front page blocks when the user is on the second step or the third step. I had tried to achieve this with context and css injector without any success.</p>
Sun, 01 Feb 2015 22:09:02 +0000pedrosmokerhttps://www.drupal.org/node/2418259Multipage: term consistency with &#039;Step&#039; and &#039;Page&#039;https://www.drupal.org/node/2369819
<p>Hello,<br />
I would like to share an vocabulary issue I have just run into.<br />
On a multipage inside a multipage group with default settings, buttons show titles 'Next page' and 'Previous page', but title of each multipage is hard coded with 'Step' term: 'Step 1 of 10'.<br />
The module might stick to 'page' and show the title: 'Page 1 of 10'<br />
or provide a setting to customize the term.</p>
<p>Currently, I am applying a post-render callback...<br />
Thank you.<br />
J.</p>
Wed, 05 Nov 2014 20:33:23 +0000Jujubrehttps://www.drupal.org/node/2369819Panels integrationhttps://www.drupal.org/node/1278618
<p>It would be very nice, if you could render fieldgroups with panels, like normal fields.</p>
Wed, 14 Sep 2011 07:28:28 +0000Hydrahttps://www.drupal.org/node/1278618Multi page field group different url per/page?https://www.drupal.org/node/2418779
<p>Can i configure multi page field group to display different url per/page? I need this for the context module, i want to hide specific blocks depending on the form page.</p>
Mon, 02 Feb 2015 18:42:30 +0000pedrosmokerhttps://www.drupal.org/node/2418779Cannot access protected properties EntityViewDisplayhttps://www.drupal.org/node/2418291
Sun, 01 Feb 2015 23:54:10 +0000devpreviewhttps://www.drupal.org/node/2418291Undefined index: name in _field_ui_reduce_order() ..https://www.drupal.org/node/1016144
<p>The following warning happens:<br /><code>Notice: Undefined index: name in _field_ui_reduce_order() (line 72 of modules/field_ui/field_ui.admin.inc).</code></p>
<p>I am certain a 3rd party module is involved in my case with the form, but I am not certain which one.</p>
<p>The cause of the warning is that:</p>
<div class="codeblock"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]) {<br /> </span><span style="color: #0000BB">$array</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
<p>is no the same as:</p>
<div class="codeblock"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">])) {<br /> </span><span style="color: #0000BB">$array</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
<p>This can be found in the file: <code>modules/field_ui/field_ui.admin.inc</code> on line #72 as mentioned by the warning.<br />
Immediately below the if case on line #72 is:</p>
<div class="codeblock"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'children'</span><span style="color: #007700">])) {<br /> </span><span style="color: #0000BB">uasort</span><span style="color: #007700">(</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'children'</span><span style="color: #007700">], </span><span style="color: #DD0000">'drupal_sort_weight'</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">$array </span><span style="color: #007700">= </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$array</span><span style="color: #007700">, </span><span style="color: #0000BB">array_reduce</span><span style="color: #007700">(</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'children'</span><span style="color: #007700">], </span><span style="color: #DD0000">'_field_ui_reduce_order'</span><span style="color: #007700">));<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
<p>So, perhaps this is an oversight and they meant to have: </p>
<div class="codeblock"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">])) {<br /> </span><span style="color: #0000BB">$array</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$a</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
<p>Given that this warning might happen as a result of a api mistake by a 3rd-party module, I am asking first for confirmation that the field_ui is or is not supposed to be checking if !empty instead of if variable</p>
Wed, 05 Jan 2011 18:59:07 +0000thekevindayhttps://www.drupal.org/node/1016144Create drupal 8 version of field_grouphttps://www.drupal.org/node/2258491
<p>Here's the issue I'm getting with a fresh HEAD and <a href="https://drupal.org/node/1793664" rel="nofollow">field_group 8.x-1.x-dev</a> when trying to enable the module</p>
<p><code>Recoverable fatal error: Argument 3 passed to Drupal\Core\Plugin\DefaultPluginManager::__construct() must implement interface Drupal\Core\Extension\ModuleHandlerInterface, none given, called in /var/www/html/head/modules/field_group/lib/Drupal/field_group/Plugin/FieldGroupPluginManager.php on line 30 and defined in Drupal\Core\Plugin\DefaultPluginManager-&gt;__construct() (line 115 of core/lib/Drupal/Core/Plugin/DefaultPluginManager.php).</code></p>
<p>Seems like the latest dev snapshot is very outdated (Oct. 2013) so it's likely that's the module is using deprecated code. Didn't yet spend time searching what code exactly.</p>
Mon, 05 May 2014 08:33:04 +0000anavarrehttps://www.drupal.org/node/2258491Update config-icon pathhttps://www.drupal.org/node/2393039
<p>The core/misc/configure-dark.png icon does not exist anymore in the latest D8 dev version.</p>
Sun, 14 Dec 2014 12:21:10 +0000Leksathttps://www.drupal.org/node/2393039Htabs errors take user to last tab instead of first error-containing tabhttps://www.drupal.org/node/2416019
<p>This is the equivalent issue of the <a href="https://www.drupal.org/node/1679900" title="Multi page errors take user to last pane instead of first error-containing pane" rel="nofollow">existing multipage issue</a> for htabs. I have adaped the resolution of the other issue to the htabs and created a patch.</p>
<h2>Short description of the problem</h2>
<p>If you have a 2 tab form and fail to fill out required fields on both tabs, you'll be taken to tab 2 and will be shown error messages from all missing / invalid fields.</p>
Wed, 28 Jan 2015 20:09:00 +0000kitikontihttps://www.drupal.org/node/2416019The field group label are not localizablehttps://www.drupal.org/node/2415247
<p>I can't translate the field group labels.<br />
If I try to search the field group label in "admin/config/regional/translate/translate" I not find the string.</p>
<p>I'm using i18n module.</p>
Tue, 27 Jan 2015 18:59:58 +0000giupennihttps://www.drupal.org/node/2415247Programmatically create field groupshttps://www.drupal.org/node/1425984
<p>I have developed a custom module that creates a new content type with several fields. I would like some of those fields to be automatically moved into field groups (tabs, fieldsets, accordion, etc). Is there a way to obtain this through code, in such a way that the configuration set by code can then be changed in the field management page as with groups created directly in the UI?</p>
Thu, 02 Feb 2012 14:27:26 +0000Norberto Ostallohttps://www.drupal.org/node/1425984Allow the node edit form vertical tabs to be moved into a separate multipage.https://www.drupal.org/node/2414357
<p>As it is now, the node edit form vertical tabs "follow" the last field placed in a Multipage setup. Is there a way to move them in a multipage/step of their own?</p>
<p>One could use <a href="https://www.drupal.org/project/field_hidden" rel="nofollow">Field Hidden</a> module (or some similar solution) to add a hidden field in the form, then add this field as the last one in the final multipage/step. This would make the vertical tabs "follow" this hidden field and thus work around this limitation. This is very tedious though and requires an additional module in order to be achieved. So, can we somehow get this to work as a "Move vertical tabs to last multipage of the group" multipage group setting?</p>
Mon, 26 Jan 2015 15:43:42 +0000klonoshttps://www.drupal.org/node/2414357Improve markuphttps://www.drupal.org/node/2414349
<p>Hey,</p>
<p>really great Module (:</p>
<p>Just one small thing .. please could you unify the (horizontal) tabs markup with the default Drupal Tabs, so themers have not to add a lot code to get the same style as the other tabs on the page.</p>
<p>Especially the strong-tag seems not rational, just change it to span or something.</p>
<p>Thank you, let me know if i can help!</p>
Mon, 26 Jan 2015 15:33:40 +0000thomas.frobieterhttps://www.drupal.org/node/2414349Can&#039;t programatically disable collapsible fieldsethttps://www.drupal.org/node/1984682
<p>This issue relates to the user entity with fields, and fieldgroups.</p>
<p>I have 3 fieldgroups on the user entity type, these are all using the Vertical Tab field type with widget settings "tab open" and "required_fields yes". My issue comes from the fact that I have a very complex registration form (there's a lot of altering going on with the fields, adding additional ones etc) and also the user edit form where I want my fields divided into vertical tabs (hence the settings). I don't have a vertical tab group fieldset, but the tabs render nicely on the edit form anyway. However, on the registration form they are rendered as collapsible tabs (but they look like fieldsets). My issue is that I do indeed want them to look and behave like fieldsets, but I want them to be non-collapsible. I attempted to implement hook_field_group_build_pre_render_alter() and alter the collapsible setting but it didn't seem to work. The code I tried is as follows:</p>
<div class="codeblock"><code>function tpow_user_field_group_build_pre_render_alter(&amp;$element) {<br /> $element['#fieldgroups']['group_user_profile']-&gt;collapsible = FALSE;<br /> // Also tried this.<br /> //$element['additional_settings']['group_user_profile']['#collapsible'] = FALSE;<br />}</code></div>
<p>I also tried hook_field_group_pre_render_alter(), however this seems to be too late to alter settings.</p>
<p>This seems like a bug to me as the description of hook_field_group_build_pre_render_alter() seems to suggest this sort of thing should be possible. I don't know whether I'm just altering the wrong setting, or missing something altogether, but any help would be much appreciated!</p>
<p>Cheers</p>
Thu, 02 May 2013 00:35:28 +0000acbramleyhttps://www.drupal.org/node/1984682field group always open disable collapsiblehttps://www.drupal.org/node/2413827
<p>How can i make a field set always open and disable collapsible? I have tryed html element, div, field set but always my field can be collapsed or open on my node form.</p>
Sun, 25 Jan 2015 14:58:20 +0000pedrosmokerhttps://www.drupal.org/node/2413827&quot;Show&quot; appears in horizontal tab title if node form submitted through ajaxhttps://www.drupal.org/node/2042681
<p>After adding a dataset through the ajax form "Show" shows up on the resource form. Remove it. Image in comments.</p>
Mon, 15 Jul 2013 21:39:48 +0000federiccahttps://www.drupal.org/node/2042681How to translate a field group &quot;description&quot;https://www.drupal.org/node/1751002
<p>Field (set) group label can be translated, but not the description?</p>
<p>Steps:<br />
Install i18n, field_group field translation. Enable a second language (e.g. FR),<br />
- enable multi.language for the article content type, add a field set and give it a label and description<br />
- go to admin/config/regional/translate/translate and search for the label and description entered above.<br />
- add an example text field within the field set and translate the field<br />
- the field label/description can be translated fine<br />
- whereas the fieldset label can be found and translated, but not the description cannot</p>
Fri, 24 Aug 2012 12:33:19 +0000boranhttps://www.drupal.org/node/1751002Insert Field Group in a viewhttps://www.drupal.org/node/2412765
<p>There a way to insert all the fields of a group field in a view with a single operation, without inserting them individually?<br />
thanks!</p>
Fri, 23 Jan 2015 08:44:55 +0000Nikolinohttps://www.drupal.org/node/2412765Fieldsets don&#039;t show up in add form for a content typehttps://www.drupal.org/node/1404152
<p>I have created a content type and added fieldsets to the fields using this module. However, when I try to add one of these content types, the form does not have any of the fieldsets in it. Is this normal?</p>
Fri, 13 Jan 2012 15:47:51 +0000shendrichttps://www.drupal.org/node/1404152How do you render field groups with PHP?https://www.drupal.org/node/1861350
<p>I am at a loss for how to render a field group in node.tpl.php with PHP...<br />
In D6, I could do: <code><span style="color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">print </span><span style="color: #0000BB">$node</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">content</span><span style="color: #007700">[</span><span style="color: #DD0000">'group_basic_info'</span><span style="color: #007700">][</span><span style="color: #DD0000">'#children'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?&gt;</span></span></code> and viola!</p>
<p>In D7, I am trying:<br /><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php </span><span style="color: #007700">print </span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$content</span><span style="color: #007700">[</span><span style="color: #DD0000">'#groups'</span><span style="color: #007700">][</span><span style="color: #DD0000">'group_basic_info'</span><span style="color: #007700">]-&gt;</span><span style="color: #0000BB">children</span><span style="color: #007700">); </span><span style="color: #0000BB">?&gt;</span></span></code><br />
and no joy :(</p>
<p>Can someone PLEASE tell me what is wrong here, and how to render a field group (and it's children) with PHP?</p>
Fri, 07 Dec 2012 18:21:17 +0000marty.truehttps://www.drupal.org/node/1861350Htab with views, does not open default tab, missing anchors, ID and tab indexhttps://www.drupal.org/node/2367971
<p>When using multiple horizontal tabs with views the problems occur</p>
<ol><li>The open tab is the first one, not the one marked as default</li>
<li>Anchor field is empty</li>
<li>All tab have index set to -1 </li>
<li>When ID is set it is not passed
</li>
</ol><p>The documentation mentions the following<br />
"Currently there is an error in this option preventing the processing of the data. Information on how this option works will have to be added after the problem has been corrected."</p>
<p><strong> Has this been resolved?</strong></p>
Mon, 03 Nov 2014 00:06:12 +0000toamithttps://www.drupal.org/node/2367971Export translatables (label and descriptions) in Featureshttps://www.drupal.org/node/2194279
<p>The label of a Field group exported with Features should be encapsulated in a function t() to be translated with potx.</p>
<p>See: </p>
<ul><li>features_export.inc:features_translatables_export()</li>
<li>features.field.inc:field_instance_features_export_render()</li>
</ul>Wed, 12 Feb 2014 09:18:29 +0000basillichttps://www.drupal.org/node/2194279Extra CSS Classes not applied to horizontal tab buttons li elementhttps://www.drupal.org/node/2351261
<p>Hi guys, Subject line deliberately copied from another very similar which I though was covering the same issue. I believe this is a familiar issue - in that there doesn't seem to be a way of targeting a specific horizontal button/tab with additional css in the use case scenario, mine in this case, where we want to add icons to horizontal tabs AND where NOT all tabs will be displayed on every page - but haven't been able to find a solution/reply anywhere that covers it.</p>
<p>The use-case scenario is as follows (in case there is an existing technique/solution out there):</p>
<ol><li>A luxury travel operator, in this case, has hotel content grouped into horizontal tabbed content items containing a Review, Feedback, Facilities and Videos.</li>
<li>Not every tabbed content group will have content. Some don't have Feedback and some don't have Videos.</li>
<li>Current li output typically contains class="horizontal-tab-button horizontal-tab-button-0" running sequentially regardless of actual content group. This is perfect where every tab group contains content (as subsequent tabs could be id'ed with button-1, button-2 etc for the additional css classes) but doesn't help when a content group is missing.</li>
<li>At first I assumed that either the customisable ID element (in the Manage Display configuration options) could be used for exactly this purpose (it can't, that updates the anchor ID instead) or the Extra CSS Classes (which only seems to to update the Fieldset classes) and so I can't see another way to do this.</li>
<li>The query is, whether it would easy enough to enable the additional class markup from either of these configuration options (the ID or Extra CSS Classes) to be applied to the tab button (li element) for the above use-case scenario?</li>
<li>I can't imagine how this could cause a problem for other use-case scenarios - but regrettably I'm not a back-end developer or I'd test this myself directly.</li>
</ol><p>Do let me know if I can provide any further data/feedback to help - or if there is a way that the existing fields/display options can be arranged to generate the classes needed in the above scenario.</p>
<p>Many thanks,</p>
<p>Q.</p>
Mon, 06 Oct 2014 10:31:04 +0000quantoshttps://www.drupal.org/node/2351261Hide the accordion iconhttps://www.drupal.org/node/2405541
<p>I'm trying to hide the accordion icon using JS, so the <code>.ui-accordion-header-icon</code> span won't print. So far, without success. I know that I need to pass a <code>icons: false</code> somewhere (<a href="http://jsbin.com/ugatoh/edit?html,js,output" rel="nofollow">http://jsbin.com/ugatoh/edit?html,js,output</a>).</p>
Sun, 11 Jan 2015 20:47:20 +0000Cosmin Hodis-Mindrashttps://www.drupal.org/node/2405541&quot;uncaught exception: Syntax error, unrecognized expression: #&quot; after 7.x-1.4 updatehttps://www.drupal.org/node/2318197
<p>Upgrading to 7.x-1.4 from 7.x-1.3 results in broken Javascript on page. The console in Chrome just outputs the following message:</p>
<p><code>Uncaught Syntax error, unrecognized expression: # </code></p>
<p>I'm running the latest core and the latest of all my other modules. I should also note that I'm using jquery_update set to version 1.5.2.</p>
<p>Here's a list of every other JS file included on the page in case there's a conflict somewhere. </p>
<div class="codeblock"><code>/sites/all/modules/contrib/jquery_update/replace/jquery/1.5/jquery.min.js?v=1.5.2<br />/misc/jquery.once.js?v=1.2<br />/misc/drupal.js<br />/misc/ui/jquery.ui.core.min.js?v=1.8.7<br />/misc/ui/jquery.ui.widget.min.js?v=1.8.7<br />/misc/ui/jquery.effects.core.min.js?v=1.8.7<br />/misc/ui/jquery.ui.button.min.js?v=1.8.7<br />/misc/ui/jquery.ui.mouse.min.js?v=1.8.7<br />/misc/ui/jquery.ui.draggable.min.js?v=1.8.7<br />/misc/ui/jquery.ui.position.min.js?v=1.8.7<br />/misc/ui/jquery.ui.resizable.min.js?v=1.8.7<br />/misc/ui/jquery.ui.dialog.min.js?v=1.8.7<br />/sites/all/modules/contrib/views/js/jquery.ui.dialog.patch.js?v=1.8.7<br />/sites/all/modules/contrib/token/token.js?v=1.0<br />/modules/contextual/contextual.js?v=1.0<br />/sites/all/modules/contrib/jquery_update/replace/ui/external/jquery.cookie.js?v=67fb34f6a866c40d0570<br />/sites/all/modules/contrib/jquery_update/replace/misc/jquery.form.min.js?v=2.69<br />/misc/ui/jquery.effects.drop.min.js?v=1.8.7<br />/misc/vertical-tabs.js?v=1.0<br />/misc/form.js?v=7.31<br />/misc/states.js?v=7.31<br />/misc/ajax.js?v=7.31<br />/sites/all/modules/contrib/jquery_update/js/jquery_update.js?v=0.0.1<br />/sites/all/modules/contrib/admin_menu/admin_menu.js<br />/sites/all/modules/contrib/admin_menu/admin_menu_toolbar/admin_menu_toolbar.js<br />&lt;script type="text/javascript"&gt;<br />&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br />window.CKEDITOR_BASEPATH = "/sites/all/libraries/ckeditor/"<br />//--&gt;&lt;!]]&gt;<br />&lt;/script&gt;<br />/misc/tabledrag.js<br />/sites/all/modules/contrib/devel/devel_krumo_path.js<br />/misc/textarea.js?v=7.31<br />/misc/progress.js?v=7.31<br />/misc/autocomplete.js?v=7.31<br />/misc/machine-name.js<br />/sites/all/modules/contrib/references_dialog/js/references-dialog.js<br />/modules/field/modules/text/text.js<br />/misc/collapse.js?v=7.31<br />/modules/filter/filter.js<br />/misc/tableheader.js<br />/sites/all/modules/contrib/hierarchical_select/hierarchical_select.js<br />/modules/menu/menu.js<br />/sites/all/modules/contrib/metatag/metatag.vertical-tabs.js<br />/profiles/acquia/modules/pathauto/pathauto.js<br />/modules/node/node.js<br />/sites/all/modules/contrib/conditional_fields/js/conditional_fields.js<br />/sites/all/modules/contrib/field_group/field_group.js<br />/sites/all/modules/contrib/safeword/safeword.js<br />/sites/all/modules/contrib/workbench_moderation/js/workbench_moderation.js</code></div>
Fri, 08 Aug 2014 21:15:16 +0000chromixhttps://www.drupal.org/node/2318197Preprocessor (extra) fields do not show inside field grouphttps://www.drupal.org/node/1342878
<p>I noticed that when you add a field via the <em>hook_field_extra_fields()</em> to a field group, it will not show up inside this field group but pops out of it.<br />
For that reason I created a small test module on a clean Drupal install to be sure. This is also the case for preprocess fields created with Display Suite.</p>
<p>Screenshots:<br /><img src="/files/fieldgroup_admin.png" alt="Field group admin" /><img src="/files/fieldgroup_node.png" alt="Rendered node" /></p>
<p>The code for the test module (fg.module):</p>
<div class="codeblock"><code>function fg_field_extra_fields() {<br /> $extra['node']['article'] = array(<br /> 'display' =&gt; array(<br /> 'test_field' =&gt; array(<br /> 'label' =&gt; t('Test field'),<br /> 'description' =&gt; t('Test field'),<br /> 'weight' =&gt; 0,<br /> ),<br /> ),<br /> );<br /> <br /> return $extra;<br />}
<p>function fg_preprocess_node(&amp;$vars) {<br /> $vars['content']['test_field'] = array(<br /> '#markup' =&gt; t('Test field'),<br /> );<br />}</p></code></div>
Tue, 15 Nov 2011 21:54:47 +0000joverhttps://www.drupal.org/node/1342878vertical tabs in taxonomy not implementedhttps://www.drupal.org/node/2406969
<p>Creating a vertical tab for a taxonomy vocabulary will put all fields under the vertical tab<br />
but tabs as "relations" "url path settings" "meta tags" will not become themselves vertical tabs as it happens when this is done for a content type</p>
Wed, 14 Jan 2015 08:37:31 +0000GiorgosKhttps://www.drupal.org/node/2406969Set default horizontal tab dynamically?https://www.drupal.org/node/1443408
<p>First of all, great module - thanks for maintaining it!</p>
<p>I have two horizontal tabs named Saturday and Sunday used for adding/editing a node form. In the content type definition, Saturday defaults to open and Sunday defaults to closed. I would like to dynamically close Saturday and open Sunday.</p>
<p>From <a href="http://drupal.org/node/1370914" rel="nofollow">http://drupal.org/node/1370914</a>, I thought I could use hook_field_group_pre_render_alter like so:</p>
<div class="codeblock"><code>function lcog_bcc_field_group_pre_render_alter(&amp;$element, $group, &amp;$form) {<br />if ($group-&gt;format_type == 'htab') { //only change HTAB item <br /> if ($element['#id']=='node_commute_form_group_saturday') {<br /> $group-&gt;format_settings['formatter']='closed';<br /> }<br /> if ($element['#id']=='node_commute_form_group_sunday') {<br /> $group-&gt;format_settings['formatter']='open';<br /> }<br /> }<br />}</code></div>
<p>but Saturday continued to show up as the open tab.</p>
<p>After dumping $element, $group and $form and looking for all other places where the tab states might be set, I added the following to the Saturday part of the code above:</p>
<div class="codeblock"><code>$element['#collapsed'] = TRUE;<br />$group-&gt;collapsed = TRUE;<br />$group-&gt;classes .= 'collapsed ';<br />$form['group_commute_days']['group_saturday']['#attributes']['class'][4]='collapsed';</code></div>
<p>and this to Sunday:</p>
<div class="codeblock"><code>$element['#collapsed'] = FALSE;<br />$group-&gt;collapsed = FALSE;<br />$group-&gt;classes=str_replace('collapsed ', '', $group-&gt;classes);<br />unset($form['group_commute_days']['group_sunday']['#attributes']['class'][3]);</code></div>
<p>but it did not help - Saturday is still showing as the default tab on the form.</p>
<p>Of course, I've cleared my cache every time. . .</p>
<p>I'm sure I'm just missing something obvious. Any ideas? Thanks so much. . .</p>
<p>Jeff</p>
Fri, 17 Feb 2012 02:15:44 +0000jcook4nowhttps://www.drupal.org/node/1443408Responsive Horizontal Tabshttps://www.drupal.org/node/2370603
<p>I'm trying to explore a responsive solution for horizontal tabs. I would love to switch to an accordion on mobile devices. Any suggestions on how I could accomplish this?</p>
Thu, 06 Nov 2014 21:52:39 +0000cmckayhttps://www.drupal.org/node/2370603No group rendered in Commerce product displayhttps://www.drupal.org/node/2223235
<p>Hello and first thanks for this useful module,</p>
<p>using Drupal Commerce and product displays,<br />
i would like to group 3 CCK text fields in a group (horizontal tabs). </p>
<p>Usually easy with field_group module ;) !<br />
But on product displays, with groups defined in the "manage display" tab, groups are not rendered (no markup rendered, fields are displayed normally).</p>
<p>Don't really know if it is a Fieldgroup issue, an Inline Entity Form issue or else...</p>
<p>In a node (article or else) groups are OK.</p>
<p>If anyone else solved this issue or if any expert has any clue ?</p>
<p>i have tried version from 1.1 to 1.3 (even 2.x), updated all other modules, can't figure how to achieve this...</p>
<p>Thanks !</p>
Fri, 21 Mar 2014 16:52:24 +0000piactifhttps://www.drupal.org/node/2223235group_name as class in tab buttonshttps://www.drupal.org/node/2172645
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Themers might need access to the individual buttons of horizontal tabs, not based on order but on a semantic level: the group they are representing. The reason that order/position alone does not suffice is that due to "#access" restrictions a specific group might not always be on a given position, also the position in different view modes or on the edit form might be different.</p>
<p>A reason to want access to the button is might be e.g. to add a representative icon (as content or background image) to the button text.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Copy over user defined classes from the field group to the button as well. However, in the js script it is not clear what classes are user defined (in the site builder UI), so instead copy over all classes that start with 'group-' as there do not seem to be "processing" classes tyhat start with 'group-'.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Review patch.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>A given class might appear on other elements as well, so existing css might be not specific enough to address the group only and might now address the button as well.</p>
<h3 id="summary-original-report">Original report by <a href="/u/bechtold" title="View user profile." data-uid="2008118" class="username" rel="nofollow">@bechtold</a></h3>
<p>Hey,<br />
I wanted to distinguish horizontal-tab-buttons not only unique but semantically.<br />
Best thing would be if the classes you add in the "Extra CSS classes" field would be rendered in the buttons class as well.<br />
But for now I can work with the group name, as this was less time consuming to create. If at some time the "Extra CSS classes" field is considered, this could still be useful.</p>
<p>Please checkout my patch.</p>
<p>This might be something people over here <span class="project-issue-issue-link project-issue-status-info project-issue-status-6"><a href="/node/1293706" title="Status: Closed (works as designed)">#1293706: Add Unique CSS Class or ID to each Tab</a></span> were looking for.</p>
Mon, 13 Jan 2014 16:47:04 +0000bechtoldhttps://www.drupal.org/node/2172645Allow field_group with empty fields to be displayed via settinghttps://www.drupal.org/node/1482958
<p>I'm seeing 2 checks occur in field_group.module that both ultimately stop a field_group from displaying if its fields are empty:</p>
<p>Line 910:<br /><code>field_group_remove_empty_display_groups($element, $groups);</code></p>
<p>and in field_group_pre_render() on line 1759:</p>
<div class="codeblock"><code>if ($element == array()) {<br /> return;<br />}</code></div>
<p>This is a problem for field_group formatters that would like to remain displayed, even if its fields are empty. Specifically, my use case is for a field_group formatter that displays fields using their default forms (<a href="http://drupal.org/node/1482876">http://drupal.org/node/1482876</a>), but I can see other situations where you'd want a field_group to be displayed, such as if a field resulted in text like "No files uploaded yet" or "Awaiting value", i.e. if someone was setting an empty field programmatically. </p>
<p>Would it be within reason to allow for field_groups to have a setting "show hidden fields"? This could then be checked in field_group_field_group_build_pre_render_alter() and field_group_pre_render().</p>
Thu, 15 Mar 2012 01:07:29 +0000csdcohttps://www.drupal.org/node/1482958Accordion is always closed when using jQuery update modulehttps://www.drupal.org/node/2269133
<p>The accordion created by field_group is always closed when using the jquery_update module. The accordion option "open/closed" is neglected. Also if there are form errors the accordion is closed and does not show the erroneous field. Additionally the accordion items are too large when opened (see screenshot).</p>
<p>How to reproduce: </p>
<ol><li>On a bare Drupal installation install the field_group and jquery_update modules.</li>
<li>Add an accordion, e.g. on the user account, set one accordion item to open.</li>
<li>Select any jQuery version other than 1.5</li>
</ol>Fri, 16 May 2014 15:47:55 +0000sammuellhttps://www.drupal.org/node/2269133Field group can&#039;t be deletedhttps://www.drupal.org/node/2393047
<p>There is a typo in the field_group_group_delete() function:</p>
<div class="codeblock">
<pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">context </span><span style="color: #007700">== </span><span style="color: #DD0000">'form'</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">$display </span><span style="color: #007700">= </span><span style="color: #0000BB">EntityFormDisplay</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">entity_type </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bundle </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mode</span><span style="color: #007700">);<br /> }<br /> if (</span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">context </span><span style="color: #007700">= </span><span style="color: #DD0000">'view'</span><span style="color: #007700">) { </span><span style="color: #FF8000">// &lt;= assignment instead of comparison<br /> </span><span style="color: #0000BB">$display </span><span style="color: #007700">= </span><span style="color: #0000BB">EntityViewDisplay</span><span style="color: #007700">::</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">entity_type </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bundle </span><span style="color: #007700">. </span><span style="color: #DD0000">'.' </span><span style="color: #007700">. </span><span style="color: #0000BB">$group</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mode</span><span style="color: #007700">);<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></pre></div>
<p>As the result, a wrong display could be loaded, and a group could be not deleted.</p>
Sun, 14 Dec 2014 12:29:32 +0000Leksathttps://www.drupal.org/node/2393047has anyone actually been successful in hiding additional_settings and fields?https://www.drupal.org/node/2399091
<p>in hook_form_alter setting "$form['additional_settings']['#type'] = 'hide';" works but none of the the fields are hidden.<br />
how can we hide the dynamic fields that are added to additional_settings.</p>
<p>i tried using hook_field_group_base_pre_render and that does not seem to work.</p>
Sun, 28 Dec 2014 05:06:49 +0000SocialNicheGuruhttps://www.drupal.org/node/2399091Integer Group Array Keys can create empty node formshttps://www.drupal.org/node/2386335
<p>Thanks for submitting and working on this really useful module.</p>
<p>This is a pretty obscure error but it has occurred in conjunction with the scheduling and inline entity form modules.</p>
<p>The Group array contained an integer array key for the scheduling options which means that the in_array function returned false positives and consequently hid all the form fields from an inline node form.</p>
<p>Here's a patch to add a check for string array keys, and use strict in_array checking. Can this please be applied?</p>
<p>Thanks,</p>
<p>Dubs</p>
Wed, 03 Dec 2014 13:15:07 +0000Dubshttps://www.drupal.org/node/2386335Remove id attribute from HTML elementshttps://www.drupal.org/node/2037731
<p>The HTML5 field_group formatter adds the same id attribute to every field. This is especially a problem when multiple nodes appear on the same page, e.g. a view of teaser. This generates invalid HMTL, since id attributes must be unique per page. See example screenshot.</p>
<p><img src="/files/screenshot-fieldgroup-duplicate-html5-ids.png" alt="screenshot-fieldgroup-duplicate-html5-ids.png" /></p>
<p>The attached patch removes the id attribute altogether so the output is valid HTML.</p>
Tue, 09 Jul 2013 07:53:05 +0000Zach Harkeyhttps://www.drupal.org/node/2037731Missing id for fieldsethttps://www.drupal.org/node/2318311
<p>Since version 7.x.1.4, <code>field_group_field_group_pre_render</code> doesn't set the <code>id</code> for fieldset. This prevents opening collapsible fieldset.</p>
<p>I think this is caused by <code>field_group_field_group_formatter_info</code> which doesn't set <code>id</code> as a setting for fieldset element.</p>
<p>Thanks</p>
<p>Laurent</p>
Sat, 09 Aug 2014 07:46:46 +0000Laurent_https://www.drupal.org/node/2318311Numerous misspellings in module causes errorshttps://www.drupal.org/node/2398267
<p>There are spaces between '&amp; $' in many of the function declarations</p>
<p>grep '(\&amp; \$' -d recurse *<br />
field_group.api.php:function hook_field_group_pre_render(&amp; $element, $group, &amp; $form) {<br />
field_group.api.php:function hook_field_group_build_pre_render_alter(&amp; $element) {<br />
field_group.field_ui.inc:function field_group_formatter_row_update(&amp; $group, $settings) {<br />
field_group.field_ui.inc:function field_group_formatter_settings_update(&amp; $group, $settings) {<br />
field_group.module:function field_group_field_group_build_pre_render_alter(&amp; $element) {<br />
field_group.module:function field_group_remove_empty_display_groups(&amp; $element, $groups) {<br />
field_group.module:function field_group_group_save(&amp; $group) {<br />
field_group.module:function field_group_pre_render(&amp; $element, $group, &amp; $form) {</p>
Wed, 24 Dec 2014 11:48:49 +0000SocialNicheGuruhttps://www.drupal.org/node/2398267hook_field_group_build_pre_render_alter works but hook_field_group_pre_render_alter does nothttps://www.drupal.org/node/2398061
<p>I have been struggling with this for a few days now.</p>
<p>hook_field_group_build_pre_render_alter works but hook_field_group_pre_render_alter does not.</p>
<p>Does anyone know why?</p>
Tue, 23 Dec 2014 21:50:58 +0000SocialNicheGuruhttps://www.drupal.org/node/2398061Group label displaying when group&#039;s fields are emptyhttps://www.drupal.org/node/2397323
<p>Hi,</p>
<p>I've recently upgraded this module from 1.1 -&gt; 1.4 (and subsequently -dev) and have an issue with a field group label displaying even when its fields have no value.</p>
<p>Having looked in to the code that has changed, it's unclear what might have caused this.</p>
<p>The 2 fields that are inside this group are a node reference and a text field. It appears that it's the node reference field that might be causing the issue, as the `$elements[$name]` always contains `['field_magic'][0]['#markup']`, even when #markup is empty.</p>
<p>Any thoughts on what might be causing this or where I might look next to solve it?</p>
<p>Thanks.</p>
Mon, 22 Dec 2014 17:39:15 +0000kiwimindhttps://www.drupal.org/node/2397323