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.

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   3024 Views

Avatar
Hani

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?

Avatar
The Frenchy

Core Development Team, 40 Posts

3 August 2007 at 11:19am

Hi,

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

Avatar
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.