We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38290
    • 712 Posts
    Wondering if others also think something like this would be useful. What if you could right click a folder of Resources > Download, and download a zip package that on a later import would re-create those resources.

    Something like this could be useful when dealing with content migrations of large websites where, by the time you finish something on development a group of resources has already been updated.
      jpdevries
      • 9207 ☆ A M B ☆
      • 2,475 Posts
      I really like that idea. Nice UX.

      With Vapor, this should be pretty straight-forward, this would require that you also download the templates (because each resource is assigned to one), the TVs, probably you'd need the Chunks and Snippets too, and probably the resource groups.

      Or, you could just do a simple dump and grab only the page content... but you might lose TVs if you did that.
        • 38290
        • 712 Posts
        Quote from: Everettg_99 at Mar 15, 2013, 12:51 AM
        I really like that idea. Nice UX.

        With Vapor, this should be pretty straight-forward, this would require that you also download the templates (because each resource is assigned to one), the TVs, probably you'd need the Chunks and Snippets too, and probably the resource groups.

        Or, you could just do a simple dump and grab only the page content... but you might lose TVs if you did that.

        You know I hadn't thought of needing to do that but you're right you would. Maybe there could be settings for what to package. Also the import could get tricky but I think it would be fine to just always import even if similar or identical resources exist.
          jpdevries
          • 4172
          • 5,888 Posts
          Bob's myComponent can export resources and also its templates and build transport-packages of them.
          It will get easy to select which Resources to export with the myComponentMigxUi:
          http://www.revo222.webcmsolutions.de/index.php?id=51
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 40045
            • 534 Posts
            For me this would definitely be helpful! For example I have custom help / documentation system (which replaces the modx built in one) which would be much easier to export with a feature like that (and yes, I confess, still didn't try mycomponent^^...and in the same sentence, looking forward for that mycomponent migx ui! =D)
              • 3749
              • 24,544 Posts
              I've never actually tested it, but MyComponent has an API (completely undocumented). You would still need a small config file, but you can send everything you need in the $scriptProperties array and call the individual methods to export objects to the build files and create the necessary resolvers, then run the build snippet.
                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