Drupal Howtos

A how-to is a short description of how to accomplish a specific task. This is a compilation of Drupal related howto's which I provided to friends or which I applied myself. Targeting the Drupal beginner they provide simple and detailed step-by-step descriptions with pictures.

Enjoy the new comparision function to compare the rating and features of the best Drupal themes

Drupal4U tested and rated the best free and paid Drupal themes for you. We recommend these themes because we think that they incorporate a great design and because they are of high quality. Beside the technology this includes the aspects of administration and online marketing. We believe that a great theme is easy to customize & administer and was built with all aspects of online marketing in mind.

Drupal4U themes section

Troubleshooting: Impossible to save settings for a new Multimedia asset field

Using 7.x-2.0-alpha4 or media 7.x-2.0-alpha3 of the Drupal media module, you might get the following error while saving the settings for a new multimedia asset field.

"Notice: Undefined index: settings in media_field_instance_validate() (line 382 of [...]\sites\all\modules\media\media.module). The upload destination must be one of the allowed schemes."

Whether you check upload or any other option has no influence. To solve the problem you have to options.

How to solve the problem with the mobile dropdown menu of the Surreal Drupal Theme?

If you purchased the Surreal One Page Parallax Drupal Theme (inspiromedia) in the past or recently (status October 28, 2014) you will encounter a problem with the mobile drop-down menu. All menu entries on the same page as the homepage starting with # work, all the others don't work. The cause is wrong coding.

To resolve the problem you have to edit and change the following section of the inspiromedia.js (sites/all/themes/surreal/js):

Change from:

How do I find the authoritative name-server for a domain name?

You'll want the SOA (Start of Authority) record for a given domain name, and this is how you accomplish it using the universally available nslookup command line tool:

command line> nslookup
> set querytype=soa
> webrealizer.org
Server: 217.30.180.230
Address: 217.30.180.230#53

Non-authoritative answer:
webrealizer.org
origin = ns1.your-server.de
mail addr = postmaster.your-server.de
serial = 2014110601
refresh = 86400
retry = 10800
expire = 3600000
minimum = 86400

How to troubleshoot white screen of death (WSOD) after admin login – move of Drupal website

In our experience it happens from time to time that one gets a "white screen of death" - short WSOD - after the login with the admin account. Most frequently this happens after the move of a Drupal website to a new host. This is of course very odd and can lead to a very time consuming troubleshooting. Unfortunately we did not find out the precise causes and we couldn't find clear answers either. But processing the following set of measures always helps us to resolve the problem.

How to choose, download and install additional themes?

Themes allow you to change the look and feel of your website. This howto will give you step-by-step instructions how to choose, download and install a theme.

List of Drupal themes

"From address" doesn't work in Forward Module. How to solve the issue?

If the "From address" is left blank the site email address is used instead of the address entered by the user. This howto shows you how to solve the issue quickly.

Drupal 7: How to override the page.tpl for specific content types?

A common override that is not included in the default list is the page.tpl.php override based on the content type being displayed. There is a node.tpl.php override based on the same condition which leads to confusion as to where the page override exists. On top of that, themes like Zen add this type of override to the Template Suggestions, which leads those using Zen to believe that this is part of the default list. Check the theme documentation to see if this override has been added to the Template Suggestions by the theme. If it hasn’t, you need to add it manually.

Drupal PHP

Pages

Drupal themes to be compared