Mautic Plugins
-
Hi,
We are creating a custom plugin for Mautic. It is evident that we do not want it to be deleted with updates or restarting the app.
The plugins folder doesn't get overwritten every time it's updated o restarted, right?.
-
Hi again @girish,
I didn't know whether to continue this thread or open another, but since my question is completely related, I thought I'd better stay on this thread.
I'm having trouble creating plugins for mautic (in cloudron), because not all the original files of a Mautic installation can be accessed because Cloudron only shows part of the structure.
As with Wordpress dev, there are times when I need a plugin to modify something in other files that do not appear in the file structure that the package shows.
Is there anything we can do to get the whole structure to show up?
Thank you!
-
@mdreira said in Mautic Plugins:
As with Wordpress dev, there are times when I need a plugin to modify something in other files that do not appear in the file structure that the package shows.
Those files are readonly though. I think your best bet to install mautic in the LAMP app and manage updates yourself.
-
@mdreira said in Mautic Plugins:
Hi again @girish,
I didn't know whether to continue this thread or open another, but since my question is completely related, I thought I'd better stay on this thread.
I'm having trouble creating plugins for mautic (in cloudron), because not all the original files of a Mautic installation can be accessed because Cloudron only shows part of the structure.
As with Wordpress dev, there are times when I need a plugin to modify something in other files that do not appear in the file structure that the package shows.
Is there anything we can do to get the whole structure to show up?
Thank you!
I see a bit of where you where you may want to go, and as you know now from @girish the files you would want to modify in the Mautic structure cannot be edited on Cloudron platform, so with that said I do not know exactly what you want to accomplish but FYI there exists WordPress plugins like for example WP Mautic which doesn't require you to modify any source code to insert tracking codes.
- You donβt have to edit source code of your template to insert tracking code.
- Plugin adds additional information to tracking image URL so you get better results than using just plain HTML code of tracking image.
- You can use Mautic form embed with shortcode described below.
- You can choose where the script is injected (header / footer).
- Tracking image can be used as fallback when JavaScript is disabled.
And much more see: https://wordpress.org/plugins/wp-mautic/
Source code is available here: https://github.com/mautic/mautic-wordpress
There are a few more that could be used fir deeper integration: https://wordpress.org/plugins/tags/mautic/
Much more about Mautic integration: https://innotiom.com/mautic-plugins/
There even is a guide for non-developer: https://innotiom.com/mautic-wordpress/Hope that helps a little.
-
@girish Thank you for your answer!
I guess you would also give that answer for Wordpress before Wordpress dev existed. Right?
Just as there is a Wordpress dev, perhaps there should be a Mautic dev, where there is a middle ground between maintained by Cloudron or by the Mautic community.
My proposal is simply that the entire Mautic file structure be accessible, but that it only be updated when Cloudron updates Mautic managed (it's safer) and not when Mautic releases an update.
And every time the Mautic dev application is restarted, the same thing happens as with Mautic managed: Cache is cleared, etc ... and the core files are restored.
Please think about it.
@micmc thanks for your answer too. We have been using mautic since 2013 and we know the wp-mautic plugin well. We used it a long time ago.
The proposal to be able to modify the structure of mautic is not related to the tracking of mautic or its integration with Wordpress, but with rebranding modifications.
-
@mdreira said in Mautic Plugins:
My proposal is simply that the entire Mautic file structure be accessible, but that it only be updated when Cloudron updates Mautic managed (it's safer) and not when Mautic releases an update.
Can you open a App Request for this? I think if there is enough interest we can make a Mautic Developer like WordPress Developer.