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

    Hopefully someone can point me in the right direction with this problem.

    I’m looking to be able to edit a TV on a particular page using Ajax and some PHP.

    So say i wanted to edit the menuindex, or even a custom TV on a page, how would i do that via the MODx API? I’ve looked about but haven’t had much luck.

    Also is it possible to edit it from outside of MODx? Say in an external PHP file that i call via the JavaScript.

    Hope that makes sense,
    Thanks in advance.
      • 4172
      • 5,888 Posts
      create a snippet, for TV-editing. You can use cakemodx: http://modxcms.com/forums/index.php/topic,35663.0.html
      create a (private) resource which calls that snippet
      in your ajax-request call this resource-url
      thats it.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!