Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Uploadify didn`t accept selected uploadfolder

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 597 Views
  • benni91
    Community Member
    72 Posts

    Uploadify didn`t accept selected uploadfolder Link to this post

    at first: sry for posting it twice. but i realy need an answer for this

    Hi @ all,

    uploadify didn't accept the selected upload folder. after searching the forum i found this.

    Index: www/uploadify/code/UploadifyField.php
    --- www/uploadify/code/UploadifyField.php (revision 13)
    +++ www/uploadify/code/UploadifyField.php (working copy)
    @@ -485,7 +485,7 @@
    public function CurrentUploadFolder() {
    if($this->uploadFolder) {
    - $folder = Folder::findOrMake($this->uploadFolder);
    + return Folder::findOrMake($this->uploadFolder);
    if($result = $this->Files()) {
    if($result instanceof File) {


    but i'm new to SS and PHP. Cause of that i don't know what to do. and i don't understand that code snippet.

    can someone help me to fix uploadify?


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.