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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Gallery Module Dropdown Bug

Go to End

3 Posts   2785 Views


12 Posts

2 August 2007 at 1:35pm

I installed the Gallery Module and have been playing around with it.

Steps to reproduce bug (assuming you have the Gallery Module installed):
1. I add a new GalleryPage
2. Rename the page to anything other than "New GalleryPage"
3. Hit the "Files" tab
4. You'll notice the drop-down has not been updated.

What should have happened when you hit the "Files" tab:
Whatever you renamed your page to is the folder that should be selected in the drop-down. (The Gallery Module automatically creates a folder under "galleries" with the name you gave the page.)

To get the updated list, simply click on the same page in the SiteTree to the left. It refreshes the page with the updated list.

(To note, if you add another GalleryPage and go with the same process again, you'll notice that the drop-down doesn't even show the folder that was created during the first time around.)

I'm fairly new to SilverStripe, so I wasn't exactly sure how to go about forcing a "flush" on the dropdown contents and at what point I do that within the code.

Any help or advice?

The Frenchy

Core Development Team, 40 Posts

3 August 2007 at 11:19am


I'm working on the next version of the gallery module, so I will check this problem. Thanks for having notified it !

The Frenchy

Core Development Team, 40 Posts

22 August 2007 at 10:56am

I have solved the bug for the next version of the gallery module that I'm working on.