Embedded gallery pages don't match each other

archshrk
archshrk's picture

Joined: 2005-04-29
Posts: 45
Posted: Fri, 2008-03-21 15:14

I've managed to fix the site after the 1and1 upgrades but there is a bit of weirdness going on still.
Some of my gallery pages render fine (match site the way I want) while others are not matching, specifically, the style.css seems to be different for different pages.

Compare http://archshrk.com/Pics/skywalk to http://archshrk.com/Pics/Corbin. The Tan scheme is correct, the white one, not so much.

Basically, it seems the background color is not being called properly but why is it different between albums? They should all be right or all be wrong, shouldn't they?

-
www.archshrk.com
www.photojulia.com

 
archshrk
archshrk's picture

Joined: 2005-04-29
Posts: 45
Posted: Fri, 2008-03-21 15:44

Follow-up information...

It seems that the "bad" pages are missing this when you view source.

Quote:
<link rel="alternate" type="application/rss+xml" title="archshrk's Gallery"
href="/rss/archshrk%27s+Gallery" />
<link rel="stylesheet" type="text/css" href="/gallery2/main.php?g2_view=imageframe.CSS&amp;g2_frames=none"/>
<link rel="stylesheet" type="text/css" href="/gallery2/modules/core/data/gallery.css"/>
<link rel="stylesheet" type="text/css" href="/gallery2/modules/rating/rating.css"/>
<link rel="stylesheet" type="text/css" href="/gallery2/modules/icons/iconpacks/silk/icons.css"/>
<link rel="stylesheet" type="text/css" href="/gallery2/themes/wordpressembedded/theme.css"/>
<script type="text/javascript" src="/gallery2/lib/yui/yahoo-min.js"></script>
<script type="text/javascript" src="/gallery2/lib/yui/connection-min.js"></script>
<script type="text/javascript" src="/gallery2/modules/rating/rating.js"></script>
<script type="text/javascript" src="/gallery2/modules/search/SearchBlock.js"></script>

And the G2 title is missing from the page title as well.

Quote:
<title><?php echo $g2_title; ?> | archshrk's gallery</title>

-
www.archshrk.com
www.photojulia.com

 
archshrk
archshrk's picture

Joined: 2005-04-29
Posts: 45
Posted: Fri, 2008-03-21 16:03

The missing parts seem to corespond with this part of the header...

Quote:
<?php if (isset($g2data['headHtml'])) {
list($g2_title, $g2_css, $g2_javascript) = GalleryEmbed::parseHead($g2data['headHtml']);
foreach ($g2_css as $css) { echo "$css \r\n"; }
foreach ($g2_javascript as $javascript) { echo "$javascript \r\n"; }
} ?>

-
www.archshrk.com
www.photojulia.com

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-03-21 23:32

Hiya Mate,

The Lack of G2 Title is a bug and has already been corrected (due for release in WPG2 3.05). Other than that, nothing in WPG2 changes the style from one G2 page to another, looks like you still got some wierd 1&1 environmental thing happening..

Just for the heck of it, try clearing your G2 template cache's, it is possible that 1&1 have corrupted this cache..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
archshrk
archshrk's picture

Joined: 2005-04-29
Posts: 45
Posted: Sat, 2008-03-22 05:20

Well, clearing the cache didn't help so I made a color pack that simply made the background the same as my site. I would watch it load with the right color then switch to white. Very Strange. Looking forward to the next release.
-
www.archshrk.com
www.photojulia.com