SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

| Drupal
How to Validate Field Submissions in Drupal

As OSTraining member asked us how to validate fields in Drupal 8.

In this particular example, they wanted to make sure that every entry in a text field was unique. 

For this tutorial, you will need to download, install and enable the following modules.

Read more ...

| Drupal
How to Use Entity Print in Drupal 8

An OSTraining member asked us how to configure the Entity Print module with Drupal 8.

This module allows you to make a PDF version of your nodes

I would recommend that you install Entity Print using Drush, because you will need to install also need to install a composer package. This package contains the library to create PDFs.

Read more ...

| Drupal
Access Readme Files in Drupal 8

In this tutorial, we will add a module that makes site maintainers' lives easier.

With Drupal 8 setups you are encouraged to use Composer, DrupalConsole and Drush because this is a faster and more effective way of adding components to your site. However, if you use those solutions, you can't access the readme file directly to read information about the module.

We will show you how to use the README module to access readme files directly from the Drupal 8 admin area.

Read more ...

| Drupal
Drupal & Bitnami Multiple Environments

An OSTraining member asked how to setup a Bitnami environment that supports PHP 5.4.

The Bitnami Wamp stacks are available in 3 versions here:

  • 5.5.37
  • 5.6.23
  • 7.0.8

Each of these provides an environment that is preconfigured with a different version of PHP.

5.5.37 comes with PHP 5.5, which you should also use for 5.4 setups. The reason 5.4 is no longer available is because the changes between 5.5 and 5.4 are minimal. You can read more about the changes on the official change log here.

Read more ...

| Drupal
drupal bitnami

Bitnami is a software that allows you to install website applications such as Joomla, WordPress and of course Drupal.

In this tutorial, we will show you how to install Bitnami on Windows to create a Drupal 7 site.

Read more ...

| Drupal
How to Develop Drupal 8 Modules

A lot of OSTraining members have been asking us for this class. Today, we're delighted to release, "How to Develop Drupal 8 Modules".

During this 40-video class, you'll develop two modules using step-by-step instructions. These module examples will show how to hook into Drupal's existing functionality. While building these modules, you'll modify forms, create blocks, use hooks, leverage Drupal's APIs, write and read from the database, and much more.

Read more ...

| Drupal
Adding PDFs to Drupal

An OSTraining member asked us about attaching PDFs to a Drupal site.

It is possible to use the default File field and allow people to download the PDF. However, this member wanted visitors to read the PDF directly on the site.

Read more ...

| Drupal
1/2 Million Views of the Drupal 8 Beginner Class

Drupal 8 is now eight months old.

Has it been a success so far? Yes. Drupal 8 is running over 100,000 sites and is now more popular than Drupal 6.

As a training company, we try hard to support Drupal 8. We've set ourselves a goal to help as many people as possible to use Drupal 8. In 2015, we launched a Kickstarter project which provided enough financing to release over 200 free videos on YouTube. The training is the best available for Drupal 8, and it’s completely free.

The first videos were released were in The Drupal 8 Beginner Class

Today, I'm delighted to say we reached a major milestone. The Drupal 8 Beginner Class has been viewed over half a million times. That's a lot of people learning Drupal 8!

Read more ...

| Drupal
How to Create a Node Override in Drupal 8

For Drupal 7 users, many things have changed in Drupal 8, but many are reassuringly familiar.

One great example is template overrides. The process for creating an override is very similar. But the actual override files are different and so is the code inside them.

In this video, Rod shows you how to create a node override in Drupal 8. You'll see where the core modules are located in Drupal 8 and how to edit a Twig file.

Read more ...

| Drupal
Make a Drupal Menu Appear Only a Single Node

An OSTraining member asked how us how they could display a menu block on one single page. They wanted to have relevant links appear only next to a single node.

For this tutorial, we will be using Views and menu block to provide a custom link block that will only display on a specific page to link to relevant information.

Read more ...

| Drupal
Track Google Analytics Clicks and Downloads in Drupal

Over the last week, several people have asked us about tracking Google Analytics "events" on their Drupal site.

"Events" describe anything from clicking on an external link to leave your site or downloading a file.

We're going to use the Google Analytics module which is available for Drupal 6, 7 and 8.

Read more ...

| Drupal
Drupal 8 and the EU Cookie Consent Law

One of our OSTraining members asked how to add a cookie notification message to their Drupal 8 site.

We recommended the CookieConsent module which provides an easy solution to deal with the EU's Cookie Law.

Adding a cookie notification is particularly useful if you want to do more with cookies. For example, it's illegal to use SuperCookies without consent.

Read more ...

| Drupal
Use Drupal Console and Composer For Faster Development

One of our OSTraining members asked us about the best way to install Composer to manage dependencies.

While Composer can be used to add module dependencies in Drupal, it's more practical to also use DrupalConsole to handle the process. Console automatically passes the requests to Composer. 

From the terminal command line running the following commands will install both Console and Composer together.

Read more ...

| Drupal
Restricting Access to Content in Drupal 8

One of our OSTraining members wanted to restrict access to certain content on his Drupal 8 site.

To do this in Drupal 8, we are going to use the Content Access module.

To follow along with this tutorial, download and install Content Access. I found no errors while using this module, but please note that currently it is a dev release. You will need to enable both options provided.

  • ACL
  • Content Access

Read more ...

| Drupal
Improve The Drupal 8 Admin Menu for Content Creators

The Drupal admin interface needs to keep a lot of people happy. The admin interface is often used by everyone from very experienced users to complete beginners.

One of our members asked if it was possible to create a custom menu for their content creators. They wanted one single place for Drupal beginners to find all the links they needed.

In this tutorial, we'll show you how to do that and also create a faster, more usable admin menu.

Read more ...

| Drupal
The Coffee Module Makes Life Easier for Drupal Admins

Navigating through Drupal's admina area can be complex for users.

Drupal's Coffee Module can help Drupal newcomers. Coffee adds an additional search function which allows admins to search and go directly to the areas they need.

Coffee is available for both Drupal 7 and Drupal 8.

Read more ...

| Drupal
Kint is the Drupal 8 Alternative to Krumo

Kint is part of the new part of the Devel module in Drupal 8.

Developers who worked with Drupal 7 may remember Krumo, which is a very helpful debugging tool. Kint is an almost direct replacement for Krumo.

In this video from our Drupal 8 Theming class, Rod shows you how to use Kint to print the arrays on your site.

If you place {{ kint () }} into your theme's page.html.twig file, you'll be able dig into your site's arrays and variables.

| Drupal
How to Change the jQuery Version in Drupal 7

One of our OSTraining members asked about how to change the jQuery on their Drupal site, so we created this tutorial for him.

Below is quick guide to installing Drupal's jQuery plugin module.

Read more ...

| Drupal
Drupal 8.1 and What It Means for Drupal's Future

Today, Drupal 8.1 was officially released.

All the way back in 2014, we talked about the changes coming to Drupal and how the release cycle would allow for changes to be progressively added to Drupal.

At that time, it was estimated that a new version with new features could be released every 6 months. Keeping to that schedule for Drupal 8 has been problematic due to the size and scope of what they wanted to achieve, but they made it! 

Read more ...

| Drupal
Add Scrolling Text Ticker to Drupal

An OSTraining member asked us how to setup scrolling text in Drupal.

They wanted to create a CNN / BBC-style news site, with a breaking news ticker.

We recommended the ScrollText module, and I'm going to show you how to use it.

Read more ...

| Drupal
4 Ways to Keep Your Drupal Site Healthy

A lot of the tutorials published here at OSTraining are solutions to specific problems.

But, how can you keep your site healthy on a daily basis? I'm going to give you some advice on how to maintain your site.

These four steps will help you understand what can go wrong with your Drupal site, and where to start looking for solutions if you have an issue.

Read more ...

| Drupal
How to Create a Menu Block in Drupal 8

An OSTraining member asked us how to display a menu with more than one level in Drupal.

In Drupal 7, you could do this by using the Menu block module or by using a theme that had added support for more complex menus.

However, in Drupal 8, the Menu block module has been moved to the core. Here's how it works ...

Read more ...

| Drupal
The RefreshLess Module Brings Turbolinks to Drupal 8

Over the last few months, Drupal 8 developers have been working very hard to make the system faster.

Drupal 8.1 will include the BigPipe module, which implements ideas from Facebook.

Now Acquia is developing a new module inspired by the the Turbolinks technique, which was pioneered by Ruby on Rails. The idea behind Turbolinks is that you only refresh the parts of the page that have changed. 

The Drupal version of this is called RefreshLess.

Because of the way Drupal 8's architecture is designed, Drupal knows which parts of a page have changed when moving between internal pages. With RefreshLess, Drupal 8 only requests the parts that actually change.

Read more ...

| Drupal
What's Coming in Drupal 8.1?

Drupal 8.1 will be released in April and it marks the start of a new era for Drupal.

Previously, new features were only added every few years, with the release of major Drupal versions such as 6, 7 and 8.

Now, thanks to a new release cycle, we can look forward to new Drupal features every six months. Drupal 8.1 is arriving six months after the release of 8.0, and we can expect version 8.2 in October this year.

So what's new in Drupal 8.1? Read on to find out ...

Read more ...

| Drupal
Setting up Your Drupal Acquia Dev Desktop

Acquia Dev Desktop is a free app that allows you to run and develop Drupal sites locally on your computer.

You can use Acquia Dev Desktop to evaluate Drupal, test modules, and develop sites while on a plane or away from an internet connection.

Dev Desktip provides a fully functional test area with minimal set-up required. While setting up your own server configuration isn't overly hard on Linux, it can be on Windows and Mac. Acquia Dev Desktop is available for Windows and Mac.

Read more ...

| Drupal
How to Add Disqus Comments to Drupal 8

While Drupal comes with its own comment system, many users prefer to use Disqus as a centralized comment platform.

Adding Disqus to Drupal 8 is a simple process. I'm going to show you how to install the module, create a Disqus account, and hide Drupal's default comments.

Read more ...

| Drupal
The Easiest Way to Embed Videos in Drupal 8

Video Embed is a very useful module for Drupal 8 users.

Video Embed creates a field type that allows you to embed videos from YouTube, Facebook, Vimeo, Vine and many other sources. All you have to do is enter the video URL and this module will do the rest.

Video Embed will create a thumbnail preview, control the autoplay settings and also ensure that the video is responsive.

Read more ...

Page 5 of 16
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!