I added a photo-like frame to the thumbnails and a little animation on hover, plus the red close button. I thought I share the results for noobs like me! all credit to futureweb and opticblaze, plus Stéphane Caron for prettyphoto of course!
106 Posts 13229 Views
Nachos, this one is pretty nice! Saved me quite a bit of work. :)
Great to see a SS3 Gallery Module coming together - Thank you all for your work on this!
Have just tried installing the module and am getting the following error after creating a new GalleryPage for the first time:
Fatal error: Class 'GridFieldBulkEditingTools' not found in ***\ss3Gallery\code\GalleryPage.php on line 25
Have had a search through the code and can't find this class anywhere, including the required "Bulk editing tools" and "Sortable grid field" modules where I assumed i'd find it...
Has anyone else run into this, any clues?
You'll want to download those two modules from github and add them to your site.
SortableGridField - [url]https://github.com/UndefinedOffset/SortableGridField?source=c[/url]
GridFieldBulkEditingTools - [url]https://github.com/colymba/GridFieldBulkEditingTools?source=c[/url]
Thanks for your reply IOTI,
I had already installed these two modules onto the site. However, Just in case I had an older version that may have been missing the required class, I just tried replacing these with the modules from Github in the links that you had provided. Unfortunately i'm still coming up with the same error.
Seems to be generated by the call to the Class 'GridFieldBulkEditingTools' in the following line of code in Gallery/Code/GalleryPage.php
line 25 - $gridFieldConfig->addComponent(new GridFieldBulkEditingTools());
Any other suggestions / answers...
did you do a dev/build and ?flush=all ?
Yes Definitely made sure to do that.
The API changed a while ago. So if using the master development branch of [url]https://github.com/colymba/GridFieldBulkEditingTools[/url]