Click through on Embedded Random Image Block and/or Album redirects to homepage url; does not happen when G2.3rc is standalone
|
jjoves
Joined: 2008-08-23
Posts: 49 |
Posted: Fri, 2008-09-05 06:51
|
|
Hi folks, I've recently incorporated G2.3rc1 into my drupal site (www.seaandsnow.org). Creating and editing albums via Drupal embed or G2 standalone is fine. If I click on a random image via image block on the drupal site or try to view an album, the site just redirects to the homepage even when I can see the path on the browser frame. However, when I log into G2 stand alone, everything works fine. Is this issue have to do with the URL rewrites? Thanks,
Gallery2 location settings - Auto Configuration Clean URLs / URL Rewrite settings |
|

Posts: 49
UPDATE:
Took the "gallery2" out of the G2 URL Rewrite
in G2 Show item:
gallery2/v/%path%Now the click through on the album, Your Album, and Image Block work. However, Blocks, Primary and Secondary Links are gone (As reported in other issues).
Foliage Theme is used on Drupal
James
Posts: 8339
modules/imageblock/classes/ImageBlockHelper.class line ~199 $ImageBlockData['forceFullUrl'] = 0;
change to 1.
Not sure why this is hardcoded.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 49
Thanks, suprsidr. I made the change but there is not anything apparently happening. What should or is the expected outcome w/ 0 and with 1.
Regards,
James
Posts: 8339
if forces gallery to produce a fullUrl instead of a relative one.
for imageblock only.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 49
Suprsidr,
Got it. Which is correct on my image block #2 for keywords. Thank you.
However, (not sure if you seen the G2 module on Drupal) primary, secondary, and navigation links disappear when a user is in an album or viewing a picture. Is there a fix on the Gallery end?
Likewise, I'm trying to work with combining the Drupal Tagadelic module with Keywords from Gallery to form a cross platform module. Is there one in progress? (see http://gallery.menalto.com/node/81339)
Regards,
James
Posts: 8339
In your Drupal admin can you add/edit the settings for embedUri and g2Uri to full urls?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 49
I'm looking at the module, I don't see it. (there's a rewrite issue w/ the module) I wonder if that is playing a role. I'll look at this tonight.
Regards,
James
Posts: 8339
then whats this from?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 49
Suprsidr,
I see what you mean. There's issues surrounding the functioning of this Drupal module (Not Gallery) in Drupal (http://drupal.org/node/288660).
Regards,
James