Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » flickr module and site search incompatible

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 936 Views
  • vr
    Community Member
    9 Posts

    flickr module and site search incompatible Link to this post


    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.

    cheers, vr

  • CloudInfinity
    Community Member
    6 Posts

    Re: flickr module and site search incompatible Link to this post

    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

    Requirements::javascript( "flickrservice/js/prototype.js" );
    Requirements::javascript( "flickrservice/js/scriptaculous.js" );
    Requirements::javascript( "flickrservice/js/lightbox.js" );



    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)

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.