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

    Wondering whether there is a limit to how many items MIGX can output. The following code is used to output MIGX:
     
    	<ul>
                    [[!getImageList? 
                      &tvname=`Modules`
                      &tpl=`@CODE:<h5>[[+title]]</h5><br>[[+description]][[+URL]] [[+image1]][[+image2]] [[+description2]][[+image3]]
                      [[+image4]]
                    `]]
            </ul>
    


    I know by default &limit is set to 0. I have 40 items in my MIGX TV but when viewing the page, only 29 is outputted and shown. If there is a limit on MIGX, is there a way to change this?? Thanks
      • 47401
      • 295 Posts
      I set the limit to 9999 this seemed to fix it for me
        • 49846
        • 22 Posts
        Quote from: comp_nerd26 at Oct 29, 2015, 09:24 AM
        I set the limit to 9999 this seemed to fix it for me

        By adding &limit= into the getImageList call? I set it to 100 and it still didn't work for me.
          • 47401
          • 295 Posts
          &limit=0 should show an unlimited amount.

          &limit works for me fine.
            • 4172
            • 5,888 Posts
            the output isn't limited by default.

            whats your json, when you output the TV-content directly?

            [[*Modules]]
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 49846
              • 22 Posts
              Quote from: Bruno17 at Oct 29, 2015, 09:52 AM
              the output isn't limited by default.

              whats your json, when you output the TV-content directly?

              [[*Modules]]

              Hello Bruno,

              Thank you for replying. When I out put it directly using [[*Modules]] I can see all the item values. But I've noticed that the MIGX_id goes up to 29 and then restarts and begins at 1 again...
                • 4172
                • 5,888 Posts
                ah, I see, that's your issue.
                Seems there went something wrong at some point, when one or some MIGX_ids was generated.
                Each record should have its own MIGX_id.

                Either modify the MIGX_ids manually or try to call getImageList with the property

                &placeholdersKeyField=``


                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                  • 49846
                  • 22 Posts
                  Quote from: Bruno17 at Oct 29, 2015, 12:44 PM
                  ah, I see, that's your issue.
                  Seems there went something wrong at some point, when one or some MIGX_ids was generated.
                  Each record should have its own MIGX_id.

                  Either modify the MIGX_ids manually or try to call getImageList with the property

                  &placeholdersKeyField=``



                  Do you have any idea why it went wrong?

                  I called the getImageList with the property you provided and it works now. Thank you so much Bruno! smiley