Drupal 7

How To Update to PHP 7.4 Ubuntu 16.04 Drupal 7 Nginx

I was facing problems with some Drupal modules not being supported, before upgrading to PHP 7.4 version.   As I had running Ubuntu 16.04 server with Nginx and PHP 7.0 FPM on in I felt a bit afraid performing a live update and decided to…

How to Install Drupal with Nginx, PHP-FPM 7.4, MySQL, phpMyAdmin on Ubuntu 20.04 - Linode Guide

In this article, you will learn how to setup webserver for serving  Drupal  websites running with Nginx, PHP-FPM 7.4, MySQL and phpMyAdmin on Ubuntu 20.04 For the following tutorial, I used very much the information from my previous guide…

Drupal 7 Fix: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.

I was migrating Drupal 7 website to a newer infrastructure (PHP 7.4) and during the migration process when tried to connect to the MySQL database  I faced following error - SQLSTATE[42000]: Syntax error or access violation: 1231 Variable '…

How To No-Follow External Links, But Still Do-Follow Internal Links - Drupal 7

In this Drupal development tutorial - I will explain how you can nofollow external links, but still dofollow internal links on your Drupal website. For a starter - let me explain the reasons when and why you should need such an option.You…

How to add Pin It button to Drupal 7

In this Drupal tutorial I will show you how to add Pinterest Pin It Button to Drupal 7 site using views and html.tpl.php file. I like it keep it simple, and I have created a separate view for all social share plugins (Facebook, Twitter, G…

Adding CAPTCHA to Drupal 7 Webform

In this tutorial, I will show how to add CAPTCHA module to the Drupal 7 webform. Why? I was sick and tired to manually block spammer's IP addresses.  How To Add CAPTCHA Protection to Drupal 8 Webform In order to work with this tutorial,…

Inject Block In Drupal 7 Node With Block Inject module

I was looking for options to inject Google Adsense ads into my Drupal blog. There are 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…

Add Menu Classes In Drupal 7

In this Drupal tutorial I'll show how to add menu classes to your Drupal 7 website using template.php file. Original of this tutorial has been found here. Add this function to your template.php file: <?php /** * theme_menu_link() */…

Add Viewport in the <head> in Drupal 7

In this Drupal Tutorial I will show how to add a new HTML in Drupal 7 head section. I'm using responsive design to enable my blog work pretty ok on mobile devices, but yesterday looking through Google PageSpeed Insights suggestions I found…

Drupal 8 Release

Update: The first official Drupal 8 release was launched on November 19, 2015 When will Drupal 8 be ready? We are working hard on Drupal 8 and making progress every day. The first beta release was announced at Drupalcon Amsterdam in…