We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33968
    • 863 Posts
    I’m building a site which I will also be maintaining the content for, which requires roughly 5-10 resources each containing up to 10 child documents to be created each Friday - and a similar number edited or removed.

    I’ve had a read through this thread and it appears this module is great for loading a site with initial content. However, is it reliable to be used on a weekly basis to edit large amounts of content? The module won’t be used by anyone else so I’m not concerned about it being ’idiot-proof’; however I just want to know if it is practical for this purpose?

    It would be a huge time-saver to simply upload a csv file each week containing the new tree structure and TV values, etc
      • 4172
      • 5,888 Posts
      I’m building a site which I will also be maintaining the content for, which requires roughly 5-10 resources each containing up to 10 child documents to be created each Friday - and a similar number edited or removed.

      once installed and configured corectly for your needs this should work. You cannot remove resources, but you can set deleted to 1 in your csv to mark them as deleted.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 33968
        • 863 Posts
        Hi Bruno

        I’m having some success with importing+exporting using this module, but the one place where I am confused is when it comes to updating existing documents.

        I have tried exporting the documents I want to update, then changing the fields I want to change and re-saving the csv. However when I run the module by selecting ’update’, it creates new documents containing the updated fields rather than updating the resources specified in the csv.

        Using the data from this post as an example, are you able to give us an idea on how to set it up to update/change information stored in fields for documents that already exist? Say if we wanted to change the prices and delete one of the products, for example...


        ps. I would be happy to assist with translating the tutorials to english as well - it’s a powerful module but it definitely has a bit of a learning curve!
          • 4172
          • 5,888 Posts
          if you want to update you need matching fields. for example: id
          for deleting resources you can only mark them as deleted and empty your trash for deleting them realy.
          You will need a field deleted for that and set it to 1.

          example:

          id;price;deleted
          10;200;0
          11;250;0
          12;150;1
          13;160;0


          resource 12 would be marked as deleted.
          you have to choose under match-fields the field ’id’ at row id for updating the matching resources.

          hope that helps

          Bruno
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 33968
            • 863 Posts
            you have to choose under match-fields the field ’id’ at row id for updating the matching resources.

            That’s where I was going wrong, I hadn’t understood the ’match fields’ selector. It works exactly as expected now... thanks for your speedy assistance!
              • 7575
              • 85 Posts
              on what versions of modx does this module work?
                www.tornooi.net online database for (sport) events in dutch.
                To be redesigned, rewritten to modx with multiple languages...
                ANY help appreciated, I cannot offer money but I can offer free advertising on the site. just message me.
                • 4172
                • 5,888 Posts
                as it is. Its only working on Evo.
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                  • 7575
                  • 85 Posts
                  I was afraid for that...
                    www.tornooi.net online database for (sport) events in dutch.
                    To be redesigned, rewritten to modx with multiple languages...
                    ANY help appreciated, I cannot offer money but I can offer free advertising on the site. just message me.
                    • 15001
                    • 697 Posts
                    lucas wrote:
                    ps. I would be happy to assist with translating the tutorials to english as well - it’s a powerful module but it definitely has a bit of a learning curve!

                    @lucas: Did you see this post?
                    http://modxcms.com/forums/index.php/topic,29616.msg259449.html#msg259449
                    The tutorial was translated in English.
                    As you telling about some other tutorial?
                      • 33968
                      • 863 Posts
                      @Jul - yes, I’ve used that documentation and it was certainly helpful but I still found it difficult to get my head around how to set up the module correctly for loading/updating content.

                      But after some trial and error it is clear now for what I want to do and I am using it successfully to add/edit large numbers of pages every week. It’s definitely a great time-saving module!