We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7350
    • 24 Posts
    Hello people!

    I’ve been messing around with ModX Evolution for quite some time now, in wich I have created a bunch of sites and some custom modifications, and I have to admit that this CMF is far from being just awesome! This year’s greatest discovery to me indeed!

    Now the point is that I’m willing to create some more-complex addons and modifications that in order to install them, they would require adding modules, plug-ins, chunks and so on; which will be a pain to setup in every single client, or even to explain how to install if they were made public (in fact, the way you actually proceed to install modifications in evolution is the only awful/annoying/unease aspect I could attribute to ModX). Playing around with ModX I have run into several modifications like rich-text editors or e-commerce packages that include a more-than-pleasant setup process, but I am unable to find any documentation on how to create them. So if anyone could explain something about the way those installers are made, that’d be a great share indeed!

    Thank you in advance and regards!

    P.S.: I have to apologize for this awful english that I scrawl :S
      • 3749
      • 24,544 Posts
      I know this isn’t a direct answer to your question, but you should really look at MODx Revolution which has a built-in installer. You can build transport packages for it that will install directly from the repository (or a .zip file) with a few clicks. You can also write a script that will let the user configure things during the installation.

      With Evolution, you’d have to do all that from scratch with no tools to help you.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        You might want to take a look at SkinGraft’s code; it’s a nice template installer module that includes auto-installation of chunks and TVs.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 7350
          • 24 Posts
          Thank you both Bob and Susan.

          @Bob: Don’t worry, you’re right, the Revolution’s extension system is really interesting. In fact I already have a test server running with the latest version of Revolution RC1, and I’m really interested in learn how that whole process work in order to start using it. But as long as Evolution remains stable and I keep making sites on this branch (and I believe that Evolution, as the stable branch, will remain among us for a while yet), I thought it would be interesting to make the rest of my job as practical as possible.

          @Susan: I was already taking a look to the Edit-Area’s install code but I’ll change to Skingraft’s as it looks more complete (does it install and manage custom tables?). Actually I was just trying to understand where this all came from, whether is there some kind of easy way to make this kind of wizards, and why are not people actually using it as it really simplifies the process of install add-ons and makes everyone’s lifes just easier!

          Regards!