Tips and Tricks: Modules

Use the module Taxonomy Menu to easily create menus from your taxonomies

Drupal Taxonomy Menu module

Frequently it might happen that you want to create a menu from your taxonomies. Of course you can do so manually by putting the taxonomy into a menu. But this is quite a lot of extra work and furthermore requires you to update the menu each time the taxonomy changes.

Use the module Splashify to display a splash page on your frontpage or anywhere on your Drupal website

The Drupal module Splashify allows you to display a splash page anywhere on your site by redirecting the user, by showing a lightbox, or by displaying a popup. This module is designed to be search engine friendly, mobile device friendly and offers multiple configuration options. Thus you can decide when, where, what and how the splash page shall be displayed. As such you can configure the splash page to be shown to particular roles and on specific pages.

How to hide an empty shopping cart with drupal commerce

  1. Find the "Shopping cart block" view
  2. Create a new block display
  3. Edit the"Commerce Order:Order ID" contextual filter
  4. Set it to Provide default value > Type = Current user's cart order ID
  5. Then use that new block you have just created in your site. It will not show if the cart is empty

Use the Drupal module "Secure Site" to easily and quickly restrict the access to your website

If you need to control the access to your Drupal website, so that only authorized people can see restricted sections or the entire site, the Drupal module Secure Site offers you a very easy and quick way to do so. Just download, install and enable the "Secure Site" module and there you go.

Use "Virtual Sites" to create subsites or virtual sites (multi-site feature)

Drupal module "Virtual Sites"

If you want to create an additional website without the installation of an another instance of Drupal or if you want to create a subsite or virtual site without the complicated set-up of the multi-site feature, I recommend you the module "Virtual Sites". It allows you to set-up an additional site within very short time. All you need to do is to install the module, to add a new virtual site and to configure it.

Use the External Links module to handle external links

Drupal External Links module

If you want to handle external links differently than internal links (Example: Open all external links in new window) without additional coding, I recommend you to install the External Links module :"External Links is a small module used to differentiate between internal and external links. Using jQuery, it will find all external links on a page and add an external icon indicating it will take you offsite or a mail icon for mailto: links."

Forget the Drupal SEO modules from LevelTen Interactive

Over time I stumbeled over SEO related Drupal modules from LevelTen Interactive and I tried them. Having all my experiences in mind I came to a very clear conclusion: Forget these modules, don't try to install them if you don't want to waste your time! Why?

Drupal views & lightbox: How to add lightbox to a view of images

Do you have a view of images and you want to add the lightbox functionality to it? Nothing more easy than that!

Use the Drupal module GeSHi Filter for syntax highlighting

The Drupal module GeSHi Filter offers you a convenient way to display different code on your website (php, html, css, js, etc.). The GeShi Filter module provides a filter for source code syntax highlighting for a wide range of languages. At the time of this writing the GeSHi library supports highlighting for more than 200 programming languages and configuration syntaxes.

Important notes:

Use the Drupal module "Empty Page" for pages that only consist of blocks

Frequently you might want to create Drupal pages consisting only of blocks. Apparently to create a page with a title and to configure the block to display with this page is not a very proper solution. Thus we recommend you to use the Drupal module Empty Page which allows you to create "empty" menu callbacks. You just define a link and optionally a title and you are done.

Pages

Drupal themes to be compared