Download & Extend

Lightbox Broken on "Dreamy" Theme

Project:Dreamy
Version:5.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:YIY
Status:closed (fixed)

Issue Summary

Look at the attached screenshot to see how a number of things display incorrectly...

Loading image never goes away, close, next, previous, and expand always appear...

Any suggestions?

Submitted to Dreamy and told to seek help here.
http://drupal.org/node/279498

AttachmentSize
dreamy-lightboxjs issues.JPG111.16 KB

Comments

#1

Do you have the "nice menus" module enabled? If so, disable it and it should fix your problem. It adds javascript to the page incorrectly which causes a lot of javascript functions to be run twice.

Cheers,
Stella

#2

No nice menu's module installed--thanks for the tip though

#3

Project:Lightbox2» Dreamy
Version:6.x-1.8» 6.x-1.3
Component:User interface» Code
Priority:normal» critical

Ok I installed the Dreamy theme and it's a bug with the theme. On line 13 of node.tpl.php, there is drupal_add_js('misc/drupal.js');. This is invalid, no theme should be doing this (or the other drupal_add_js() lines). The javascript is already added to the page on line 11 of page.tpl.php with

  <?php print $scripts ?>
. By adding it again in node.tpl.php, the javascript is called twice resulting in page rendering issues like the one mentioned.

Re-assigning to the Dreamy theme project.

Cheers,
Stella

#4

Status:active» fixed

fixed. thanks

#5

Status:fixed» closed (fixed)

#6

Version:6.x-1.3» 5.x-1.7
Priority:critical» normal
Assigned to:Anonymous» YIY

on high screen resolutions the right column with all blocks falls down.