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.

Archive /

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

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

First SilverStripe Site!!! - Need gallery help


Reply


2 Posts   1610 Views

Avatar
bradenpd

Community Member, 1 Post

1 October 2008 at 9:39pm

Hi there guys,

I have just installed SilverStripe as a test on www.silver.dolbygroup.co.nz, and im having a bit of trouble with the gallery. It doesnt have the lightbox thing?

How can I get that going?

Cheers!!

Avatar
Willr

Forum Moderator, 5513 Posts

2 October 2008 at 1:05pm

Ok that site is down for me so I can't verify it but its probably a javascript conflict (the gallery uses a slightly different version then the rest of the bundled system - and they dont play nice)

You might have to do this in gallery/code/GalleryPage.php -> function init() {

Requirements::block("jsparty/scriptaculous.js");
Requirements::block("jsparty/prototype.js");
Requirements::block("jsparty/prototype_improvements.js");
Requirements::block("jsparty/loader.js");
Requirements::block("jsparty/behaviour.js");

to get the lightbox working. This might however break other things (eg if you have a form or want ajax page comments)