Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Go to End
Author Topic: 61149 Views
  • Bo_Einzeller
    Avatar
    Community Member
    18 Posts

    Re: Preview: DataObjectManager module Link to this post

    I've teste your new files and if both managers are in list-view it works without a problem. I you use two FileDataObjectManager and the first is in grid-view, the second manager still can't be sorted.
    There's an HTML error (the Comment should be '<!-- LIST VIEW -->', not '<! -- LIST VIEW -->'), but that's not the cause for it.
    It's realy strange, when you switch the view of the first manager with sorting enabled of the second manager, sorting works without turning it off and on again...

  • 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.

    61149 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.