7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » DOM - upload folder
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 267 Views |
-
DOM - upload folder

29 September 2011 at 8:47pm
hello,
I'm using a regular DOM and I wanna change the upload folder, how would I do it?
I've seen that for FDOM it's easy... if $manager is FDOM manager then you just say $manafer->setUploadFolder("something"); but that method doesn't work for DOM, so what does?Thank you!
-
Re: DOM - upload folder

30 September 2011 at 4:56am
I'm confused. DOM doesn't have an uploader, so why would you want to set the upload folder?
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: DOM - upload folder

30 September 2011 at 7:59pm
I have a DataObject that has 4 file upload fields/whatever. I am using DOM to handle the object, and it works (you said in another subject that using FDOM with multiple single file uploads is tricky or whatever, that I should use regular DOM). Now it all works, except that it chose /assets/uploads as default folder to upload files to, and I want it to be /assets/challenges.
Can you tell me how or can't it be done?
| 267 Views | ||
|
Page:
1
|
Go to Top |

