We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42800 ☆ A M B ☆
    • 9 Posts
    Hi all! I have a grid in the backend see picture below.
    I need to show pagetitle of resource instead of compID numbers.
    I was thinking about JOINS in MIGXdb Settings - but it doesn't work for me.
    Please correct or give some hint? CompID is resourceList TV. When I right-click in grid and edit row it appears as it must - as a resource pagetitle...

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

      • 6629
      • 60 Posts
      You could use the renderChunk renderer in conjunction with getResourceField in your grid.

      Chunk "compIDrenderer":
      [[getResourceField? &id=`[[+compID]]` &field=`pagetitle`]]

        • 42800 ☆ A M B ☆
        • 9 Posts
        Thank you, DasItsch for response.
        Quote from: DasItsch at Aug 23, 2013, 01:55 AM
        You could use the renderChunk renderer in conjunction with getResourceField in your grid.
        This is close but doesn't work - getResourceField brakes all. Even if I try
        [[getResourceField? &id=`1`]]
        it brakes the grid (nothing is displayed in it).
        I guess I need to make this renderer some other way...
        • discuss.answer
          • 16551 ☆ A M B ☆
          • 54 Posts
          That's correct. getResourceField isn't working.

          fastfield works for me:
          http://modx.com/extras/package/fastfield

          Chunk:
          [[!#[[+compID]].pagetitle]]