Drupal: Slideshows dont work when integrated
Yazon
Joined: 2004-08-10
Posts: 80 |
Posted: Wed, 2005-07-06 21:17 |
Enabled both slideshow modules. Gallery is built-into the Drupal 4.6, and when i access gallery through the htpp://www.hypersensory.com/gallery - slideshows don't work. When i try to view regular slideshow - it shows one thumbnail and never advances. When i launch the fullscreen slideshow - it goes to the base URL of the site (http://www.hypersensory.com ) and errors out (of course, it can't find a gallery isntall at that address. Real gallery is at http://www.hypersensory.com/gallery2. If i just go to http://www.hypersensory.com/gallery2 and launch slide show fromt here - it all works just fine. Help? Thanks! ---- |
|
Posts: 32509
1. use the latest version of g2 (http://galleryupdates.jpmullan.com)
2. use the latest integration code
report drupal / G 2 problems here:
http://drupal.org/project/gallery
slideshow works in other integrations.
Posts: 80
This has helped with regular slide show:
Make the following change to gallery.module:
<?php
drupal_set_html_head(implode("\n",$javascript));
?>
instead of:
/* OLD drupal_set_html_head('<script type="text/javascript">'. implode("\n",$javascript) .'</script>');*/
======================
problem with fullscreen slideshow still remains:
In drupal - when launching fullscreen slideshow it says "Gallery remote cannot find protocol implementation at http://www.site_name.com/. Check with browser that htt://www.site_name.com is a valid gallery URL"
from what i understand it's just not redirecting the Java applet to the correct URL http://www.site_name.com/gallery2
Reported it as a bug, but still maybe someone can help here....
Posts: 32509
maybe you have mode.embed.only = true in config.php. for the applets to work in embedded g2, this has to be set to false.
Posts: 80
Just checked - it's set to false already.
I think i've seen a question somewhere in gallery setup if it's embeded or not - i wonder if i change it, maybe that will help.
Do you know if it's safe to rerun installer .../gallery2/install on the running website with gallery? Will it change anything or will all the data be still there and work as before?
Posts: 32509
running the installer *should* be safe, it should just skip the core module install step.
but it won't fix your problem either, because it doesn't do anything (but writing config.php again).
Posts: 80
Hmmm, I see.
I know that the fix is very easy, as full screen slideshow module is simply looking at the wrong URL. If i could adjust the URL generation or hard set it, that would fix my problem.
Posts: 32509
are you now using the latest g2 nightly snapshot or not?
Posts: 80
I'm using the original Beta 3 release from source forge.
Posts: 32509
then please upgrade to the latest nightly snapshot.
http://galleryupdates.jpmullan.com/
http://codex.gallery2.org/index.php/Gallery2:faq#How_to_upgrade_Gallery2.3F