Inject Block In Drupal 7 Node With Block Inject module

Updated: 20 February, 2023 seen 2,047

I was looking for options to inject Google Adsense ads into my Drupal blog. There are a few modules and tactics available. But today I found an excellent module - Block Inject.

The Block Inject module allows for regions to be created and injected in the middle of chosen node types.

You can create any number of regions to inject as well as select as many node types you would like these regions to be injected in. The blocks you assign to these regions will then appear in the middle of the body field of these node types if the number of paragraphs is bigger than 2.

Download it here: Block Inject

Here is an example of injected Google Adsense into the middle of content:

I tried to install the latest dev version, but that broke things up, so I stayed with the alpha version.

Update: You might try the latest version now (This module have been updated on May 23, 2015)

If you need help with Drupal modules or Drupal website development - hire me!

about

Hi! My name is Reinis Fischer (38), a proud dad and devoted husband. CEO and Founder of Terramatris crypto hedge fund, drone enthusiast, world traveler, photographer, and passionate lover of Georgian cuisine (vegetarian).

An ex-pat living in Georgia since 2011, I trade stocks, take photographs, work out at the gym, and many more. Here I write about travel, finance, and other things that might interest me.