We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52534
    • 13 Posts
    Let’s say I have 2-3 templates and a handful of TVs and Chunks that make up my custom “widget” and I’d like to bundle those items and add to to several active MODX installs, is there an easy way to do that? Without manually creating each element on each install?

    I’m using the latest Revo 2.5.8 across the board.

    Thanks!
      Front End Designer + Developer for Eternity
      • 3749
      • 24,544 Posts
      The easiest way is the PackMan extra.

      If you will be updating the elements often, you might consider MyComponent. Once you have the config file set up the way you want it, you can just make the changes in the Manager, run Export Objects and then Build to create a new package after each change. You can also update the version number of the package.

      You can delete all the stuff in the config file that you don't need, as long as it remains valid PHP.

        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
        • 52534
        • 13 Posts
        I will try MyComponent, thank you.
          Front End Designer + Developer for Eternity
          • 3749
          • 24,544 Posts
          MyComponent might be overkill for what you're doing unless you're going to release an extra or will be making lots of changes over time.

          That said, it's not nearly as difficult as it looks at first. I can produce an extra package with it in about 20 minutes once the resources and elements exist.
            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