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 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:

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?

The magical trio of Drupal content management: Bundle copy, node clone and node convert

Creating content types and content can use-up lots of your time and energy. Our experience has shown that there are three key modules, which allow you to speed up this process drastically. These modules are particularly valuable for the creation of mock-ups with demo content.

The magical trio of Drupal content management

Use the Drupal module PDF to ImageField to generate images from PDF Files

If you use a filefield to upload PDFs you might want to display a preview thumbnail or to generate a gallery of images from the document. If so, the Drupal module PDF to ImageField is the solution you are looking for. he PDF To ImageField module provides automatic conversion of uploaded PDF files to images. The module is implemented as an additional widget for
File Field where PDFs are uploaded to. It places generated images into a Image Field on the same content type.

Use the module "Quick Tabs" for tabbed content

If you want to create tabbed content for your website, the module Quick Tabs is probably the easiest solution. As the name promises, this module allows you to create tabbed content quickly and easily.

Use the module "Quick Tabs" for tabbed content

Drupal Commerce membership websites - Role-based products & recurring payments

1., 3., 4. and 5. can be combined to sell product based roles and to have an advanced recurring framework (compared to 2.)

Drupal Commerce membership websites - recurring payments

Use the PagePeeker Screenshots module to display screenshots from websites

The probably easiest and fasted way to fetch and display screenshots from websites is to combine the PagePeeker Screenshots with the Link module. Just install and enable both of the modules, add a link field to the content type and select "Pagekeeper thumbnail" as display format (Manage Displays). You can choose between a free, a link-back and a paid version of PagePeeker.

Alternative modules:

Use the module "Commerce Fancy Attributes" to add a color and/or size selector to the cart form

This module provides a "Rendered term" attribute mode, that shows the rendered term instead of a radio button (degrades to a normal radio button when JS is off) on the add to cart form.

How to use the module to add a color selector:

Drupal module "Commerce Fancy Attributes"

Drupal Views: Exclude current node from a list view

In some situations, for example a block listing nodes related to the node being viewed, you might wish to exclude the current node from a list view.

Views 3

Drupal Views

Drupal Commerce: How to collect additional case specific (rules) information during checkout

Using Drupal Commerce to create a webshop one very often encounters situations, where one needs to retrieve additional information from customers on a case per case basis. Maybe if a particular product or product type is in the basket or if specific information for the product delivery needs to be retrieved. So you wish you could add more profile types and you could enable and disable them based on predefined rules.

Drupal module "Customer Profile Type UI"

Pages

Drupal themes to be compared