Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Body Inject (Content/Ad Injector)

Security covered Under active development 23 sites

This module allows you to inject blocks directly into the body field of your nodes. This is useful for adding content like advertisements, announcements, or promotions at specific points within the text, such as after a certain word count. It provides a simple and fast way to manage these injections globally across your site.

This is a fork i did of the block_inject module: https://www.drupal.org/project/block_inject Drupal 7 only

INFO

The 1.1.1-beta 1 will not work with layoutmanager in D9. It will work in D10. Cause: array structure changed.

What does it do

This module makes it possible to inject blocks into a nodes body. I use it to inject ads after a word count into the text.
You can also use it to add special annoucements or promotions to body fields.
You could also use it do ad blocks with additional info at the end or the start.

It is a simple and fast way to do that globally.

Config

Simple Config example see : http://www.root.artwaves.de/sharex/04-11-21--20-10-06.jpg
There is a condition that has to MATCH for any injection to happen at all!

Status

I use that module on my own sites and it works so far for my usecase.

Ask your assistant about Body Inject (Content/Ad Injector)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.1.1-beta3 Pre-release 8–11 Apr 26, 2024
1.1.1-beta2 Pre-release 8–11 Mar 28, 2024
1.1.1-beta1 Pre-release 8–10 Jan 12, 2024
1.1.0-beta2 Pre-release 8–10 Dec 5, 2023