Hi,
very handy module but there is a small problem with Internet Explorer and a popup…
the setup:
splash page that is allways shown, that page has a javascript popup, the popup shows the drupal front_page
in every browser this works, except in Internet Explorer, there the popup shows again the splash page instead of the required front_page
any ideas where the problem comes from??
(by having a quick look in the module, I suppose I should do something with the cookie the module sets before calling the popup script)
Comments
Comment #1
g10 commentedthis issue offcourse only manifest itself in very unique cases, and only IE suffers from it
nonetheless, included is a patch that solves this issue...
basicly before calling window.open() in the javascript to create a popup, there should be set another cookie so the module knows a popup is coming who does not require a redirect to the splash page
2 lines should be added to the page.tpl / page-content_type.tpl that will make a popup window:
in the header :
print splash_js();in the (inline) javascript function before calling window.open() :
print splash_popup_cookie();Comment #2
fokkezb commentedI find this .patch quite 'hacky' while a better and more simple solution exists which at the same time also adds a funny feature for site administrators to bypass the splash when they want to. Check out the patch (will be added in next release).
The new 'feature' it brings: bypass the splash by going to example.com?nosplash instead of example.com.
The way it solves your problem: just add
?nosplashto the URL you're opening in the popup.Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.