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

    I’d like to know if there is a way to change the path where the Export Function sends the files.

    John
    • Quote from: SpeedStreet at Jul 20, 2005, 03:14 PM

      Hi.

      I’d like to know if there is a way to change the path where the Export Function sends the files.

      John

      There is not currently, without editing the php file, but since I’m working on enabling exports that respect the Friendly Alias Path option, I might be able to add this ability fairly easily at the same time. wink
        • 28150
        • 155 Posts
        Quote from: OpenGeek at Jul 20, 2005, 05:00 PM

        Quote from: SpeedStreet at Jul 20, 2005, 03:14 PM

        Hi.

        I’d like to know if there is a way to change the path where the Export Function sends the files.

        John

        There is not currently, without editing the php file, but since I’m working on enabling exports that respect the Friendly Alias Path option, I might be able to add this ability fairly easily at the same time. wink

        Awesome.

        Which PHP file should I go after in the interim? Right now, I have MODx in home/user/public_html/beta. It publishes obviously to home/user/public_html/beta/assets/export....I would LOVE to set it to export to homse/user/public_html.

        That would save me a bunch of steps.
        • manager/actions/static/export_site.static.action.php, line 80 (don’t forget to be sure your directory is world-writable)
            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