dlr

Home \

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Upload folder location #1463
    dlr
    Participant

    Thanks Michael…

    I changed the folder location in the helper.php file from “images” to “rootfolder” and that did the trick!

    Now, that also means that I can’t use this module in any other article, except to upload files to that same “rootfolder”. It’s not a problem to create as many virtual directories as necessary and it would be great if a future version of your module had a way to allow selecting a destination rootfolder depending on:

    – the article

    – the module position (loadposition)

    in reply to: Upload folder location #1461
    dlr
    Participant

    OK… I’ve partially solved my problem!

    I created a root folder on my 2nd hard drive, the one that has plenty of space. There are 4 sub-folders within that folder.

    In IIS, I created a virtial directory, pointing to the new root folder.

    I modified the mod_easyfileuploader.xml file and replaced ‘directory=”images”‘ with ‘directory=”rootfolder”‘. I also changed the default folder entry to one of the sub-folders. I went into the module settings and the default sub-folder was there. Opening the dropdown showed the 3 other folders. So, the upload location seemd to be set!

    Now, I go to the article and upload a file, with a successful upload message. It is supposed to go into the default sub-folder within the root folder but instead, a folder is created in “images” with the name of the sub-folder and it contains the uploaded file.

    I have restarted IIS via IIS Manager and services… Any idea why it won’t take into account the root folder?

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)