Mautic Community Forums

Customizing my form

Hello! I’m with a problem customizing my form. I followed the steps here https://developer.mautic.org/#form.html.twig, so i created a folder called “MauticFormBundle” in my custom theme “[customName]/html/”. Then i put two new folder inside, “Field” and “Builder”.



Now i copied all files inside “app/bundles/FormBundle/Views/Builder/” to my custom theme folder “Builder” and the same for this folder “app/bundles/FormBundle/Views/Field/” to my custom theme folder “Field”.



I tried change the file “form.html.php” inside my custom theme “Builder” and the changes reflected, so ok.

Then i tried to change “group.html.php” inside of my custom theme “Field” and the changes didn’t reflected. And that is my problem.



When i tried to change the file in this folder “app/bundles/FormBundle/Views/Field/group.html.php” the changes refleced but in a future update this will be erased once this is a root folder of Mautic.

Hello! I’m with a problem customizing my form. I followed the steps here https://developer.mautic.org/#form.html.twig, so i created a folder called “MauticFormBundle” in my custom theme “[customName]/html/”. Then i put two new folder inside, “Field” and “Builder”.

Now i copied all files inside “app/bundles/FormBundle/Views/Builder/” to my custom theme folder “Builder” and the same for this folder “app/bundles/FormBundle/Views/Field/” to my custom theme folder “Field”.

I tried change the file “form.html.php” inside my custom theme “Builder” and the changes reflected, so ok.
Then i tried to change “group.html.php” inside of my custom theme “Field” and the changes didn’t reflected. And that is my problem.

When i tried to change the file in this folder “app/bundles/FormBundle/Views/Field/group.html.php” the changes refleced but in a future update this will be erased once this is a root folder of Mautic.