Jump to:

7938 Posts in 1540 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Default Gallery UI

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 600 Views
  • Liam
    Community Member
    470 Posts

    Default Gallery UI Link to this post

    Is there a way to set Shadowbox as the default JS script when albums are created?

  • UncleCheese
    4085 Posts

    Re: Default Gallery UI Link to this post

    Object::addStaticVars('ImageGalleryPage','defaults', array('GalleryUI' => 'Shadowbox'));

    Something like that ought to do it.

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.