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!

CommentFileSizeAuthor
Stream-group_admin.png6.89 KBnbchip
Stream-group_node-edit.png21.26 KBnbchip

Comments

combert’s picture

That would be awsome. If you could put multigroups inside other multigroups.

nbchip’s picture

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

dave_______1’s picture

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

nbchip’s picture

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