0

When I turn on the aggregate js option on my drupal commerce (kickstart 1) site, the font-your-face (dealt with by FYF module) and the slideshow on the main page stop working. The fonts seem to show up fine on the other pages.
Does anyone has any idea why it might be so? I obtain a "syntax error" in the JS console.

4
  • 1
    Please provide us with errors from your JS console. I just tried it on kasgard.pl and font your Face works flawlessly, so it's not a bug in core or this module.
    – Mołot
    Commented Nov 28, 2013 at 11:42
  • woops @Mołot thanks for this suggestion it turned out that the problem was related to the field slideshow module and libraries. I had to replace to use the 2.1.1 version of the imagesuploaded library, as per drupal.org/comment/7874537#comment-7874537
    – Dalmaz
    Commented Nov 28, 2013 at 13:27
  • 1
    Feel free to post that as a self-answer then :) also, the very error message from the JS console could help future users to Google this question, so don't be shy to edit it into a question.
    – Mołot
    Commented Nov 28, 2013 at 13:28
  • dzięki wielkie ;-)
    – Dalmaz
    Commented Nov 28, 2013 at 13:30

1 Answer 1

1

It turned out the problem is with the fields slideshow module and its use of js/jquery libraries.
I've realised that JS error happens after calling some slideshow libraries, so i googled for aggregate js / field slideshow.
As per https://drupal.org/comment/7874537#comment-7874537 , I used the 2.1.x version of the imagesloaded library and everything worked nice afterwards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.