tombyrnes
Forum Replies Created
-
Forum: Plugins
In reply to: [Firelight Lightbox] Popup window does not "reload" in some casesAcrobat Reader X & Xi break PDF popups for WinXP/IE8.
I’ve pinned a possible culprit in this ongoing saga – Acrobat. In general Version 9 works OK, X and XI not so much. I have deactivated other plugins etc etc.
And it is not actually confined to XP – a friend tested it on 3 different PCs Win8, Win 7 and XP and all failed as described. For me it works under win7.
But back-grading Acrobat is not a feasible solution. And it works on most browsers/OSes – except the most popular – is not a good way forward. So I am rapidly losing confidence in this whole approach. Plus I have now noticed another killer issue under XP at least, it leaks memory like crazy. I’ll note this separately just in case someone else is reading.
Thanks for listening!
Forum: Plugins
In reply to: [Firelight Lightbox] Popup window does not "reload" in some casesHere is some more info in the hope that I get a response. (Please ???):
I’ve set up a test page on my test copy of the site here:
http://modedion.cairohouse.net/my-back-pages/
When you click on one of the images, it opens up the popup window to display the relevant PDF. It works fine on 3 of my PCs as mentioned above. On the 4th, which is running XP SP3, it works fine under Safari and Chrome, but not IE8 – which I suspect most of the users will be running. To recreate problem, open say first PDF – all is OK.
Close and open second FPF. All is OK again. Close and open the first PDF and you get the ovrelay only and nothing. I have 4 images/PDFs on that page. Each one can be opened successfully once, but thereafter a second attempt on a previously opened PDF will fail.Now it works fine under XP/IE8 on another PC. I’ve uninstalled and reinstalled Flash on the problem PC etc etc. Any suggestions appreciated.
Even More:
The previously posted hack did not quite work…. I have now changed the 3 “view=FitH” entries to “view=FitV” (guessing that maybe H didn’t stand for height but horizontal??), and for good measure, I’ve change the 3 “zoom=80,0,0” to “zoom=40,0,0”.With this hack, I now find that I get the full page view (give or take a % point) when it opens in IE9, IE8, Firefox (latest). But no luck with Google Chrome.
I’am about to try the development version to see if that makes a difference.
More:
I’ve now found that changing the 3 “zoom=80,0,0” to “zoom=page,0,0” in line 596 of easy-fancybox-settings.php has the desired effect. But this was blind guesswork. Is there a better way?
Thanks
Hi pvdw
Detailed email sent to the address you provided.
Let me know if you get it OK.Attention pvdw:
For me the change was around line 228. Look for the following lines:
———————————————————-
if($showAsHome)
{
// Flag as a home page
$GLOBALS[‘wp_query’]->is_home = true;
$GLOBALS[‘wp_query’]->is_archive = false;
$GLOBALS[‘wp_query’]->is_category = false;
}
}
}
—————————————————————-
NB There will only be one such group of “wp_query” references that is followed by THREE closing braces. After those three closing braces AND before the next TWO closing braces, insert the line:
$wp_query = $GLOBALS[‘wp_query’];
—————————————————————–
so you should end up with something like:
—————————————————————-
if($showAsHome)
{
// Flag as a home page
$GLOBALS[‘wp_query’]->is_home = true;
$GLOBALS[‘wp_query’]->is_archive = false;
$GLOBALS[‘wp_query’]->is_category = false;
}
}
}
$wp_query = $GLOBALS[‘wp_query’];
}
}if(!function_exists(‘pagesPostsAdmin’))
———————————————————————
if you still don’t get it, post another message with your email address suitably masked (eg “at” for “@” “dot” for “.” kinda thing.
Good luck.Gengar03
Brilliant, just brilliant. Followed your detailed advice and it worked like a charm. (BTWE: It wasn’t exactly at line 238, for me at least, but just above – with the braces count it was a doddle.
Thanks a squillion. You are my hero.
Cheers
Tom