Editorial Team

Web development experts producing the best tutorials on the web. Want to join our team? Get paid to write tutorials.

How to Attach Files to Emails using Webform in Drupal

By default, Drupal does not support allowing a user to upload a file in a webform which can then be sent as an email attachment. Drupal can accomplish this using the contributed modules Webform and Swift Mailer.

The Webform module is a comprehensive module that allows you to create and configure webforms. In a nutshell, it will enable you to create a webform with many variations of form fields. After submission, the results can be sent via customizable emails.

This tutorial will focus on creating a file upload field whereby a user can upload a local file into a webform.

Create URL Redirects in WordPress using Redirection

A redirect maps one webpage to another and is a useful way to keep site visitors interacting with your site. Creators benefit from redirects mainly from traffic retention whether there was a typo in a URL, content had been removed from your site and it returns with a 404 error, or if you deal with moving or managing multiple domain names.

The redirection plugin provides a redirection manager for managing 301 redirects, logging 404 errors, migrating permalinks, and general clean up of loose ends.

Send Webform Submissions to Mailchimp in Drupal

The Webform Mailchimp module allows you to send Webform submissions to your Mailchimp list whilst also allowing you to map the Drupal webform fields to MailChimp form fields.

When a user submits the Drupal webform, the submission details are sent directly to MailChimp. When you log into MailChimp you can view the submission details within the MailChimp interface and the fields are mapped accordingly.

This can be easily accomplished using the Webform Mailchimp module (along with its dependencies). The dependencies are:

You need a MailChimp account (with at least one list).

Getting Started with Metatag Module in Drupal

The Metatag module allows you to configure structured metadata such as meta descriptions and meta keywords for your Drupal website. You can do this at the global level, on a per content type basis, per node basis and even on a per view page basis.

In this tutorial we will show you how to:

  • Install the Meta Tag module
  • Configure meta tags for a content type
  • Override meta tags on a per node basis
  • Override meta tags for View pages
  • Have more granular permissions for meta tags fields
  • Specify meta tags for different favicons

Getting Started with Gutenberg (Block Editor) in WordPress

Previously, the Classic Editor was the default editor for WordPress. It lacked the ability to format individual content elements, and it required additional plugins and some coding knowledge to achieve the desired outcomes. However, this was not beginner friendly to many individuals who wanted to create a site without much technical knowledge.

In an attempt to enhance the experience, the Gutenberg editor was developed and introduced as a DIY, beginner friendly editor. Through the use of drag and drop content blocks, Gutenberg allowed for the creation of rich content with a simpler interface and easier execution of added elements.

Gutenberg does not require installation for WordPress sites 5.0 and later as it became the default editor for increased user experience. Further information can be found on the plugin page for Gutenberg by Gutenberg Team.

In this tutorial, you will learn how to create pages using the Gutenberg editor.

Getting Started with Mailchimp in Drupal

Mailchimp is a web based email marketing service used to send mass emails to a list of subscribers.

Drupal, out of the box, already allows you to send emails. However, there are distinct advantages to using a service like Mailchimp to send emails and maintain your mailing lists.

In this tutorial, you’ll learn how to integrate Drupal and Mailchimp.

The Mailchimp module integrates Mailchimp and Drupal by allowing Drupal to connect via Mailchimp’s API. This module also comes with a few submodules. Each submodule provides additional functionality that leverages Mailchimp’s features.

Create Draft Revisions using Yoast Duplicate Post in WordPress

Content creators may want to repurpose old content or simply update it. A great solution is to use the Yoast Duplicate Post plugin. It allows for the duplication of posts and pages.

A user can create a draft revision of an existing page or post and later republish this content when they are done modifying. Republishing overrides the previous post. Another way to repurpose content is to edit previous content and publish it as new posts.

In this tutorial, you’ll learn how to use the Yoast Duplicate Post plugin.

Bulk Update Content using View Bulk Operations in Drupal

View Bulk Operations, commonly referred to as VBO, is a module that allows specifically defined actions that can be simultaneously executed on rows of Views data.

This tutorial will show how to install this module and set up a simple View with a defined action and VBO field. We will then demonstrate how to use VBO to perform this action on selected View rows. We will also show how you can define permissions for roles to use our defined action.