I would like to code my own layouts - into which you could drop the custom modules. So for example an element with a background image and round borders into which I could drop all available modules.
Per default HubSpot offers the layouts on the screenshot but they aren't enough for my usecase.
I tried to clone the existent layout with a custom module but it didn't worked.
A dynamic {% include "module path" %} won't work within a custom module. It will only cause an overflow. And since {% module %} is deactivated for custom modules (probably for that reason) I'm still hoping that somebody can help me with the issue.
My assumption is that the dragging and dropping of modules is the part that is not working? If that is not the case you could probably disregard this comment lol.
Yes, your assumption is correct - the dropping of modules isn't working.
You can see in the GIF how the Code of a default Layout module changes, but not the Code of the custom one.
I just took a quick look at flexible columns, but "this module is not available onblog, system page, or email templates." And since I want to use the custom layout modules for the email drag and drop editor, they don't work.