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.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Working Gallery Plugin for SS 3


Go to End
Reply


106 Posts   13229 Views

Avatar
Nachos

Community Member, 18 Posts

11 May 2013 at 8:24am

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!

Attached Files
Avatar
Xazen

Community Member, 18 Posts

24 June 2013 at 2:12am

Nachos, this one is pretty nice! Saved me quite a bit of work. :)

Avatar
SnowBoarder82

Community Member, 55 Posts

3 July 2013 at 2:38pm

Edited: 03/07/2013 3:09pm

Hey All,

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?

Thank you,

Avatar
copernican

Community Member, 189 Posts

4 July 2013 at 12:25am

Hey SnowBoarder82,

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]

Avatar
SnowBoarder82

Community Member, 55 Posts

4 July 2013 at 1:25am

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...

Avatar
copernican

Community Member, 189 Posts

4 July 2013 at 1:38am

did you do a dev/build and ?flush=all ?

Avatar
SnowBoarder82

Community Member, 55 Posts

4 July 2013 at 1:49am

Yes Definitely made sure to do that.

Avatar
colymba

Community Member, 25 Posts

4 July 2013 at 7:17pm

The API changed a while ago. So if using the master development branch of [url]https://github.com/colymba/GridFieldBulkEditingTools[/url]

$gridFieldConfig->addComponent(new GridFieldBulkEditingTools());

can just be removed. For the most basic use, this should do and work as expected. Do check out the Readme [url]https://github.com/colymba/GridFieldBulkEditingTools/blob/master/README.md[/url] for other config changes. Note that the API on the master branch is likely to change a lot...

Go to Top