codem / DisplayAnything3

File and image gallery module for SilverStripe3.0
BSD 3-Clause "New" or "Revised" License
12 stars 8 forks source link

Can't wait till its compatible with SS3 stable release #1

Open bbowden opened 12 years ago

bbowden commented 12 years ago

Currently creating a new gallery page generates an 'internal server error' when attempting to save. This is using the example files and a clean install with the Simple theme.

2 changes to get it working - 1 is a hack, the other is 'sensible'.

"File"."Sort" was coming up as unknown column. - Line 43 of DisplayAnythingGallery.php is the initial trigger

It looks like this column was removed in SS3. Crude solution - manually add it to the database. Don't know if that will work but I'm just trying to get this working till a proper fix is available.

Line 21 of ImageGalleryPage.ss <% include Clearer %> changed to:

This needs to be done for videogallerypage.ss as well. The other option is to add the include file to the examples but that seems unnecessary complexity.

cheers bruce

MrJamesEllis commented 12 years ago

Bruce, try the latest release @ https://github.com/codem/DisplayAnything3 and let me know what you think, I value the feedback.

I have a Files.Sort column in some SS3 installs but not in others which might be a relic of early adoption. I've reimplemented the field in the actual module.

Note the upgrade notes as the gallery field creation method has changed.

Thanks James

bbowden commented 12 years ago

Thanks James, I'll give it a try

Cheers Bruce

Sent from my iPhone

On 07/11/2012, at 11:41 AM, James Ellis notifications@github.com wrote:

Bruce, try the latest release @ https://github.com/codem/DisplayAnything3 and let me know what you think, I value the feedback.

I have a Files.Sort column in some SS3 installs but not in others which might be a relic of early adoption. I've reimplemented the field in the actual module.

Note the upgrade notes as the gallery field creation method has changed.

Thanks James

— Reply to this email directly or view it on GitHub.