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.

Archive /

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

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

First SilverStripe Site!!! - Need gallery help


Go to End


2 Posts   2083 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, 5523 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)