Drupal Tips and Tricks

The installation, configuration and the work with Drupal obviously brings some challenges. Within this section you find some Tips and Tricks which shall help you to make your work easier.

Use these Modules

I use these modules on almost every Drupal site I build: Views, PathAuto, References, Display Suite, Panels, Chaos tool suite (ctools), BUEditor and Backup and Migrate.

Meta Tags in Drupal 8: Special elements beyond nodes/taxonomies/views

Meta tags in Drupal 7 was super easy: With the modules Meta Tag and Meta Tags Quick you could do anything. In Drupal 8 the module meta tag covers the standard cases but meta tags quick is not available in a usable version. So what to do?

Drupal module context metadata

Use Disqus to build an active community

Usually it is essential for the development of a website to encourage user interaction. If you use the standard Drupal function “Comment” you will quickly realize that it is nice as a start but very limited too.

If you want to use an advanced service to build an active audience commenting your content I recommend you disqus.com: Disqus is a comments platform that helps you build an active community from your website's audience. It has awesome features, powerful tools, and it's easy to install.

Don't use style.css for CSS modifications; create an alternative file

If you make CSS modifications in the style.css, they will be overwritten if you install a new version of a theme. To avoid such problems it is highly recommended to make modifications in an alternative .css file.

Troubleshoot error message after update/installation of module/theme with "undo"

Occasionally it might happen that you get an error message or even a fatal error after updating/installing a module or theme. If so, try to undo the recent changes first.

Issues page for Drupal Views

Use distributions for a quick installation

The classical way to install Drupal, is to download and install the latest Drupal Core from drupal.org. If you want to save time, I recommend you to get familiar with the Drupal Distributions, which make it possible to quickly set up a complex, use-specific site in fewer steps than if installing and configuring elements individually.

Drupal Distributions

Install the administrator menu module to save time

Using the standard administration menu often requires you to click several times to get to the desired function. To make this process faster you can install the "Administration menu" which gives you a direct access to the different admin functions (drop-down menu).

Drupal administrator menu module

Install Drupal on your local machine(s)

Installing Drupal on your local machine(s) offers you manifold advantages. First of all, it allows you to work (much) faster compared to when working online. Secondly, it offers you the perfect playground to experiment and test things.

Experiment

The best way to learn anything new is by doing. Just start working on whatever it is you’re trying to do. Start small, just do! To experiment and play around you can install Drupal on your local machine(s).

Back up your database

Install the module Backup and Migrate to back up your Drupal site. This is probably the easiest way to back up and restore your Drupal MySQL database.

Drupal module Backup and Migrate

Pages

Drupal themes to be compared