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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Replace JS in ImageGallery

Go to End

2 Posts   837 Views


Community Member, 58 Posts

5 May 2010 at 11:46am

I'm using FancyBox of the ImageGallery module and want to replace jQuery with the packed version as its much smaller and already used throughout the page.

What would be the best way to do this (without modifying the FancyBox class itself)?
If I'm correct Object::useCustomClass cannot be used for this, or can it?
Any hints?


Community Member, 58 Posts

12 May 2010 at 10:16am