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.


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

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

Gallery Module Dropdown Bug


3 Posts   2475 Views


2 August 2007 at 1:35pm 12 Posts

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

3 August 2007 at 11:19am Core Development Team, 40 Posts


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

The Frenchy

22 August 2007 at 10:56am Core Development Team, 40 Posts

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