We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46580
    • 167 Posts
    I'm searching a way to easily create transport packages, like Packman, but based on specific category/ries choices :

    category package :
    - chunks
    - snippets
    - TVs
    - templates
    - eventually /assets/categories/category-name-folder-and-content/
      MODX lover
      -
      Développeur MODX / Webdesign / Solutions web
      • 3749
      • 24,544 Posts
      You might take a look at MyComponent, though I'm not exactly clear on what you want to do. You mention selections based on categories, which MyComponent will do, but maybe not in the way you mean.

      Teleport is another option.
        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
        • 37523
        • 141 Posts
        Quote from: BobRay at Mar 14, 2015, 11:15 AM
        You might take a look at MyComponent, though I'm not exactly clear on what you want to do. You mention selections based on categories, which MyComponent will do, but maybe not in the way you mean.

        Teleport is another option.
        Bob I think johnxx is wondering if it possible to create a transport package based on a categories name. That is you give the extra the name of a particular Category. The extra will then find all the resources that are within that Category and package them up. Can MyComponent do that? If so, how.

        Many thanks in advance.
          Glyn Szasz
          Sydney, Australia

          Happy to help (when can) and happy to learn

          If you are a Sydney based MODX developer would love to hear from you. Please contact me.
          • 46580
          • 167 Posts
          @BobRay Sorry for this late reply

          @Glyn Exactly !

          It would be nice to have the possibility to pack and export MODX chunks, snippets and TV by this way. Unfortunately Packman extra doesn't have this option.



          Quote from: glynszasz at Aug 09, 2015, 07:01 AM
          Quote from: BobRay at Mar 14, 2015, 11:15 AM
          You might take a look at MyComponent, though I'm not exactly clear on what you want to do. You mention selections based on categories, which MyComponent will do, but maybe not in the way you mean.

          Teleport is another option.
          Bob I think johnxx is wondering if it possible to create a transport package based on a categories name. That is you give the extra the name of a particular Category. The extra will then find all the resources that are within that Category and package them up. Can MyComponent do that? If so, how.

          Many thanks in advance.
            MODX lover
            -
            Développeur MODX / Webdesign / Solutions web
            • 3749
            • 24,544 Posts
            TBH, I've never used MyComponent that way, but I think it will work.

            When you edit the config file, you can remove everything except the package information at the top and the category section.

            Run Bootstrap, then run ExportObjects, then Build, and I think you'll have a package with all objects in that category. I could be wrong. Worst case, you'd have to name the objects (or at least one object of each type) in the config file.

            Be aware that Resources don't have categories, so if you want to include any, you'll have to give their pagetitles in the config file.

              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