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.

"Clear all caches" when something goes wrong

During the development of your site it might happen, that you can't see changes in your browser or that the site acts strangely. Frequently the problem can be very easily solved by clearing the cache. To do so go to Configuration > Development > Performance and press "Clear all caches".

Drupal Clear Cache

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.

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.

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.

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).

The best free stock image websites for your Drupal project (2018)

With human brains processing images much faster than text, good photos are vital for grabbing attention and getting messages across. Unfortunately, we’ve grown accustomed to seeing cheesy stock images of people in suits shaking hands. These stock photos not only lack quality, they also cost a lot of money. Thankfully, there’s been a growing number of websites with beautiful free stock photography popping up all over the web. We selected the best free stock image websites available end of 2018.

The best free stock images websites for your Drupal project

Pages

Drupal themes to be compared