7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Uploadify not working
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 3058 Views |
-
Re: Uploadify not working

29 June 2011 at 8:57pm Last edited: 30 June 2011 12:36am
Same issue here. Latest version of DOM and Uploadify (from github).
Using an Uploadify-Field in a Page or DOM-Poupup (eg. by editing an existing entry) works fine, just not when using the "Add NameOfDataObject" button with the ImageDataObjectManager.
I'm sure it worked a few versions back..
Update: Upload doesn't work in the "Files & Images" tab either. So it's most likely a bug in the DOM and not in the Uploadify code. I'm not able to track it down though. Got no error in the logs.. the upload just keeps sitting at 0%
-
Re: Uploadify not working

30 June 2011 at 3:17am
I've replicated the bug. Working on it.
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Uploadify not working

30 June 2011 at 3:24am
Oh. Duh.
There was a change to DOM to initiate the upload on submission of the form, not on completion of the dialog box. You just need to click the button.
People were complaining about the usability issues of being able to upload files and closing the popup before they're actually saved. It wasn't clear that you had to click the "continue" button to actually write the files to the DOM.
I think we should make this an option in DOM and have it default to the old behavior.
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Uploadify not working

30 June 2011 at 3:27am
OK, the change is in the repo. Just use $dom->uploadOnSubmit(); to replicate the current functionality, but for now it defaults to the old behaviour so as not to confuse users like you guys.
Sorry about that! Hadn't quite thought through the effects of that change.
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Uploadify not working

30 June 2011 at 4:52am
@UncleCheese Oh man. I didn't even think about clicking on continue. I was so used to the old behavior. Nevertheless, I think reverting to the old behavior was a good choice, since it's consistent with the functionality of the uploadify-field elsewhere in the CMS.
-
Re: Uploadify not working

10 July 2011 at 4:00am
Hi,
So where we make change to work functionally I also having same problem on ImageObjectManager.
Thanks
-
Re: Uploadify not working

11 July 2011 at 6:14am
You shouldn't have to change anything. The latest version triggers the upload automatically by default. In older versions, you had to click "continue" to start the upload.
---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com -
Re: Uploadify not working

13 July 2011 at 3:21pm
how to use $ dom-> uploadOnSubmit ();? sorry if my question is too simple. I want to display the fields on the content to download, but the continue button does not appear on the field.
| 3058 Views | ||
| Go to Top | Next > |


