Disclaimer is not loading content after upgrade to current version. Reverting to the previous version of Disclaimer by copying over the module files does not fix the problem. Disclaimer's Colorbox frame loads, but no content is loaded within the frame.

I am using

Disclaimer 7.x-1.x-dev
Colorbox 7.x-2.3
Libraries 7.x-2.0

CommentFileSizeAuthor
Screen Shot 2015-03-13 at 1.18.04 PM.png305.1 KBmagi182
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cartha’s picture

Hi,
Same here. Disclaimer is not loading not after an update but on "fresh" install.
Colorbox works but Disclaimer only pop up a blank box.

Configuration is:
Disclaimer 7.x-1.x-dev
Colorbox 7.x-2.8
Libraries 7.x-2.2

Thanks in advance.

mogtofu33’s picture

Assigned: Unassigned » mogtofu33
Priority: Normal » Major
Status: Active » Needs review

Please try upgrade Colorbox 7.x-2.8 and Libraries 7.x-2.2, update colorbox libraries to 1.6.0.
Do you have any message on console log ?

cartha’s picture

Hi,
For me, i'm already using those release and no message on the console unfortunately ... :(
Thanks

mogtofu33’s picture

Can you check your html code to be sure content is not behind ? and so adjust css z-index.

mogtofu33’s picture

Be sure your theme has a "footer" region, see page.tpl.php and add
<?php print render($page['footer']); ?>
At the end of file if not present.

Fixed for cartha.

cartha’s picture

Thanks again ;)

  • mogtofu33 committed 4bf5433 on 7.x-1.x
    Issue #2451945 by magi182: Disclaimer load empty when theme has no...
mogtofu33’s picture

Status: Needs review » Fixed

Fixed on commit 4bf5433.

rubenvarela’s picture

Still having the issue pointed out at the start of this thread, but I think that it's because of the latest commit. Referenced in #7.

I'm testing this module on a new installation and copied the Zen Subtheme.
Besides the dependencies for this and colorbox, I only have the Devel Generate module.

I have the following regions (the default ones):

- Header
- Navigation Bar
- Highlighted
- Help
- Content
- First sidebar
- Second sidebar
- Footer
- Page bottom

And I only get the blank Colorbox frame without any content.

I checked, if after this line:

    end($regions);

I add

    print key($regions);

I get

    dashboard_inactive

 

If I change $key in:

    $page[$key]['disclaimer'] = array(

to a known region, it works. Or if I disable the Dashboard module (which is what I've done for now).

More info:

Dashboard adds 3 regions (at least by default).

- dashboard_main
- dashboard_sidebar
- dashboard_inactive

  • mogtofu33 committed df20cfc on 7.x-1.x
    Issue #2451945 by magi182, rovr138: Disclaimer not loading
    
mogtofu33’s picture

Fixed on commit df20cfc, thanks rovr138 for the report.

Added region as settings of footer does not exist.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.