Drupal 7 create an iframe from a node for embedding Here is the following situation: You have a content type in Drupal 7 that…
Technology
Drupal 7 check if page is using panels
In drupal 7 check if page is using panels is just one line of code but comes in handy very often. Some times you…
Drupal 8 add icon to block title based on block title
I needed a way for the the block template to decide whether the title needs an icon or not before it. Here is a…
Linker Digital 7 segment display
I needed a smaller 7 segment display for one of my projects and found a 1 cm Linker Digital 7 segment display at a…
SDA and SCL on Arduino Nano – connecting I2C devices to Arduino Nano
I got some Arduino Nanos at really good price on amazon and wanted to connect a 7 segment LED display with an I2C backpack.
Drupal 8 get node title
For Drupal 8 get node title is not as straight forward as it used to be in Drupal 7. We used to have $title…
CYBER MONDAY hosting deal – Host your website at Bluehost
Take the $2.40/Month CYBER MONDAY Hosting DEAL (11/28/2016) $2.40/Month BLUEHOST deal
Drupal 8 views field templates – naming convention
How to name drupal 8 views view field templates html.twig files. In drupal 7 views we used to have the theming information button in…
Add search icon to Drupal Solr search form when using panels
In this project I was using Drupal with Panels and Apache Solr search module. Here is a snippet that will add a font-awesome icon…
Automatically refresh Drupal page in browser using meta tag
The following code will add a meta tag in the head of the html to automatically refresh Drupal page in browser.