Hi,
I am having a problem using Disclaimer with the Thickbox module. I installed both modules and configured it the Disclaimer to show just "Test" on the front page. When I go to the front page, the Thickbox keeps loading and never display my "Test" text.
Anyone experiencing the same issue?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Afbeelding 1.png | 176.8 KB | knalstaaf |
Comments
Comment #1
knalstaaf commentedSubscribing. Having the very same issue.
Enabled both the modules, but can't access my Admin-section anymore. I can only see the overlay and an animated bar, with my admin-page in the background. So I can't even access the settings of THickbox nor Disclaimer anymore (unless I disable javascript in my browser).
Comment #2
knalstaaf commentedI've de-installed both modules, and re-installed them (first Thickbox (6.x-1.6), then Disclaimer), but with the same result: a black transparent overlay with an animated bar which won't move away.
Apparently the disclaimer doesn't get loaded properly, eventhough I'm using a file named "page-disclaimer.tpl.php" (copy of page.tpl.php).
I've tried the second method described in the INSTALL.txt-file, with the NyroModal-script (2.0.0). The Disclaimer module finds the script and I can enable it in the settings of the Disclaimer module, but doesn't execute it, so there's no Disclaimer appearing on any page and visitors can browse the site all they want without agreeing with a disclaimer.
Have you got an idea what could be the problem here?
Comment #3
knalstaaf commentedIt's also modifying my CSS during the overlay process. Can't tell what's causing all this...
Comment #4
mogtofu33 commentedHi,
On a fresh install (drupal 6.20 - disclaimer 6.1.9 and thickbox 6.1.6) everything works fine.
Perhaps there is a problem from your theme, please copy page-disclaimer.tpl.php from the module to your theme/garland folder. Clear theme regisrty and activate garland default theme to see if module work.
If not, can you try to use a javascript debugger (like firebug) to see if there is a script error.
Regards.
Mog.
Comment #5
knalstaaf commentedLooks like it's a Thickbox 6.x-1.6 issue. Adding
tb_setBrowserExtra();on top oftb_position();on line 269 of thickbox.js (in the Thickbox module folder) seems to solve the problem for me.The code around that line looks like this now:
Comment #6
knalstaaf commentedHmm, however. Now it's ok in Firefox (3.6.16 on MacOSX 10.5.6), but in IE8 the Disclaimer dialog box is blinking / flashing endlessly. Removing that breaks it again in Firefox , but it keeps flashing / refreshing in IE8.
Comment #7
knalstaaf commentedSame issue in Chrome 10.0.648.151 (on MacOSX 10.5.6): blinking Disclaimer dialog box.
Edit: Flashing Disclaimer dialog box behaviour seems to have ceased on Chrome, not sure for what reason...
(P.S.: I took your advice of #4, but with no result.)
Comment #8
knalstaaf commentedTried Thickbox 6.x-1.x-dev with no luck. Same behaviour persists in IE8.
Comment #9
frjo commentedPlease switch to the Colorbox module instead. It's a nicer and more modern solution. I'm the developer of both. Thickbox will have no D7 version while Colorbox already have one.
http://drupal.org/project/colorbox
Comment #10
mogtofu33 commentedHi,
I will switch to colorbox soon (if colorbox support modal functions)
Regards.
Mog.
Comment #11
frjo commentedAlso checkout modals in Ctools. Especially with D7 more or less everyone will have Ctools installed since Views depends on it and it has a number of really cool features.
Comment #12
SewFresh commentedHello,
I was having the same issues as above, but after following steps #4 and #5, it works for me! Both in IE and Firefox
Comment #13
gaxze commentedhad a problem with this module using thickbox and IE8.
the disclaimer box would constantly flash in IE 8 only. however following the steps of #4 and #5 it worked.
however i edited the tpl template file and the problem came back.
so to fix this i used the template disclaimer page in /modules/disclaimer/page-disclaimer.tpl and copied that to my theme folder.
problem now solved with IE8's flashing.
Comment #14
shane birley commentedIt appears that this may be fixed. As a feature request for Colorbox was made, this may be considered as a duplicate of this issue. It makes sense to centralize Colorbox related things to the other issue.
I will close this due to age and lack of activity.