Problems after embedding

neosis

Joined: 2005-11-10
Posts: 5
Posted: Sun, 2010-10-31 21:05

I've tried to embed G2 into my web site. I used the instructions here:

http://codex.gallery2.org/Gallery2:How_to_visually_embed_G2_in_your_own_website_using_embedded_mode

That included disabling URL Rewrite.

The integration went ok, but now I'm having problems logging on. When I log on through the embed, I constantly have to log back in every time I press a link or a button. When I try to login through the actual root, I can't login at all.

Help! Thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-10-31 21:13
 
neosis

Joined: 2005-11-10
Posts: 5
Posted: Sun, 2010-10-31 22:57
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-10-31 23:10

should be:

require_once ('/full/system/path/to/your/gallery's/embed.php'); // Path to Gallery's embed.php
$ret = GalleryEmbed::init(array('g2Uri'=>'http://www.cateringvisions.com/photoalbum/main.php', 'embedUri'=>'http://www.cateringvisions.com/gallery2embedded.php', 'fullInit'=>'false'));

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2