Closed (fixed)
Project:
Lightbox2
Version:
master
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 May 2009 at 14:48 UTC
Updated:
4 May 2009 at 17:17 UTC
Hello,
I have installed Lightbox and firebugged around the field I wish to show in a lightbox and have this
Moore Family Ecomap
I created a field in the cck (file upload) and selected the "lightbox iframe" in the Display fields, however when I click the link it takes me to the file instead of rendering it in a lightbox - what am I doing wrong?
I checked and the javascript is loading - thanks for your help!
Comments
Comment #1
stella commentedCan you provide a link to your site? My contact form is enabled if you wish to do so privately.
If you're displaying the field in a View, rather than on a node page, then you'll need to configure the cck field to use 'lightbox iframe' in the view. What sort of cck field is it? What sort of file is it? Do any errors appear in Firefox's Error Console (under Tools menu)? What version of the lightbox2 module are you using? Do you have jquery_update module enabled? If so, what version?
Comment #2
RobertPope commentedLink to the site is http://ifspquality.net
Login is testuser passsword is password
the page I am trying to implement lightbox is http://www.ifspquality.net/families/moores linking the ecomap for starters I am also trying to implement it into my FCK editor - in this test run it is a jpg (there is a link at the bottom I took from the tutorial that links to a gif)
Thanks for the assist - I am using lightbox 1.9
JQuery 1.1
Running Drupal 6.10
Errors:
Error: missing ; before statement
Source File: http://www.ifspquality.net/families/moores
Line: 148, Column: 6
Source Code:
comp1=The Moores through Conduct Assessments. The Moores through Conduct Assessments. The Moores through Conduct Assessments. The Moores through Conduct Assessments. The Moores through Conduct Assessments. The Moores through Conduct Assessments. The
This is weird - I don't know why this is thinking javascript here
Error: [Exception... "'Syntax error, unrecognized expression: )' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
Dunno here
Thanks
Robert
Comment #3
RobertPope commentedThank you Stella! Problem resolved! (learning curve - module was fine)