7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Can someone help me get DOM to work with S3?
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: | 585 Views |
-
Can someone help me get DOM to work with S3?

5 October 2010 at 9:14am
Hi all,
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?
John -
Re: Can someone help me get DOM to work with S3?

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";
to
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!
-
Re: Can someone help me get DOM to work with S3?

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.
-
Re: Can someone help me get DOM to work with S3?

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
| 585 Views | ||
|
Page:
1
|
Go to Top |

