There's an issue with Dart displaying ads alongside the Panels In-Place Editor. Steps to reproduce:

1) Enable Panels IPE for a given panel page
2) Serve ads on the same panel page
3) Navigate to page as a user with access to Panels IPE.

The effect is that the page begins to load normally, but when it comes time for Dart to write the tag out to the page, it replaces it with a blank white page and does a number of document.write() calls with the same ad. Sometimes it's one, sometimes is as many as seven.

I'm did some debugging, but I'm don't have the time at the moment to go further. I suspect that maybe the module's JavaScript is firing before the document is ready (and thus the interference w/ Panels IPE). My knowledge of Drupal.Behaviors is a little lacking, so apologies for the lack of detail.

Comments

bleen’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not a big Panels user so I have very little experience there ... I can tell you that DART tags, fundamentally, need to perform document.write()s while the page is still loading (without waiting for the DOM to be ready). There are some techniques that I want to play with for lazy loading of DART ads, but I havent had time to try.

These *might* solve this issue. I'm not sure.

If you can give me more info about what is causing this conflict I'll see if I cant look into it further. If it turns out that IPE cant play nicely with a module that performs a document.write before the DOM is ready then unfortunately you're going to be out of luck.

bleen’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

if someone can give more info ... please reopen