First - great work on DataObjectManager and FileDataObjectManager. I was able to get the DataObjectManager no problems.
However, FileDataObjectManager is proving more tricky for me. I tried following the example in your youtube video (http://www.youtube.com/watch?v=E1msUj9CwRg&feature=related) but I got a SWFupload error. So with help from the forums I found a download here:
After dev/build?flush=1, the swf error is gone and I see the same file upload lightbox-gui as in the video. However, when I click 'upload' on a pdf file i've chosen, I get a js alert box ''An error occurred in the upload. Try again later." - Any ideas?
I can post my debug info if needed.
I have a bit of a newbish question perhaps; how do I reveal the asset on the front end?
For example I have:
<% if DownloadItems %>
<% control DownloadItems %>
<% end_control %>
<% end_if %>
Which works perfectly in displaying the Title of the items i've uploaded - however I don't know what the link would be. I have a bigger picture goal in mind of first requiring the user to provide their email address to even get these download links sent to them, but figuring out how to print the download links would be a great start :)
I didn't see it here: http://doc.silverstripe.com/doku.php?id=modules:dataobjectmanager but then again... that's me.
Apologies for waking an old thread, I've been trying to find where the $Attachment variables are set (I want the raw file type, for example) and grepping the source code for FileType hasn't returned the location.