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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Working Gallery Plugin for SS 3


Go to End


106 Posts   30343 Views

Avatar
SnowBoarder82

Community Member, 57 Posts

4 July 2013 at 7:39pm

Great thanks for the update thi3r!!

Just to clarify for anyone else coming up with the same issue - the latest branch of GridFieldBulkEditing tools has had the file GridFieldBulkEditingTools.php removed and therefore the class GridFieldBulkEditingTools (which is referenced in the Gallery module in GalleryPage.php) no longer exists. Simply uncommenting the line in GalleryPage.php seems to have fixed the issue.

Avatar
mhdesign

Community Member, 216 Posts

12 July 2013 at 4:41pm

Hi OpticBlaze -- great to finally find a gallery module that's compatible with SS 3.0!!

After numerous 'fatal error' 'white screens of death' I was able to install ss3Gallery without breaking anything in my SS3 local environment. The page type appears in the dropdown list and all looks good. It's just that when I go to save the page I get an 'Internal Server Error'.

Any idea what might be going on?

Avatar
mhdesign

Community Member, 216 Posts

13 July 2013 at 2:16pm

Edited: 13/07/2013 2:16pm

WTF is going on? Everytime I install ss3Gallery it makes SS3 crap out. Back to 'white screen of death' territory. Not just on the site I've developing but on a clean install, clean DB, standard 'Simple' theme... are there any image gallery extensions that work with SS3 at all? Or do I have to fall back to an version of SS2 that has compatible modules?

It's really amazing that after almost a year this hasn't been sorted!!

Avatar
mhdesign

Community Member, 216 Posts

13 July 2013 at 2:33pm

OK, still running GridFieldBulkEditingTools and SortableGridField no probs. Things turn to crap as soon as I add ss3Gallery - apologies for my rant a moment ago but I'm getting kind of desperate - this is taking much too long and I'm going around and around in circles. Can somebody - ANYBODY - shed a bit of light here before I revert to SS2.X... PLEASE!

Avatar
Optic Blaze

Community Member, 190 Posts

13 July 2013 at 7:57pm

Edited: 13/07/2013 7:58pm

Hi arthurdent,

I have packaged the version of Gridfieldbulkediting tools, SortableGridlfield as well as the latest version of SS3 Gallery that i have been using. There has been a couple of updates on the Gridfieldbulkeditingtools and SortableGridfield that i suspect is playing havoc with SS3 gallery. So have a look and see if this works.

To see what the errors are (when you get the white screen of death) have you tried the following:

# show php errors in htaccess
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on

Attached Files
Avatar
mhdesign

Community Member, 216 Posts

14 July 2013 at 2:53pm

That's sweet OpticBlaze!! No errors, we're all good to go with your updated code. Thanks for supplying - I owe you one!!

Avatar
mhdesign

Community Member, 216 Posts

14 July 2013 at 3:09pm

Seems I was a bit premature... ss3Gallery is loaded and can be seen in CMS - I can upload images fine, however all I'm getting on my page is an empty bulleted list - no link to image thumbnails. Did I miss something?

Avatar
Optic Blaze

Community Member, 190 Posts

15 July 2013 at 8:38am

Hi there, this sounds like a template issue:

- Check if you did a dev build
- Make sure you dont have any other GalleryPage.ss files in your template>layout folder. Your previous installation could be interfering
- Also check that you copy the prettyPhotoCustom.css file to you template>css directory so that you can write your own custom css. You should not seeing bullets
- Dont forget to inlcude the prettyPhotoCustom.css file into your Page.ss file like so <% require themedCSS(prettyPhotoCustom) %> else it also wont work
- I have included my prettyPhotoCustom.css file...check if it helps

Attached Files