Project:Content Injector (formerly AdSense Injector)
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

The excellent adsense injector needs the ability to place the injection at different positions in the node. It would be nice to define beginning of node, x paragraph of node, end of node, etc.

Comments

#1

Status:active» postponed

I would love to be able to do this. Unfortunately, detecting 'paragraphs' reliably is beyond my ability, and the scope of this module at present, and therefore, this feature will have to be postponed.

Perhaps it's simpler than I think. If someone can point to a bit of PHP/drupal code that will *reliably* detect and allow insertion at a particular paragraph within the current node body (taking into account the input filter / node format currently selected of course), please re-open this issue with a link to the example code that can do this. (Or, submit a patch.)

#2

Version:5.x-2.1» 6.x-2.x-dev
Status:postponed» closed (duplicate)

Duplicate of #141096: Inject adsense into content
Moving to 6.x dev, since 5.x is no longer supported.

nobody click here