23 February, 2023 seen 1,608A sitemap is a critical aspect of any website, including Drupal websites. It helps search engines like Google to…
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!