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!

----
[=9]
Gallery URL (optional):http://www.hypersensory.com/gallery2
Gallery version: Beta 3

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-06 21:41

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.

 
Yazon

Joined: 2004-08-10
Posts: 80
Posted: Wed, 2005-07-06 22:45

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....

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-07 07:28

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.

 
Yazon

Joined: 2004-08-10
Posts: 80
Posted: Thu, 2005-07-07 18:17

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?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-07 18:20

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).

 
Yazon

Joined: 2004-08-10
Posts: 80
Posted: Thu, 2005-07-07 18:29

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.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-07 19:21

are you now using the latest g2 nightly snapshot or not?

 
Yazon

Joined: 2004-08-10
Posts: 80
Posted: Fri, 2005-07-08 03:28

I'm using the original Beta 3 release from source forge.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-07-08 07:36