The default ad blocks put a commented out java script code in the source and that's about it. Nothing comes from it. I tried uncommenting it and also sourcing in the mmm.js (which doesn't actually appear to be added anywhere either yet) and still nothing. Am I missing something obvious or is the current release version just not done?

Comments

gerd riesselmann’s picture

The invoke function creates code like this:

<script language="JavaScript" type="text/javascript"><!--
  az_adjs([Number],'[String]');
--></script>

Note that the HTML-comments (<!-- and -->) do not affect the JavaScript code. Additionally, the module places code like this in the head section:

<script type="text/javascript"><!--
  var az_channel = "[Some Text]";
  var az_u = "[Some Url]";
  var az_us = "[Some Url]";
  var az_js = "[Some File]";
--></script>

And includes the mmm.js JavaScript file.

If the mmm.js file is missing, you probably are missing a

print $scripts;

in your template file? Are jquery.cs and drupal.js included?

nezroy’s picture

Right, sorry, the

just threw me off. Forgot it gets ignored in the script tag. Up way too late to be troubleshooting this kind of thing :) Turns out I just had the wrong code for the zone I wanted, which was the source of all my problems.

nezroy’s picture

"The [blank] just threw me off" was supposed to be "The <!-- --> just threw me off". Did I mention I've been up a long time? :)

gerd riesselmann’s picture

Status: Active » Fixed

Nema Problema :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)