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

    I have installed the Doodles extra and I have added rows to the Doodles table

    Now I would like to list the rows in the Doodles table

    I think this should be done with pdoResources

    Per chance does someone have an example of pdoResource call with a custom db table ?

    I can't figure out how to do, there is no working example in the doc or google


    Thank you smiley

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

    • discuss.answer
      • 4172
      • 5,888 Posts
      with migxLoopCollection it would be:
      [[migxLoopCollection?
      &packageName=`doodles`
      &classname=`Doodle`
      &tpl=`yourTplchunk`
      ]]
      


      with pdoResources, I think, it is something like that:
      [[pdoResources?
      &loadModels=`doodles`
      &class=`Doodle`
      &tpl=`yourTplchunk`
      ]]
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 53118
        • 28 Posts
        Thanks a million Bruno, it works !