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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Default Gallery UI


Go to End


2 Posts   906 Views

Avatar
Liam

Community Member, 470 Posts

22 July 2010 at 7:40am

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

Avatar
UncleCheese

Forum Moderator, 4102 Posts

22 July 2010 at 7:46am

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

Something like that ought to do it.