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

    I need to show the contents of a web page on a different server (slightly modified) in my pages. I know how to do this (in a hackish fashion) in PHP, however, since I’m running Modx, I figured I should use the built in (or supplied with) Javascript libraries (MooTools?, Prototype, Scriptaculous). I’ve researched the Ajax.updater function, which seems to be part of the solution. However, I’m wondering where I should put the Javascript and PHP?
    Ideally, I have a modx document showing a pulldown box. The actions related to the pulldown box should be an ajax call to a php page that retrieves and modifies the page. Can somebody point me to an example or any other hints?

    Thanks.
    sderuiter
      • 7885
      • 40 Posts
      dospuntocero Reply #2, 19 years ago
      look at moodjax (in the repository) or look at wrs.dospuntocero.cl, i’m using the included mootools version in modx to retrieve the content and a template variable (left image) using ajax...
        visit us at www.dospuntocero.cl