Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Mautic Plugins

    Mautic
    3
    9
    128
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mdreira
      mdreira translator last edited by

      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?.

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        Yes, correct, it won't get overrwritten. The plugins that come from upstream will be updated automatically as well - https://git.cloudron.io/cloudron/mautic-app/-/blob/master/start.sh#L129

        mdreira 1 Reply Last reply Reply Quote 1
        • mdreira
          mdreira translator @girish last edited by

          @girish Perfect.

          1 Reply Last reply Reply Quote 0
          • mdreira
            mdreira translator last edited by

            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!

            girish micmc 2 Replies Last reply Reply Quote 0
            • girish
              girish Staff @mdreira last edited by

              @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 1 Reply Last reply Reply Quote 1
              • micmc
                micmc @mdreira last edited by

                @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.


                https://marketingtechnology.agency
                For cutting edge web technologies

                1 Reply Last reply Reply Quote 0
                • mdreira
                  mdreira translator @girish last edited by mdreira

                  @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.

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @mdreira last edited by

                    @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.

                    mdreira 1 Reply Last reply Reply Quote 2
                    • mdreira
                      mdreira translator @girish last edited by

                      @girish Thank you!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB