We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37261 ☆ A M B ☆
    • 113 Posts
    pyrographics Reply #1, 13 years ago
    I tried adding "renderer":"this.renderChunk","renderoptions":"[{\"name\":\"renderTitle\"}]" to the Grid columns but it didn't work. I also tried creating the entire grid through the MIGX CMP and then specifying the configuration ID in MIGX and that really didn't work. I haven't been able to find any documentation anywhere on using the CMP, only through raw JSON in the TV so I guess it is not yet supported?
      • 37261 ☆ A M B ☆
      • 113 Posts
      pyrographics Reply #2, 13 years ago
      Any thoughts on this? I'd think it should be easy to render an ID into a title in the manager but MIGX is a complex and powerful beast with incomplete documentation.
        • 6038
        • 228 Posts
        Quote from: pyrographics at Oct 01, 2013, 12:47 PM
        I tried adding "renderer":"this.renderChunk","renderoptions":"[{\"name\":\"renderTitle\"}]" to the Grid columns but it didn't work. I also tried creating the entire grid through the MIGX CMP and then specifying the configuration ID in MIGX and that really didn't work. I haven't been able to find any documentation anywhere on using the CMP, only through raw JSON in the TV so I guess it is not yet supported?

        I know of two methods you can use:
        1. Link via schema if you have custom tables:
        https://forums.modx.com/thread/87002/migxdb-cmp-for-two-related-tables#dis-post-479725

        2. A custom renderer via a chunk and embedded snippet (sounds like you were almost there) - follow bruno's instructions here:
        https://forums.modx.com/thread/80338/migx---new-feature-renderchunk