theming

Two steps to embedding an iframe in every page and into a fixed position of a Drupal 8 site using jQuery

Submitted by Nicola Rainiero on 2017-02-20 (last updated on 2017-02-22)
Two steps to embedding an iframe in every page and into a fixed position of a Drupal 8 site using jQuery

Sometimes you have the necessity to put in a fixed position of every article of your site a block of content, in my case one or more adverts, but Drupal 8 and its new theming system doesn't help you much. So I'll try to show you my first rough solution via jQuery and iframe, hoping to obtain some idea to improve it or another method more efficient, maybe through only Twig.