Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Problem uploading to folders with DOM & Uploadify

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: 676 Views
  • Ranie
    Avatar
    4 Posts

    Problem uploading to folders with DOM & Uploadify Link to this post

    I'm having a "small" problem. I'm making a tour list and using TourHolder/TourPage and that works fine. But I'm also using DataObject to allow tours to have many images. I've managed to get it to work BUT... The problem starts when I'm uploading with the uploadify thingy.

    It doesn't matter if I choose a folder in the dropdown It always goes to the "Upload" folder and not the folder I chose in the dropdown. Even when using "Import existing" it copies everything to the "Uploads" directory (given that I uploaded the images to another folder through SS file manager beforehand)...

    What could be wrong? Everything else seems to work. The relations and everything but this is the only problem I'm having.... so far... I really don't want the customer to have a HUGE "Upload" folder. That kind of defeats the purpose of having folders in

    Thanks in advance.... Hope this is just something stupid I'm doing wrong... Really tierd...

    - Ranie

  • Ranie
    Avatar
    4 Posts

    Re: Problem uploading to folders with DOM & Uploadify Link to this post

    If I use $manager->setUploadFolder("Tours") it works. As in It creates that folder (/assets/Tours) and uploads to it. But If I choose another folder in the upload popup It always uploads to the Tours directory (not /assets/Tours/tour1) etc....

  • pepelucai2
    Avatar
    Community Member
    1 Post

    Re: Problem uploading to folders with DOM & Uploadify Link to this post

    I have the same problem (exactly)

    676 Views
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.