Mautic Community Forums

Custom template only works for emails


I tried to create my own theme. It works for emails, but it isn’t available for landing pages and forms, although I “enabled” page, form, and email.

The config.json looks like this:

  "name": "Test",
  "author": "Test",
  "authorUrl": "",
  "builder": ["grapesjsbuilder"],
  "features": [

My theme strucute looks like this:

├── assets
├── config.json
├── html
│   ├── base.html.twig
│   ├── email.html.twig
│   ├── form.html.twig
│   ├── message.html.twig
│   └── page.html.twig
└── thumbnail.png

2 directories, 7 files

I uploaded it, it installed without problems. But as I said: My theme is only available for emails.

What did I do wrong?

(Side question: What happens to existing emails if I upload a new version of the theme? Do they get changed/updated?)

Your software
My Mautic version is: 4.1.1
My PHP version is: 7.4

No one? I still didn’t figure it out…

Answer to your sidequestion:
The template is only to START an email. Once you created an email, that lives on its own.
The only time when a template also matters is when you API in an email. In that case you have to name the template your emails is based on.

For your main question: would need to see the template to be able to answer.

Thanks for your answer.

I finally found the problem. I
builder is just set to grapesjs, it’ll work only for emails. You need to enable legacy to make it work for page and form, too. . .