Jump to:

7939 Posts in 1472 Topics by 944 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: 564 Views
  • Liam
    Avatar
    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
    Avatar
    4085 Posts

    Re: Default Gallery UI Link to this post

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

    Something like that ought to do it.

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