Hi Everyone,
I’m looking for a little bit of advice. I have a site that I’m working on where I need to set it up so that the client can add collapsible text boxes and/or modal panels, etc. to the content of their pages. They may want to add these in different spots on the page so it needs to be set up in a way that is flexible. I’ve been thinking about how I would go about this but I’m a little stumped. I usually use Wygwam for my content fields. I could have them add a div with a style on it that would make jquery pick it up as a collapsible, but I want to make sure it is simple for them to do. I’ve looked at the new Elements module, and while I thin it might be a good fit in the future, I’m not sure it is quite where I need it to be yet. I thought about using a matrix setup of some sort where they could enter regular content in a wysiwyg cell then add a row and with a different content type to specify the content for the collapsible blocks/modals, but I think that will get unwieldy. Does anyone know if there is a way to make one cell in a Matrix change its type based on what is chosen in another cell of the Matrix?