7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Uploadify problem
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: | 513 Views |
-
Uploadify problem

20 November 2011 at 4:49am Last edited: 21 November 2011 3:16am
When I try to add a FileUploadField to my backend. But it seems to has some problems. I tried it in FF8.0 and Chrome
class Home extends Page {
static $icon = "themes/luckychocolate/images/treeicons/home";
static $db = array();
static $has_one = array(
'TestFile' => 'File'
);
function getCMSFields(){
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.File', new FileUploadField('TestFile', 'Upload a file'));
return $fields;
}
}That's how the field looks like:
Chrome:
If I click on the tabs, nothing seems to happen. After choosing a file, the filename will be displayed next to the Browse-button and nothing happends. In the "File & Images" section the form looks the same.
-
Re: Uploadify problem

21 November 2011 at 5:55am
Looks like you have a Javascript error somewhere. Check the console.
---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com -
Re: Uploadify problem

19 January 2012 at 2:39pm
Hi Xazen,
Did you figure this out? We are having a similar problem. We installed DataObjectManager and Uploadify and ever since then, when we try to upload files (even from the standard Files & Images tab in the admin mode, we can select a file exactly like you but then nothing happens and no files get uploaded.
Thanks
Andrew
-
Re: Uploadify problem

24 April 2012 at 6:15pm
I'm having this same problem with the Files & Images tab. I've checked the console, but I'm not seeing any errors. Does anybody have suggestions on where else to check?
-
Re: Uploadify problem

23 May 2012 at 9:39am
Hallo guys,
I found the same issue. The solution was very easy. Change the folder's name from Uploadify to uploadify.
http://www.silverstripe.org/dataobjectmanager-module-forum/show/16793Cheers
| 513 Views | ||
|
Page:
1
|
Go to Top |


