Active
Project:
Content Injector (formerly AdSense Injector)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Dec 2011 at 18:33 UTC
Updated:
4 Aug 2013 at 21:07 UTC
It would be nice to be able to insert content before the xPath expression's result element.
Proposal: Add a checkbox to the inline element insertion's xPath expression:
[ ] Insert before found element
Which defaults to unchecked.
If this checkbox is checked, the insertion will take place before the insertion point resulting from the given xPath expression. This will allow insertion at top/bottom of the node body using xPath (thus making the top/bottom insertion templates redundant, or, they could be implemented using xPath internally.)
Comments
Comment #1
grn commentedVery good idea!
This gives the possibility to add code after a top image and before the first paragraf. For example when inserting a floating ad with float left.
Thanks! +1
Comment #2
greg boggsComment #2.0
greg boggsFix