Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I have the following modules in drupal
views Gallery
Views Slideshow
Views Slideshow: Galleria
jquery 1.3*
When I use views slideshow it all works fine
but with the "Views Slideshow: Galleria" I don't
see anything...
All are current versions.
Comment | File | Size | Author |
---|---|---|---|
#26 | patch_fix_views_slideshow_galleria_6.x-1.0-beta3.patch | 771 bytes | rami attallah |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedsame difficulty here...
thumbnails appear in "live preview" of the view, however nothing is shown when I go to the page.
Comment #2
mariacha CreditAttribution: mariacha commentedIt looks like the latest version of galleria requires jquery 1.4.2. However, switching Drupal to jquery 1.4.2 breaks a lot of other pages, including the views page.
So unless someone has an old commit of galleria.js (one not requiring jquery 1.4.2), this mod (and any others using Galleria) is out of date.
Comment #3
mangus580 CreditAttribution: mangus580 commentedWell if anyone locates an older version of galleria, please let me know....
Comment #4
mangus580 CreditAttribution: mangus580 commentedI went looking, and think I found a previous version, but it still didnt work. I did notice the galleria directory in /sites/all/libraries contains the 1.4.2 version of Jquery... not sure if its referring to it there or not...
Comment #5
TDR CreditAttribution: TDR commentedI'v hardcoded this line in page template:
<script src="http://code.jquery.com/jquery-1.4.2.js"></script>
but it did not solve it. So I guess it not that ^^
edit:
now also added this to a custom template: "node-gallery.tpl.php"
I get the thumbs now, but no main image...
edit 2:
Oh wait it is there. image is just HUGE.
Comment #6
TDR CreditAttribution: TDR commented@mariacha which one will it be?
you can find all the releases here:
http://drupal.org/node/849934/release
Comment #7
mangus580 CreditAttribution: mangus580 commented@TDR I think mariacha meant the actual galleria version, not the module version.
Also, can you describe a little more in depth what you did to make it work above? The image being huge might just be a setting.
Comment #8
TDR CreditAttribution: TDR commented@mangus580 Well the jquery script I put in the page template (just to be sure of the right version)
and the other part I pasted right before $content in the "node-gallery.tpl.php"
I found also out that
https://website.com/sites/all/libraries/aino-galleria-c2f7a2b/src/themes...
does link the right .js and that the module links
?=sites/all/libraries/aino-galleria-c2f7a2b/src/themes/classic/galleria.classic.js
which pasting does not link the right .js
Comment #9
TDR CreditAttribution: TDR commentedIs there somebody who has been able to get this module working?
If so what are the modules you are using and what versions?
That would really help us out.
Comment #10
mangus580 CreditAttribution: mangus580 commented@TDR - got an example of what you have accomplished so far? Link? I have not figured out yet where you put your code above, or I would have tried it :-)
Comment #11
mangus580 CreditAttribution: mangus580 commentedSee here - this worked for me... essentially you need the jquery update module.
http://drupal.org/node/853204
Comment #12
TDR CreditAttribution: TDR commented!!!
started with a clean install and id did not work
but looking in the sourcecode of the renderd code I notiched an error
I found that the link to the js did not work:
it WORKES!
well so far. it flickers like crazy and it doubles the number of images in the gallery
2 img in gallery is 1/4
Comment #13
TDR CreditAttribution: TDR commentedeven easier, just add your new or standard .js link to
the custom link inside the settings page.
Voila all works!
Comment #14
TDR CreditAttribution: TDR commentedComment #15
jimmb CreditAttribution: jimmb commentedSorry to re-open this thread, but I've tried the suggestion in #13 and it's not working.
A little background:
But when viewing the slideshow, I see nothing. So I installed the 6-x-2.x branch of the JQuery Update module as per #10 here. This also made no difference.
I then tried these paths at /admin/build/views/views_slideshow_galleria:
But in all cases (except when using the default path), I get this message:
"To use Galleria, you must first download the plugin package, extract it, and place the entire contents into the folder on your server specified here. (An attempt at autodiscovery will be made if it is within the sites/all/libraries or sites/example.com/libraries folders.)"
... At this point I'm running out of ideas. Any further assistance will be much appreciated!
Jim
Comment #16
mangus580 CreditAttribution: mangus580 commentedJim, i was unable to get it to work until I totally uninstalled all the views slideshow modules, jquery update, etc, and then installed them again. Worked instantly then.
Mike
Comment #17
jimmb CreditAttribution: jimmb commentedHi Mike, thanks for the suggestion. Unfortunately, it didn't work for me:
First, I uninstalled/deleted: JQuery Update and Views Slideshow Galleria.
I then re-installed those modules, enabled them, etc., but nothing changed.
So then I uninstalled/deleted: JQuery Update, Views Slideshow, and Views Slideshow Galleria.
I re-installed those modules, enabled them, and re-configured the content type/view. Unfortunately, it's still not showing up.
Note that I didn't uninstall the main Views module, because I have other views on the website and don't want to re-do them if it's not needed. So, let me know if you also uninstalled the base Views module...
Otherwise... any other ideas?
Jim
Comment #18
TDR CreditAttribution: TDR commentedUhm lets see if I can remember.
I've used:
-jQuery Update 6.x-2.0-alpha1
-Views Gallery 6.x-1.3
-Views Slideshow 6.x-2.3
-Views Slideshow: Galleria 6.x-1.x-de
galleria in Library
galleria settings: custom.
Custom theme options: http://www.yoursite.nl/sites/all/libraries/aino-galleria-c2f7a2b/src/the...
worked for me ^^
Comment #19
TDR CreditAttribution: TDR commentedComment #20
ChristianP CreditAttribution: ChristianP commentedI can't get this to work. I've tried all things in this thread. The gallery just flashes for a quick second and disappears. It is there though, because I can see it in the source code but everything has "style='display:none'" for some reason. If I enable full screen mode, I get the same thing except the whole bottom part of the website is black.
Comment #21
miaoulafrite CreditAttribution: miaoulafrite commentedsame for me
i tried using jquery update 2.x but still nothing appears
don't understand what i'm doing wrong.
Comment #22
arpieb CreditAttribution: arpieb commentedHas anyone had any luck so far? I've managed to nail down it's not a jQuery 1.3 vs 1.4 version issue. I just snagged the latest Galleria plugin from gitHub and tested it using the version loaded by my Drupal installation by changing the themes/classic/classic-demo.html to load jQuery from /sites/all/modules/jquery_update/replace/jquery.min.js?X instead of Google's CDN, and I'm loading jQuery v1.3.2.
On closer inspection, it appears that in the latest dev build of this module the template_preprocess_views_slideshow_galleria() hook is never getting invoked (where all the drupal_add_js() calls exist). I have no
tags for the Galleria JS files (module or plugin), nor any evidence of the Drupal.settings.viewsSlideshowGalleria array being set in the browser. I'm running on D6.20 with:Comment #23
julient CreditAttribution: julient commentedI've spent a long time ready various comments here and there and trying various options. I had the same problem as many, the view on my page was blank. But finally I got it working :)
So here is what I did on a clean D6 install :
1. Under admin/settings/language, check that the "Path Prefix" is empty for your default language
2. Install Jquery Update module 6.x-2.x-dev
3. Edit /sites/all/modules/views_slideshow_galleria/themes/css/views_slideshow_galleria.css to add
Thanks for that module and to those who gave the solutions.
Comment #24
cwgriesel CreditAttribution: cwgriesel commented#23 worked for me! Although I don't have any other languages installed, so I didn't have to do step 1. But I got it to work by installing Jquery Update module 6.x-2.x-dev and editing views_slideshow_galleria.css
Comment #25
Ironmike2 CreditAttribution: Ironmike2 commented-----------------------------To make Views Slideshow Galleria Work on drupal 6-------------------------
After playing around alot with drupal and Views i decided i would not be beaten by the galleria module.
Here is what i have put together to make it work.
Modules you need:
Module Version
- Views 6.x-2.12 or the lastest version ( Do not know if previous versions work)
- Views Slideshow 6.x-2.3
- Views Slideshow: 6.x-1.x-dev
Galleria
- jQuery Update 6.x-2.x-dev
Fist things first, if you have any of these modules already but not the versions shown ( most important jQuery Update) then you should disable them on your modules page. JQuery Update should be uninstalled which you can also do on this page at the very top.
Download all modules and enable them all.
You will also need to download Galleria from https://github.com/aino/galleria/downloads
you must download Version 1.2 Click 1 other download tab at the bottom
extract the content of the .zip folder to sites/all/libraries
Now you need to go to Views Slideshow Galleria folder, either on your computer or on your FTP, You need to edit:
sites/all/modules/views_slideshow_galleria/themes/css/views_slideshow_galleria.css
add this at the bottom of the .css file
.galleria-container {
width: 725px;
height: 400px;
}
This will create a container for the galleria view, you may change the dimentions if needed. I think this is nessassery due to Galleria not changing the size of the images uploaded.
*Note Galleria will not show up if you do not do this.
Now you can change your View to style slideshow and change the settings to Galleria, this will give you Galleria options to play about with.
Update options and save to the view, give it a try out. I would advice that you make sure your view works as a normal slide show before switching to galleria just to make sure Views is working correctly.
I would be happy to make a full install instruction for this including creating a slideshow with views, either as a write up or as a tutorial video, if anyone would be interested in this please could u let me know, Cheers Mike
Comment #26
rami attallah CreditAttribution: rami attallah commentedI had an issue with Views Slideshow: Galleria and i18n. The problem was that views galleria is working only if "Path Prefix" is empty for default language as Julient described, in my case i'm using "Path prefix with language fallback". The url will contain "en" and galleria will not find the path for galleria.js file.
Here is the patch.
I hope it will help you :)
Comment #27
Ironmike2 CreditAttribution: Ironmike2 commentedNo worries Rami_at i seen that comment above, i didnt put it in since i only have one language, thanks for keeping me right though. I do think that when i get some time i will do a tutorial video for this, and add in all things to try if you can not get it to work.
Comment #28
Ironmike2 CreditAttribution: Ironmike2 commentedHey guys, does anyone know how to fix views Slideshow settings, ever since i got galleria working, my slideshow options shows ddlock, galleria, single frame and hoverover settings all at the same time, instead of the drop down box only picking the one.
Comment #29
sgabe CreditAttribution: sgabe commented@rami_at: A patch to fix that issue has been committed already, please see #931354: Wrong theme URL on multilingual sites and report back there if you encounter any problems.
Comment #30
eme CreditAttribution: eme commentedFollowing #25 helped me out. Thanks to you Ironmike2.
Comment #31
flacoman91 CreditAttribution: flacoman91 commentedbig thanks to you IronMike2!
I got it working as well, and I figured out how to get autoplay to work as well. I had to change it in the galleria.js file. autoplay seems to be hardcoded as false.
Comment #32
netentropy CreditAttribution: netentropy commentedIronmike2,
Great post. Saved me some time after I actually found it.
After some configured and renaming some files I almost have the fullscreen theme working however the loader gif is "stuck." The images only load after an initial click.
http://alpha.469ride.com/galleria
I can't find anything in the code to relates to this behavior. I have checked all my paths in head.
Any ideas?
Comment #33
bhavinv CreditAttribution: bhavinv commentedI tried the above steps (#25) a lot of times . . still i cant get this awesome module to work . .I uninstalled the listed modules on my current site. . .dint work. Then i did a fresh drupal install, still it dint work. . i uninstalled n reinstalled several times but to no avail.It is really annoying not to be able to crack this . The maximum i could get was a black rectangle with the nav buttons on it. . but now i cant even get that. Any help or a tutorial will be greatly appreciated. I want to know the exact path of the galleria plugin too.
Thanks in advance.
Comment #34
netentropy CreditAttribution: netentropy commentedDid you change the galleria js file name from gallieria-1.4.js to just galleria.js?
Comment #35
bhavinv CreditAttribution: bhavinv commentedI did not have to . .it was already galleria.js. I downloaded it from the github site as is .
Comment #36
netentropy CreditAttribution: netentropy commentedDid you add the galleria stage dimension to the modules theme css? Not the galleria library but the actual modules css file.
Comment #37
bhavinv CreditAttribution: bhavinv commentedI have edited the module css.
Is it necessary to use only image fields for display in Galleria ?
I have given the path to galleria plugin as sites/all/libraries/aino-galleria-a2c1c16/src/themes/classic/galleria.classic.js
Is it correct?
Comment #38
prateekS CreditAttribution: prateekS commentedHi,
I have installed views slideshow galleria module and follow same steps as suggested by 'Ironmike2' on comment#25, also passed
sites/all/libraries/src/themes/classic/galleria.classic.js in admin/build/views/views_slideshow_galleria page but still found no galleria slideshow in frontend page but those thumbnails appear in "live preview" of the view. Any one have idea what is the problem ?
Comment #39
lunazoid CreditAttribution: lunazoid commentedI was having trouble getting anything to show up, following the steps in #25. Then I noticed that IronMike2 had said to download version 1.2 of Galleria. I had been using the current 1.2.5 version, so I rolled back to 1.2.0, and it shows up! I don't have it totally tweaked yet, but it's closer. It does appear to only be working with the classic theme, however.
Comment #40
HS CreditAttribution: HS commentedComment #41
unc0nnected CreditAttribution: unc0nnected commentedIt should be noted that the previous download link to 1.2 doesn't work.. If you want to grab the older 1.2 version you need to get it from here: http://galleria.aino.se/static/galleria-1.2.zip
Even with all that NONE of the above solutions work.. I've tried every config, every version of every module mentioned above and this god damn galleria still doesn't work. Views slideshow works just fine but not galleria, oohh nooo.. I'm at my ropes end so if anyone has any last minute suggestions before I light myself on fire I would greatly appreciate it
EDIT: Turns out it was a jquery problem after all .. The only solution was to uninstall the jquery update module and then download 1.3.2 and copy it overtop of jquery.js in the /misc directory.. That let to a bunch of other errors which got fixed in the theme's css files and of course 1.3.2 completely breaks views. So I went back and grabbed jquery.1.3.2 and my view errors went away and galleria still works.. So that seems to do it for me