Need ability to define point of injection

zoon_unit - March 8, 2007 - 08:34
Project:Adsense Injector
Version:5.x-2.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

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.

#1

grateful_drupal_user - March 17, 2007 - 20:59
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.)

 
 

Drupal is a registered trademark of Dries Buytaert.