Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Preview: DataObjectManager module


Reply

379 Posts   61601 Views

Avatar
Bo_Einzeller

24 February 2009 at 11:22pm Community Member, 18 Posts

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

Avatar
Ben Gribaudo

25 February 2009 at 9:53am Community Member, 181 Posts

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

Avatar
UncleCheese

25 February 2009 at 10:10am 4085 Posts

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.

Avatar
Ben Gribaudo

25 February 2009 at 10:26am Community Member, 181 Posts

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

Avatar
UncleCheese

25 February 2009 at 12:03pm 4085 Posts

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

Avatar
dynamite

25 February 2009 at 2:29pm Community Member, 66 Posts

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.

Avatar
Bo_Einzeller

25 February 2009 at 8:31pm Community Member, 18 Posts

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

Avatar
UncleCheese

26 February 2009 at 3:00am 4085 Posts

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