Mautic Community Forums

Email builder not working on custom template

I have cloned the Oxygen theme and made a couple of basic customisations but even though I am now able to edit the content block that are in the template I am not able to add any new content blocks.

I have looked through the code and compared against the Oxygen original but after two hours I cannot see what could be blocking it. I have added to gist on Github here: https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7



Any advice most welcome.

I have cloned the Oxygen theme and made a couple of basic customisations but even though I am now able to edit the content block that are in the template I am not able to add any new content blocks.
I have looked through the code and compared against the Oxygen original but after two hours I cannot see what could be blocking it. I have added to gist on Github here: https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7

Any advice most welcome.

Anyone?

Are there any dev docs for building templates?

Hey @nbatch. What specifically are you hoping to add – are you trying to drag new “slots” (text, image, etc) into your email using the builder?

I copied your code and was able to drag new text blocks (“slots”) using the builder into the areas around your existing slots. You can’t drop new slots inside existing slots, but I was also able to insert new rows within the existing slots. It all seemed to be working for me.

I’ve spent a lot of time working on custom email templates for Mautic and I will say that getting them so they are easy to customize and add/remove sections just using the builder can be a bit tricky.

@chris0928 Thanks for having a look. That’s really weird, but now all working.

After your comment I went back into the same email but still couldn’t add any new slots. I changed the template to Oxygen, then back to custom and everything worked.

Thanks again for your time.

@nbatch nice :slight_smile: