Jump to:

7911 Posts in 1354 Topics by 930 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module

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
Author Topic: 54219 Views
  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    Re: Preview: DataObjectManager module Link to this post

    This is looking exciting, UncleCheese.

    Is there a convenient way to override the server-side file name/folder of an uploaded file?

    Basically, I'm hoping to place all uploads from a given page in a folder whose name is equal to the ID of the given page. So, if I upload "doc.pdf" from page ID 32, I would like the file's path to be "32/doc.pdf".

    Does that sound doable?

    Thank you,
    Ben

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    It does.. I assume you're talking about the FileDataObjectManager? It was on the list for the first release, but i decided most people wouldn't want such a feature so i wishlisted it for the next one. I'll add it in soon.

  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    Re: Preview: DataObjectManager module Link to this post

    Wow! Thanks for the fast response! Any idea how soon? Would it be of interest to you if we came up with a patch that implemented this for you to consider?

    Ben

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Shouldn't be that hard. I know exactly what I need to do. I'll add it into the SVN checkout this weekend sometime.

  • dynamite
    Avatar
    Community Member
    66 Posts

    Re: Preview: DataObjectManager module Link to this post

    This is really cool so far! I hope to test it out soon.

    Is my understanding correct that this will be replacing your Bulk Uploader module?

    Thanks agian.

  • Bo_Einzeller
    Avatar
    Community Member
    18 Posts

    Re: Preview: DataObjectManager module Link to this post

    UncleCheese, do you have the same issue with sorting the data (list and grid view mixed)? Cheers

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    @dynamite - Yes, for the few who were using the BulkUploader in its barely-stable state, consider this a replacement. Should be as simple as changing the code "BulkUploaderField" to "FileDataObjectManager".

    @Bo -- Haven't tested it yet. I'll try to get a test scenario built today.

  • dynamite
    Avatar
    Community Member
    66 Posts

    Re: Preview: DataObjectManager module Link to this post

    Cool. Would it be safe to assume that DataObjectManager is already more stable than BulkUploader? I have a project that needs to be wrapped up in the next couple of weeks, and I do have BulkUploader 75% working for it, but will switch if this new module is what you'll be focusing on. Thanks again!

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