Skip to main content
Working from scratch, following simplicity

theming

Sponsored Links
PubblicitĂ 

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

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.

Nicola Rainiero

A civil geotechnical engineer with the ambition to facilitate own work with free software for a knowledge and collective sharing. Also, I deal with green energy and in particular shallow geothermal energy. I have always been involved in web design and 3D modelling.