Posted by zoon_unit on March 8, 2007 at 8:34am
Jump to:
| 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
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
Duplicate of #141096: Inject adsense into content
Moving to 6.x dev, since 5.x is no longer supported.