Red Crackle Blog

Code quality guidelines for large Drupal projects

Are you wondering what code quality guidenlines your Drupal developers should follow in addition to Drupal's coding standards to make the code readable, secure and performant? What are the best practices so that developers can follow each other's code easily and make code review faster?

Working With The Drupal Google Analytics Module

Google Analytics is the world's most popular tool to gain quality online insights. Drupal offers a module to leverage its potential to the fullest. In this article, we will help you configure the Drupal Google Analytics module.

The biggest advantage this module offers is that you don’t have to copy the tracking code to each page you wish to track. Pasting the Tracking ID in the module’s configuration page will be enough.

How To Perform A Registry Rebuild Manually In Drupal?

There are several cases where you will have to rebuild the registry in Drupal. I have encountered one such case in the form of this error:

Fatal error: require_once(): Failed opening required '/files/mailsystem/'  

This error seems to be occurring in many scenarios.

Ideally, a Registry Rebuild would take care of the issue. But it didn’t help in my case.

I even tried to run a drush rr command but it didn’t work.

Drupal Testing Methodologies Are Broken - Here's Why

That's right! I said it. Currently available Drupal testing methodologies are broken. They are nowhere close to being enterprise-ready. All Drupal developers who have worked on long-term projects have felt this pain. Yes, Drupal 7 ships with Simpletest module. But there are two big problems with it:

How to install Drupal 7 with Nginx, PHP-FPM and MySQL on Ubuntu 14.04

Ubuntu 14.04's package manager (apt) installs PHP 5.5 by default. Although Drupal 7 core works on PHP 5.5, some contributed modules may not. In that case, you may either need to fix the module or downgrade to a lower version of PHP. In this article, we will show you how to install PHP 5.3.29 with PHP-FPM from source on Ubuntu 14.04. On top of this, we will install Nginx and MySQL to have a working Drupal 7 website.

Using Views Exposed Filter In Drupal 8

The Views Exposed Filter functionality helps users select or filter data on the display. In our example, we are going to cover the basic steps involved to use the Views Exposed Filter.

Here, we are going to create a views display with content titles by setting an exposed filter for the content types. The resulting display will look similar to the one below:

Views Exposed Filter screen

For achieving this, we need to do the following steps.

Ready to get started?REQUEST A QUOTE