[pmwiki-users] Adsense markup not working in beta 37

zgrauer at earthlink.net zgrauer at earthlink.net
Thu Jun 2 12:23:33 CDT 2005


Remember the markup used to include google adsense messages in the pages?

The lines entered into /local/config.php are listed below. It is working fine on beta 26, but in beta 37 I get the text (:adsense:), and not the ad.

Markup('adsense', 'directives',
      "/\\(:adsense:\\)/",
      Keep("
<TABLE aligh =\" center\" width=\"100%\" border=\"0\" cellspacing=\"0\"
 cellpadding=\"0\">
 <TD align=\"center\" valign=\"center\">
 <p>
 <script type=\"text/javascript\"><!--
 google_ad_client = \"pub-9906382443560085\";
 google_ad_width = 180;
 google_ad_height = 150;
 google_ad_format = \"180x150_as\";
 google_ad_channel =\"\";
 google_ad_type = \"text\";
 //--></script>

 <script type=\"text/javascript\"
   src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
 </script>
 <p>

 </TD>
"));

The sites are www.freechem.org/pmwiki_live/ and www.freechem.org/test

I copied wiki.d/ and local/ files from the old to the new one, so the files should be identical. I did not move the icon, though.

Any idea what causes the problem? Did the markup syntax change?

Zvi.



More information about the pmwiki-users mailing list