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

I can't move my assets now?


Go to End
Reply


24 Posts   3890 Views

Avatar
pbolger

Community Member, 22 Posts

21 July 2009 at 11:22am

Here's a screenshot:

http://tigtech.net/image_edit.jpg

Avatar
UncleCheese

Forum Moderator, 4096 Posts

21 July 2009 at 1:51pm

Hmm... Have you made any customizations to the module? Are you using subclasses? The album dropdown is wrapped in the condition if($this->ImageGalleryPageID), so something is wrong with your ImageGalleryItem class not storing proper foreign keys.

Avatar
pbolger

Community Member, 22 Posts

21 July 2009 at 3:18pm

No, no customisations. I had overrides in mysite for the two layout templates, but have moved them so they no longer affect the site. I'm using 2.3.2 and yesterday's SVN version.

I notice that my popup has the label 'image' down below the caption dialogue, while yours - on http://doc.silverstripe.com/doku.php?id=modules:image_gallery - has the label 'Album'. I presume this is where the dropdown should appear.

Naturally, I tried dragging and dropping images onto different Albums, but that didn't work. It's a slippery slope that Drag'n'drop: once you add it to one thing users expect it everywhere!

Avatar
UncleCheese

Forum Moderator, 4096 Posts

22 July 2009 at 1:08am

Check your ImageGalleryItem table and make sure they're all getting a ImageGalleryPageID.

Avatar
pbolger

Community Member, 22 Posts

22 July 2009 at 8:16am

They all have the ID 24.

Avatar
pbolger

Community Member, 22 Posts

2 August 2009 at 9:13pm

Fixed!

I just upgraded the dataobjectmanager to the SVN version and it's working as it should.

Now I'm going to try and get Supersized http://buildinternet.com/project/supersized/ to work with image gallery. Galleria http://devkick.com/lab/galleria/ would be nice too.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

3 August 2009 at 11:50am

Glad it's working. If you get a new UI working with ImageGallery, be sure to post your code so I can update the module to include it. Someone has already posted a way to get it to work with Galleria, so I'll be adding that in soon. Just be sure to undo any changes and update your SVN when I do add the change so you can continue to get updates without conflicts.

Avatar
pbolger

Community Member, 22 Posts

3 August 2009 at 12:33pm

Galleria would be nice. I've had it kind of running on a static page, but it's a bit finicky - and the support forums were obliterated by spammers so not much help there. It is one of the nicest of the Jquery gallery displays that I've found so far.

Regarding writing a new UI: Can it be achieved as an override, or do you need to edit the PHP files?

Go to Top