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

    I am developing miniShop and I want to create editing TV properties in popup window.

    For now i already implemented simple editing of TV based on its type, but it is not full render with properties, as on resource page.

    I see, that on this page TV loaded on render, not via Ajax request. In this case, there is no appropriate processor for my problem.

    That is my question - how can i load fully rendered TV in my popup windows via Ajax?

    Couple of days digging source code, but I cant do it.
      • 33991
      • 65 Posts
      I think than i need processor in /core/model/modx/processors/element/tv/renders/mgr/input/, but how to run it correctly?
        • 18373 ☆ A M B ☆
        • 3,141 Posts
        What do you mean loading a fully rendered TV?

        Your TV is shown on screen based on your render/template, and you should be able to just register the JS for your modal window with that, right?
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
          • 33991
          • 65 Posts
          I have the grid of TVs for resource. When i click to row - loading window for editing.
          Now i manually define xtype for edited TV. But it is wrong.

          Any custom TV (MIGX, Gallery, etc) will not work. I need to show edit window with the help of MODx TV processors. I dont know how correctly load it.

          It's hard to explain it for me on english, I'll try to draw (see my ugly attachment).

          If you have a liittle time, you may to look at my component at http://test.home.bezumkin.ru/manager/index.php?a=78 (login and pass i sent in private message)

          Thanks for reply!