17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 887 Views |
-
If you run into problems using Lightbox2 with SS, look here...

17 December 2007 at 7:50pm Last edited: 17 December 2007 7:51pm
I tried to use Lightbox2:
http://www.huddletogether.com/projects/lightbox2/
with SS generated pages and ran into problems. The thing just wouldn't work. HTML, linked script and css files all seemed correct. The strange thing was, if I placed a file with exactly the same HTML code outside the cms system (copied from the source view of a SS generated page), it would work! On a Mac, the generated page would give javascript errors both in Safari and Firefox; but with IE6 on XP there would be no problem, both the static and generated page worked! (Normally it is the other way around ;)
A very strange situation indeed.
With the help of one of the forum members, DesignCity (thanks again), the solution was found: just place ContentNegotiator::disable() in the config file. It seems that the ContentNegotiator tries to do strange things with Safari...
Perhaps other people ran into this as well, so this might help you a little bit more in the right direction. If you have any questions, let me know.
Thanks,
- Ray.(Edited for spelling)
-
Re: If you run into problems using Lightbox2 with SS, look here...

20 December 2007 at 3:16am Last edited: 20 December 2007 3:16am
And there's more, check out this thread :
http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/7080
| 887 Views | ||
|
Page:
1
|
Go to Top |


