Any plan to support "new single page call ad tag"?

abx - October 4, 2008 - 17:46
Project:Openads
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm wondering if you have any plan to support for "new single page call ad tag". Actually, I've tried OpenX module from OpenX and I really don't like that they put the code below :

<script type='text/javascript' src='http://d.openx.org/spcjs.php'></script>

That means... all page load will call OpenX Server which is not right. Also, that is the only main different that OpenX said about your module and their module ( http://www.openx.org/en/faq/how-openx-module-drupal-different-existing-m... )

How is the OpenX module for Drupal different from the existing module?

We have updated the existing plugin (by Jeff Warrington (jaydub)) to use the new single page call ad tag, and to simplify the configuration required in your Drupal control panel.

#1

abx - October 4, 2008 - 19:43

I tested your module and it worked fine with blocks that the module created. But when I used my manual invocation

<?php print openads_invoke([1]); ?>

That didn't work. If I put into template, my page goes blank. If I put into block, nothing shows up. I need to make it work by tonight. So, I had to test module from OpenX again. Then, I found that if I put "delivery option", the path now change to my own server.

#2

jaydub - October 9, 2008 - 04:16

The line in the README that mentions the manual invocation is
a bit misleading. Where it says:

<?php print openads_invoke([index]); ?>

The mention of '[index]' doesn't literally mean that you should
wrap the zoneID in brackets []. So actually in your case it
should be

<?php print openads_invoke(1); ?>

I'll have to improve the docs to make this more clear.

As to your other question, yes I would like to look into supporting
the all in one page call tag. If possible I want to be able to support
this in more than just the case of Javascript invocation as we
use XML-RPC in production.

I'll be on holiday in a few days so will revisit when I return.

 
 

Drupal is a registered trademark of Dries Buytaert.