Is there already some way to do this or if u can point me to best way in coding this in custom module.
Create new group of type - "StreamGroup".
Adding unlimited fields or multigroups to StreamGroup would allow them (fields/multigroups) to be interleaved/mixed in desired way. Weight/delta would be shared between all different fields in streamgroup
I made some pics to better explain what im trying to accomplish
THX!
| Comment | File | Size | Author |
|---|---|---|---|
| Stream-group_admin.png | 6.89 KB | nbchip | |
| Stream-group_node-edit.png | 21.26 KB | nbchip |
Comments
Comment #1
combert commentedThat would be awsome. If you could put multigroups inside other multigroups.
Comment #2
nbchip commentedActually i found little workaround for this. I put all fields I need in one multigroup and then with JS i show only forms for that fields which i need in that field instance.
Comment #3
dave_______1 commentedHi nbchip,
How did you do this?
I'm trying to make a group where the content creator can choose to add either a title, an image OR a video.
They can then move the titles, images and video around the group by dragging the handles.
With the new multigroup I can create a button that will create all of these, but not a choice of each.
Any help could be useful at this point.
Thanks
Dave.
Comment #4
nbchip commentedWell inefficient way would be to write custom JS handler for loading multigroup fields and then hide fields that u dont need.
U create button for each field combination that need. This button would work as regular add more field and load ALL fields, only then it would hide (d:none,v:hidden ) that fields which u dont need.
There must be better way to do this. My idea of "stream-group" is mixing multiple different fields/multigroups.
I was trying to make similar UI as http://www.impresspages.org/ has.