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

    This might seem a silly request, but I was wondering if someone could point me in the direction of the file that writes a new resource to the modx-site_content database table? I’d like to see how it works!

    I’m working in modx evo.

    Thanks

    Hollie
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      manager/actions/mutate_content.dynamic.php displays the editing form, manager/processors/save_content.processor.php does the saving.

      All of the form pages are taken from manager/actions, and the form processing is done by manager/processors.

      Except for TVs; you’ll find the code for those in manager/includes/tmplvars... there are three of these.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org