10929 Posts in 2613 Topics by 1809 members
|Go to End|
13 May 2010 at 2:22am
when I turn on site search by putting FulltextSearchable::enable(); in _config.php, the flickr gallery lightwindow preview stops working. On click on a thumb, nothing happens, js error msg is lightwindow-navigation is null. There seem to be conflicting js-libs. Anyone knows which libs to block? Tried willr's hints from another post, but that was a workaround for the gallery module, didn't help in this case.
17 February 2011 at 2:15am
You need to block the standard prototype.js, prototype_improvements.js and behaviour.js files in order to make both elements work together. Between the
Copy and paste the below section to block the files. I have included comments to briefly explain what and why etc.
You might need to check the locations for your version of SilverStripe etc.
// Block the following conflicting JS files to enable Full Text Search AND Lightbox.
// These two files are responsible for stopping the Lightbox from working.
// This file MUST be blocked to ensure the Full Text Search continues to work.
Hope this helps if you haven't fixed it before now! ;o)
|Go to Top|