We developed Hop Inject to solve a very common but tricky problem: We wanted to place an advertisement after the 3rd paragraph on a page.
But, since this is EE we’re talking about, of course the 3rd paragraph was in a custom field of an entry, and it was hard to add at run time. In addition, we thought, what if we wanted to add a photo after the 4th paragraph? Or a pull quote after the 6th and 9th? What if we want to let editors add images into stories wherever they want, but they don’t know HTML?
Hop Inject does the trick. It lets you specify where an injection should occur (such as, “on paragraph tags”); it lets you specify which of those separators should get the injection (for example, “the third and the eighth”); and it lets you specify what the injection should be. It also lets you choose whether the injection should occur before or after the separator.
|Last Update||one month ago|
|Compatibility||EE 5, 4, 3, 2|