Closed (fixed)
Project:
Gallery Assist Lightboxes
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2009 at 08:43 UTC
Updated:
19 Oct 2009 at 18:06 UTC
Hi,
I've installed Gallery Assist, and the Gallery Assist Lightboxes modules.
I have also installed prettyPhoto to "modules/gallery_assist_lightboxes/lightboxes/prettyPhoto" and enabled it in the extra's part of Gallery Assist.
Now do I need to add any code to the section of my page.tpl?
...and also once I've added photo's to a gallery will these automatically open within a lightbox? Or do I have to somehow put some code in the href to open in a lightbox?
Any help would be greatly appreciated
Thanks
Comments
Comment #1
jcmc commentedHello Arran,
Unfortunately the prettyPhoto need the jquery version 1.3.x (stable is 1.3.1).
Drupal work now with the 1.2.6 and the jquery_update load the 1.2.6 to.
If the using of the prettyPhoto is a "must" I recommend:
1- download the jquery-1.3.1 from www.jquery.com.
2- rename the your-drupal-path/misc/jquery.js to jquery-1.2.6.js
3- rename the downloaded 1.3.1 to jquery.js and move to the your-drupal-path/misc folder
if the module jquery_update is in use:
1- download the jquery-1.3.1 from www.jquery.com.
2- rename the your-contributed-modules/jquery_update/replace/jquery.js to jquery-1.2.6.js
3- rename the downloaded 1.3.1 to jquery.js and move to the your-contributed-modules/jquery_update/replace folder
If any kind of errors appear in your site, do you know where they come from.
In this case you would have to undo the changes, select a different lightbox and wait that Drupal use the jquery-1.3.1.
I took the prettyPhoto on the supported versions, because for me this is the best lightbox.
I hope, my explanation help you to take a desision.
Regards
Juan
Comment #2
danreb commentedHi,
I am watching this module also because of prettyPhoto lightbox clone, just what you said prettyPhoto is not yet compatible with drupal because of jquery version 1.2.6 but I am able to used prettyPhoto lightbox in my Drupal site without downloading the latest version of jQuery and it works fine.
you can see it here - http://oyconcepts.com/danreb/prettyphoto-lightbox-drupal.htm
I just created a simple custom wrapper module for prettyPhoto and manually putting this: rel="prettyPhoto" into the links and it work fine, so maybe it is also supported by 1.2.6 of jQuery.
I will try this gallery ( I did'nt tried yet ). I think this module was so cool.
Thanks
Comment #3
Arran commentedHi thanks for your response...
I shall wait until Drupal starts to use the updated jQuery... For now I have managed to get Lightbox2 to work...
But yeah I liked the look of prettyPhoto also...
Comment #4
jcmc commentedComment #5
jcmc commented