No unfortunately there is no way to disable the page files folder, but you can make any folder the default one by moving the VirtualPathProvider to the top of the list of providers in web.config.
Hi Greger.
Thanks for yor reply. When I insert a picture form the Filemanager, I will always be prompted if want to make a folder for this Page if it has not been made already. Is there a way to disable this feature? I just want the Filemanager to open the default VirtualPathProvider.
BR,
Tore
There is no way that I know. I've filed this as a bug as it would be logical for the dialog to work the same way as the "real" filemanager.
Bug #11530: The Select Image dialog always defaults to the page files folder
I hoped it would be solved in SP3, but now it seems like EPiServer removed the bug from the buglist. Don`t know why they did that.
If you are tired of getting the message "A folder for this page has not been created, do you wish to create one now?", you can do a little change to the file createpagedirectory.ascx located under /uifolder/hosting/. You can disable the save button and alter the cancel button to look like a continue button. And alter the pagefoldernotcreated text to display "Please press ok to contine".
BR,
Tore
Hi.
Is it possible to disable PageFiles?
If it is not possible, can I set the Global Files folder to be the default folder in the FileManager?
BR,
Tore