Plugin development by extending the core EmailBundle

Hi, Community. My name is Saniya Firdous. I just recently hired as a developer in mautic.

My software
My Mautic version is: 4.4.13
My PHP version is: 8.0.30
My Database type and version: 10.6.18-MariaDB-0ubuntu0.22.04.1

My Problem
I tried to create a plugin which clone the email with all it’s daughters(translations and variations) by extending the core EmailBundlle. The backend is working fine “https://mydomain.com/s/multiemailclone/emails/clone-all/{objectId}” and it is giving me the result as i want but the issue is when i try to create this in a button form in the Emails Mautic UI by extending the list.html.php it is not creating any button. How can I create the button in the Mautic UI without changing or updating the EmailBundle so that if anyone installs this plugin in their mautic they should see the “Clone All” button in there Mautic UI without effecting anything

I did a lot of reading the examples and all but still not getting it. Any help what to do and how to solve this issue?

1 Like