7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » I can't move my assets now?
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: | 3047 Views |
-
Re: I can't move my assets now?

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.
-
Re: I can't move my assets now?

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!
-
Re: I can't move my assets now?

22 July 2009 at 1:08am
Check your ImageGalleryItem table and make sure they're all getting a ImageGalleryPageID.
-
Re: I can't move my assets now?

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.
-
Re: I can't move my assets now?

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.
-
Re: I can't move my assets now?

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?
| 3047 Views | ||
| Go to Top |

