modulecontent-management-systemimage-gallerysilverstripe

Silverstripe image gallery issues


I am trying to install the image_gallery module for Silverstripe 3.0.3. I have already installed the dataobjectmanager and ran dev/build. All seems to be ok until i try to create a gallery page. I can see the option for image gallery page, but when i select it, I get a small popup saying internal server error.

After checking the console, i get the following information:

header info

I am working locally but cannot seem to get it to work correctly.

Any idea how I can fix this?


Solution

  • Real Thing to understand here is, In SilverStripe 3, ComplexTableField has been replaced with GridField and DataObjectManager was based on ComplexTableField(http://www.silverstripe.org/silverstripe-3-s-new-orm/). So that's why it is not working anymore.

    In summary, For simple Image gallery example, you have to

    1. Create a page type
    2. DataObject to holds image
    3. create page in admin panel of type which you have created in point 1

    Using the Silverstripe 3 GridField is the nice tutorial link for Image Gallery to get you started.

    and GridFieldBulkEditingTools

    Hope It will help.