Project:Content Injector (formerly AdSense Injector)
Version:6.x-2.7
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'd like to do something like this with the "Node body ad insertion template"

<div style="float: right; margin: 0; padding: 0 1em .25em 0;">[adsense:250x250:%slot]</div>%body<br class="clear"/>[adsense:728x90:%slot]

Where %slot is a CCK field the author of the node fills in. Is this possible?

Comments

#1

Not sure if this is what you're going for, but I think it would be very cool if there was "Adsense Injector" CCK field type. Someone could simply add the field to their content type and then insert the necessary Adsense code.

The only issue would be placement but could be fixed by tweaking the tpl.php using dsm() function to identify the field output.