1 (edited by kkingdon 2013-10-15 17:38:11)

Topic: Drupal 7 Error: Uncaught SyntaxError: Unexpected string

Hi,

I'm getting the two following errors when trying to use Juicebox as the field formatter for an image field in Drupal 7:

http://i.imgur.com/vnwjcuw.png

I've tried updating jquery using the jquery_update module, but this breaks other elements on my site and doesn't change the error message I'm receiving in any way. This is what the head of my page looks like with jquery and juicebox being loaded:

http://i.imgur.com/DPccN2n.png

One strange thing is I've used the Juicebox formatter from within a view and it's worked fine. I'm relatively new to this sort of thing so any advice or suggestions would be greatly appreciated.

Re: Drupal 7 Error: Uncaught SyntaxError: Unexpected string

We did not write the Juicebox module for Drupal ourselves and, unfortunately, I am unfamiliar with its code.
Please post your query in the Drupal forums where the author of the module should be able to help you out.