7935 Posts in 1536 Topics by 943 members
|Go to End|
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.
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!
22 July 2009 at 1:08am
Check your ImageGalleryItem table and make sure they're all getting a ImageGalleryPageID.
22 July 2009 at 8:16am
They all have the ID 24.
2 August 2009 at 9:13pm
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.
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|