Closed (fixed)
Project:
Field Group
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 May 2012 at 20:23 UTC
Updated:
25 Oct 2015 at 19:38 UTC
Jump to comment: Most recent
Comments
Comment #1
boombatower commentedUse ctools exportables since field_group supports them now. See field_group.api.php hook_field_group_info(). To get a full example, create a field_group and enable the ctools bulk export module and export the field group using that. Once you take a look at the code simply determine how it fits into your usecase to pragmatically create fieldgroups.
Comment #2
Stalski commentedTx boombatower. That is correct.
@ivars211: Let us know if you figure it out.
Comment #3
ivars211 commentedThank you for your replies. I tried to export and look through the code in hook_field_group_info() function but without success.
I am making step-by-step tutorial type website. So I would like to allow user to press on the button(add step) which displays my field group tabs(steps) with js (they could be hidden by default for example). I think horizontal-tabs.js is the file which I am looking for, but I have no idea how to do that.
Thank you again.
Comment #3.0
ivars211 commentedinformation
Comment #4
nils.destoop commented