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 |
Jump to:
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
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.)