7939 Posts in 1472 Topics by 944 members
|Go to End||Next >|
13 July 2009 at 8:34pm Last edited: 13 July 2009 8:35pm
I used to be able to move all my assets around (drag and drop them to different folders) and SilverStripe would handle changing all the links. Now the 'Files & Assets' tab area has been replaced with DOM, and the 'drag' bit only appears on the unused files tab (and it doesn't even work there - that tab appears to be thoroughly stuffed).
What gives? I didn't want DOM to be used for Files & Images tab anyway - I just wanted to use it in ModelAdmin.
14 July 2009 at 1:02am
Edit your dataobject_manager _config.php:
14 July 2009 at 2:27am
Apologies for the stupid question - I should have guessed it'd be in the config. Thanks for the quick response.
15 July 2009 at 10:55am
That works. Stupid question from me this time: why would you want to not be able to move assets?
15 July 2009 at 12:20pm
I wasn't aware that the feature existed until someone mentioned it. I like to think that shortcoming is cancelled out by the bulk uploading feature and the interface that doesn't look like a relic of Windows 98.
But it's a work in progress, and that's why I've made it a toggleable feature.
15 July 2009 at 3:10pm
It sounds like a kind of 'would you prefer steering or brakes?' kind of choice...
Not sure if I get it though: the bulk file upload still seems to work. A 'checkbox' delete for the image gallery objects (the image plus the caption) would be handy - I've got 52 images in one album, and having to delete them one at a time is a bore.
16 July 2009 at 1:54am
Well, steering and brakes is a little extreme. I use both of those every day. But of the 24 active Silverstripe sites I have, none of them have ever used the move files feature, and again, it's the first I've heard of it. On the other hand, there is no shortage of clients who continually ring my phone about the archaic 200-click process of setting up an upload queue in AssetAdmin. So it's more of a "squeaky wheel getting the grease" type of situation -- to continue with the automotive metaphors.
I do intend to keep upgrading it, however, and I hope I'm able to accommodate the move files feature. In the meantime, users who miss that feature can turn off the override. For now, I'm happy to have given clients a more competitive uploading interface that saves them a lot of time.
I like the idea for multiple deletes. The problem with adding that feature to DOM so far has been the conflict of checkboxes in RelationDataObjectManager. What does clicking a checkbox do? Assign a relation or queue it for delete? Or do you have two checkboxes? Confusing!
But in the AssetManager, there is no question of relation, so I could pretty easily add that in.
16 July 2009 at 9:23am
Actually, thinking about this more, I think that I'm asking for the wrong thing here: what I really need is the ability to move 'pictures' from album to album rather than the 'image' objects.
For the benefit of anyone else trying to get to grips with this here's a quick rundown of how the Image Gallery structure seems to work. (feel free to correct me if I'm wrong)
Gallery (the parent pagetype ) title, html field - contains Albums
Album > title - contains Pictures
Picture > caption (plain text) - contains 1 Image
Image > title - contains 1 binary image file
Now, what seems to be missing from my POV is the ability to organise Pictures within Albums.
Of course, if you had a 'move Picture' function you could have a 'Trash' Album, which could take care of deleting, at least at that level.
|Go to Top||Next >|