Mautic Community Forums

Developing a new Slot via plugin

Hi there.

Let’s see if this time i have more luck.
I am trying (again) to do a new slot for mautic via a plugin. So far i have managed to get the new slot added via the builder and many parts of the slot changed.
But i am facing an issue with an image and i cannot manage to get the image of the new slot selected and being able to change it.

The new slot is kindoff similar to the imagecard, but adding an extra button to the bottom that can be altered (text and link). All works except for the image, that cannot be selected in the builder.

I can point to the code in GitHub in case anyone wants to take a look to the code and help a bit (the error may be in the js or similar)

The latest version of Mautic is installed in my server and all works fine.
Thnks!

Hi @gorkaguerrero and welcome back to the forums!

It might be helpful if you could share a link to view the code in Github so that people can take a look and see if there’s anything that jumps out.

Can you specify what version of Mautic you’re using (a version number, rather than the latest version) and PHP, as well?