7911 Posts in 1354 Topics by 930 members
|Go to End|
5 October 2010 at 9:14am
I have a pressing project in which I need to get DOM to work with S3 but am lost on how to do it.
Can someone help me on what I need to change to trigger uploadify to use S3 on DOM?
6 October 2010 at 3:27am
Ok digging a bit, I can trigger the S3 upload form by changing around line 42 in FileDataObjectManager.php
public $uploadifyField = "MultipleFileUploadField";
public $uploadifyField = "S3MultipleUploadField";
But this is not all that is needed to be done. Now I need to figure out how to make sure it works. Uploading a test file seemed to go nowhere and hung on the next step so I am sure I am missing quite a bit. Any clues will help greatly!
6 October 2010 at 3:42am Last edited: 6 October 2010 3:45am
Wait, I just realized I had my S3 config info in the wrong config file. It seems to be working now.
Is it possible that changing that one line is all that was needed? If so, thats amazing!
There seems to be one issue with large files (mp3), in which its not registering its uploaded. Smaller file sizes shows them moved to the "Attached" file spot in the popup but large ones don't seem to do so.
6 October 2010 at 10:30am
Those properties are publicly visible for a reason! No need to hack the core.
$yourDOM->uploadifyField = "S3MultipleUploadField";
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
|Go to Top|