Modular Drupal content-type (variable sections) I'm trying to build a modular and quite dynamic backend. I'm using Drupal for the task but haven't been able to spin my head around how to make it happen.

I need ideas on how I might solve this rather complex task.



To explain what I would like to end up with, I've faked a screenshot showing in steps what I would like the end result to look like.

Step 1



Step 2





My client wants to display his different cases. To make each case different, he wants a system where he can pick and choose how parts of his content is displayed. I suggested a modular approach where he can choose a "module type" in a dropdown, and fill in the needed fields.



There are plenty more, but for the sake of this questions, lets just stick with those.



Needs:


Possible amount of modules should be infinite.
Possible to fill in all information on the different 'modules' on the 'case' page.


Do you have any idea on how this might be solved?
You can do this with the Field Collection module.

Add a field collection to your Case node and then add then add fields of the types you require to the field collection restricted to the amount of images or videos you want to display. An with the correct image styles assigned.

You could use the Field Group module to collapse the fields to improve the admin interface.

Edit:

Another option would be use Conditional fields module and add image fields to the case content type set the the amount of images to be displayed in each and the image style required. Then add a list field to the case content type with option on 1 image, 2 images, 3 images etc and then use Conditional fields to link this to display and hide the image fields.