Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Gallery Module Dropdown Bug

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

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

Page: 1
Go to End
Author Topic: 2464 Views
  • Hani
    Avatar
    12 Posts

    Gallery Module Dropdown Bug Link to this post

    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
    Avatar
    Core Development Team
    40 Posts

    Re: Gallery Module Dropdown Bug Link to this post

    Hi,

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

  • The Frenchy
    Avatar
    Core Development Team
    40 Posts

    Re: Gallery Module Dropdown Bug Link to this post

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

    2464 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.