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

mcurry’s picture

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.)

mcurry’s picture

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.