Hello fellows. I am stucked with the configuration of the module. I believe I have tryed everything, but still with no effect. I will post exactly what I am doing with the kind request to tell me where I mess the things up:
1. Download and install CCK, FileFiled, ImageField, Views, Views SlideShow, Views SlideShow: Galleria.
2. Extracting the jQuery plugin in sites/all/libraries/ - the path in the /admin/build/views/views_slideshow_galleria is sites/default/modules/libraries/aino-galleria-0e5753c
3. Making dedicated content type and adding a field with 'Type of data to store' - File and 'Form element to edit the data' - Image and 'Number of values: ' - Unlimited.
4. Creating a node with the new content type and inserting some images
5. Creating new view using nodes. On default display I am adding the new field, holding the images, from the new content type with no label and 'Image' as widget.
6. Setting the style to 'Slideshow' with Slideshow mode: Galleria. All other settings are the default ones.
7. Adding Page display and adding a path and saving the whole view.
The result is a single image on the live preview and blank screen on the path where the whole view is located. I think I have followed all the instructions, but please tell me what I should do to make this wonderfull module operational.
Martin
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Screen shot of the result at step 13 | 176.28 KB | mparker17 |
Comments
Comment #1
fellow commentedI also have the same issue.
Comment #2
atom commentedme too...
Comment #3
_danny_ commentedI think i pinned this one, the path to the theme javascript is wrong, it contains the language prefix which it shouldn't. I have tested with a hardcoded path to the javascipt, that works. The affected file is "themes/views_slideshow_galleria.theme.inc".
Comment #4
thinguy commentedHaving the same problem, can you describe how you fixed it?
Comment #5
carlosg2 commentedSame problem
Comment #6
_danny_ commentedMy test was only meant to deduce the problem, it is not a fix nor a patch. The $path variable in "themes/views_slideshow_galleria.theme.inc" contains the language prefix, in my case "nl". When i replaced the $path variable with a hardcoded path to the script (i.e. without the language prefix) this problem was fixed. This could perhaps be used as a workaround for some people.
I cannot post the code because i deleted it since my first post, my intention was to use the lightbox theme of galleria but since that is no longer part of the script i decided not to use galleria.
Comment #7
kirilius commentedSame problem with me. Tested on FF 3.6 and IE6
Comment #8
mparker17I'm experiencing the same problem on a clean install.
Changing the version to 6.x-1.0-beta2 as I have confirmed that version of the module doesn't work with a clean installation.
Marking the bug as critical because the Views Slideshow: Galleria module is unusable on a clean installation.
Platform
Client
Server
Modules enabled:
Steps to Reproduce
sites/default/modules.sites/default/libraries. When I unzipped mine, it was automatically namedaino-galleria-c2f7a2b.Administer -> Site building -> Modules, check off the boxes next toContent,FileField,ImageField,Views,Views Slideshow,Views Slideshow: GalleriaandViews UI, then clickSave configuration.Administer -> Site building -> Views -> Views Slideshow: Galleria, ensure that thePath to the Galleria Pluginis set to thesrcsub-folder of the Galleria folder you extracted earlier. In my case, Views Slideshow: Galleria automatically detected Galleria atsites/default/libraries/aino-galleria-c2f7a2b/src.Administer -> Content management -> Content types, clickAdd content type. Set the name toAlbum, the type toalbum, and clickSave content type.manage fieldsin theOperationscolumn next to the newalbumtype.Images, the Field namefield_album_imagesthe field typeFileand the form elementImage. ClickSave. Drupal will prompt you for more information about the image field. UnderGlobal settings, clickRequired, but otherwise leave everything at the default. Make sure toSave field settings.Create content -> Album, add two or three album-type nodes. I always click theUploadbutton before saving the page.Administer -> Site building -> Views, clickAddand create the view:album_galleryand make it a view on typeNode. Leave the other options at their defaults.Node: Type; set it toIs one ofand check offAlbum.Content: images (field_album_images). FromFormat, chooseImage; leave the other options at their defaults.Style, chooseSlideshow. LeaveList typeasUnordered list. EnsureSlideshow modeis set toGalleria; leave the other options at their defaults.Pagedisplay. Set it's path togallery.Saveto store the view.http://yoursite.example.com/galleryand observe the behavior.Expected Behavior
I should see a galleria gallery of the images attached to the nodes that I uploaded.
Actual Behavior
In reality, I only see a blank screen. When I view the source, I can see that the view is outputting stuff; there is an
atag with thehrefattribute set to the path of each image that I uploaded. There are noimgtags anywhere. Firebug also tells me that thestyleattribute on each link is set todisplay: nonenow.Please refer to the attached screenshot.
Notes
I played around with various Galleria settings in the view's
Stylepane, but nothing seemed to have any affect.Comment #9
mparker17Setting version to 6.x-1.x-dev because I've managed to confirm that the problem happens on this version as well.
Comment #10
mparker17I spent some time figuring out what the problem is: it's the version of JQuery being used. Therefore, this bug is a duplicate of #853204: Galleria 1.2 needs JQuery 1.3 or better; Drupal 6 comes with JQuery 1.2, and I'm closing it.
The root of the problem is that Galleria 1.2 (the version that you can currently download) requires JQuery version 1.4.2; but Drupal 6's core only ships with 1.2.x. At some point in Galleria's JavaScript code, a call to
$(...).indexOf(...)is made on a variable of typeobject; but the object doesn't contain that function in JQuery 1.2, which causes an error. This error causes the JavaScript to stop execution before Galleria has been fully loaded, but after the images have been removed from the DOM for caching, hence the blank screen.My preliminary tests seemed to indicate that Views Slideshow: Galleria and the latest version of Galleria will function with JQuery 1.3 (although those tests were by no means extensive; i.e.: so I have no guarantee that things will work on your OS/browser/site). This means that installing the 6-x-2.x branch of the JQuery Update module will make Galleria function. JQuery Update's 6.x-2.x branch updates JQuery to version 1.3.x (the 6.x-1.x only updates to a later version of JQuery 1.2.x).
Comment #11
mparker17As a follow-up, I've created another issue, #892490: Make module depend on JQuery Update 2.x branch, which requests that Views Slideshow: Galleria be made to depend on jquery_update, so that it's more obvious what needs to be done to get the module to work on a clean install.
Comment #12
dealancer commentedI have JQuery Update's 6.x-2.0-alpha1, but this problem still exists. I'm using Views Slideshow: Galleria 6.x-1.0-beta3 even with latest jquery.
Comment #13
dealancer commentedFirfox shows following error:
Error: Fatal error: Width & Height not found.
Source: http://.../sites/all/libraries/aino-galleria-fc65989/src/galleria.js?P
Line: 3475
Comment #14
kirilius commentedHi, is there any update on this issue? Is this module usable at the moment?
Comment #15
dealancer commentedKirilius, see sollutions from here, it could help: http://drupal.org/node/982028
Comment #16
ainz commentedThis is kind of an old thread but I want to start contributing back to this community since I took 6 hrs to figure out this problem. Hope this helps:
This is what worked for me:
In the views_slideshow_galleria.module file located in /sites/all/modules/views_galleria_slideshow I noticed on line 65 the following code
$files = drupal_system_listing('^galleria\.js$', 'libraries', 'basename', 0);I realised that drupal was looking for a file named "galleria.js" in the "libraries" directory, however, when I downloaded the galleria plugin the original file was named "galleria-1.2.6-min.js". This was causing a "Galleria Not defined error" and I continued getting a blank screen. Once I changed the file in the libraries folder to "galleria.js", I immediately got the "Width & Height" error above and was able to use the solution posted in #15.