We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30912
    • 463 Posts
    So, Im looking into MIGxDb and following the Doodles tutorial and its all writing into the database correclty - but what I dont get is how to output it on to the site.

    I looked at http://rtfm.modx.com/display/ADDON/MIGXdb.Create+a+basic+gallery-management+from+scratch+with+MIGXdb and looked at the bottom where it says:

    [[!migx? &configs=`mygallery` &tpl=`@CODE:<img src="[[+image]]" />` &sortConfig=`[{"sortby":"RAND()"}]` &where=`{"published":"1"}`]]


    so i changed it to

    [[!migx? &configs=`doodles` &tpl=`@CODE:[[+name]]"` ]] 


    but nothing outputs?

    Am I missing something basic? the unique migx id is doodles the config is called doodles as well

    This question has been answered by Bruno17. See the first response.

    • discuss.answer
      • 4172
      • 5,888 Posts
      I wouldn't use the migx - snippet for outputting to the frontend, but the included migxLoopCollection or bloX

      Also rowboat should work.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 30912
        • 463 Posts
        Ill try those Bruno cheers.

        EDIT: tried Rowboat, and thats working fine - now i just need to learn how to sort drop down filters.

        Cheers again [ed. note: Tyreal2012 last edited this post 11 years, 2 months ago.]