Tips and Tricks: Modules

User Default Page or Login Destination for login redirects in Drupal 8 and 7

The Drupal modules User Default Page and Login Destination allow you to customize the destination that a user is redirected to after logging in, registering or logging out.

Login

Simple Responsive Table, an awesome Drupal 8 module: Get responsive tables instantly!

Drupal lives from awesome modules which extend Drupal with great functionalities and modules which make things smooth and quick. Simple Responsive Table is the ultimate time saver and belongs to the latter. Simple Responsive Table is really an awesome module: Installation is quick, the module works instantly and is very easy to configure. Most importantly, it is of high value because it saves you lots of time fore manual coding.

Drupal Simple Responsive Table module

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

How to get the file path of an image as replacement patterns in views

You can achieve that by using the Image URL Formatter module.

This module adds an url formatter for image field. Then you can output the image url directly.

Usage:

How to implement Rooms 7.x-1.8 properly - Problem with full calendar library

Drupal Rooms is a booking and room management solution for hotels, vacation rentals and B&Bs. With the change from Rooms 7.x-1.7 to 7.x-1.8 the installation requirements have changed significantly. This article shows you the changes and how to implement Rooms 7.x-1.7 and Rooms 7.x-1.8 properly. Following the below instructions you can avoid the typical problem with the full calendar library.

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 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 Drupal module Menu Firstchild to create menu items without links

By default, Drupal requires that you enter a path for each menu link you add/edit from the Menu administration page. There are cases you may want to create a parent item, without any path, that simply links to its first viewable child item. Menu Firstchild provides this functionality.

Another similar solution (didn't worked smoothly in all cases): Special menu items

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