While Adsense Injector seems to be working properly when injecting ads into Story content (see StoryInjection.gif), and into Drigg content when a placeholder box is used (see DriggPlaceholder.gif), it's displaying what seems to be Injector-specific code when Drigg goes to display the actual ad (see DriggInjection.gif). This occurs on both Teaser views of Drigg contant and full-page views of it as well.

This appears to be a case of simply displaying the Injector code itself, immediately before processing it. That may be due to Drigg's use of a theme to display some of its frills, although the same theme seems to handle the Injections properly in other content types. It may be due to the Digg module not recognizing Ad Injections or knowing how to handle them properly - and I don't know how to give it the information it's looking for. I've ruled out Drigg's use of Ajax as a culprit by repeating the problem with its Ajax off. I've also ruled out Filtered HTML causing it, by forcing things to Unfiltered HTML and generating new Drigg content.

The problem is apparent on the site, at: http://satori.110mb.com/Drupal/

While I'm completely new to PHP and CSS both, I'm willing to research and make the necessary modifications myself. I just don't know how to insert the information Drigg would need to recognize Injections in order to handle them properly, or even what that information is and where to put it - whether this is a CSS-based or a PHP-based problem, what Injector information is missing, and where. I appreciate your time, and thanks for creating what seems in most cases to be a very reliable, hassle-free module.

Comments

Satori42’s picture

I've located the problem - it's not on your side. It appears to be a CSS-based problem caused in one of two Drigg themes, which displays the source script. I found a similar problem regarding Drupal's Garland theme, and worked it out. The thread is here, if anyone else encounters the same problem.

http://drupal.org/node/102252#comment-269363

Sorry to trouble you! Thanks again for your time.

Incidentally, the AdSense module port to Drupal 6 now has a couple of Beta versions out. =)

hswong3i’s picture

Status: Active » Closed (fixed)

So this issue should be closed :D