Video Updates

Below is a list of additional bits of information for this video, including parts where time has shown that additional explanation is required. If updates to Drupal affect how the video will be interpreted, there will also be updates here.


The key 'pattern' has changed to 'path' and '_content' became '_controller' in the routing.yml file

Added on October 13, 2016

Since this video was created, Drupal 8 switched to using the keyword 'path' instead of 'pattern' and '_controller' instead of _content' in the routing.yml file.


Drupal 8 now uses PSR-4 instead of PSR-0

Added on March 06, 2015

At this time this video was recorded, Drupal 8 used the PSR-0 standard extensively. The latest version of Drupal 8 uses PSR-4 instead, which works very similarly under the hood, but allows for simpler directory structures. Following the videos on PSR-0 will still set you up nicely for transitioning into PSR-4, which we start to do in this video. Maybe 90% of what you learn about PSR-0 will be directly applicable to PSR-4, and knowing both standards will help you in the future when working with third party PHP libraries.


Drupal 8 now uses PSR-4 instead of PSR-0

Added on March 06, 2015

At this time this video was recorded, Drupal 8 used the PSR-0 standard extensively. The latest version of Drupal 8 uses PSR-4 instead, which works very similarly under the hood, but allows for simpler directory structures. Following the videos on PSR-0 will still set you up nicely for transitioning into PSR-4, which we start to do in this video. Maybe 90% of what you learn about PSR-0 will be directly applicable to PSR-4, and knowing both standards will help you in the future when working with third party PHP libraries.


Drupal 8 now uses PSR-4 instead of PSR-0

Added on March 06, 2015

At this time this video was recorded, Drupal 8 used the PSR-0 standard extensively. The latest version of Drupal 8 uses PSR-4 instead, which works very similarly under the hood, but allows for simpler directory structures. Following the videos on PSR-0 will still set you up nicely for transitioning into PSR-4, which we start to do in this video. Maybe 90% of what you learn about PSR-0 will be directly applicable to PSR-4, and knowing both standards will help you in the future when working with third party PHP libraries.


Drupal 8 now uses PSR-4 instead of PSR-0

Added on March 06, 2015

At this time this video was recorded, Drupal 8 used the PSR-0 standard extensively. The latest version of Drupal 8 uses PSR-4 instead, which works very similarly under the hood, but allows for simpler directory structures. Following the videos on PSR-0 will still set you up nicely for transitioning into PSR-4, which we start to do in this video. Maybe 90% of what you learn about PSR-0 will be directly applicable to PSR-4, and knowing both standards will help you in the future when working with third party PHP libraries.


Drupal 8 now uses PSR-4 instead of PSR-0

Added on March 06, 2015

At this time this video was recorded, Drupal 8 used the PSR-0 standard extensively. The latest version of Drupal 8 uses PSR-4 instead, which works very similarly under the hood, but allows for simpler directory structures. Following the videos on PSR-0 will still set you up nicely for transitioning into PSR-4, which we start to do in this video. Maybe 90% of what you learn about PSR-0 will be directly applicable to PSR-4, and knowing both standards will help you in the future when working with third party PHP libraries.


Should you download the latest version of Drupal 8 instead?

Added on March 06, 2015

From here on out, we use the version of Drupal 8 that was available at the time that the videos were recorded, Alpha 12. Some of the code we write will no longer work with the latest version of Drupal 8, but it will be fairly close. You may wonder if it makes sense to use the latest version of Drupal 8 instead. Here are my thoughts:

If you'd like to be able to follow along with the videos without a hitch, use the Alpha 12 version. The bulk of the code you will write will still be relevant to the latest version of Drupal 8, but there may be a few bits you will have to adjust if you use the code as an example for your own projects.

If you're up for a challenge, then try following the upcoming videos with the latest version of Drupal 8. You can apply the techniques we use to figure out why certain pieces of code aren't working in the sections where we upgrade a module from Drupal 7 to Drupal 8, like looking at Drupal 8's change records. It's super satisfying to figure out issues like these, but it will be more time-consuming than following the videos with the Alpha 12 version.


hook_page_alter() has been removed from Drupal 8

Added on March 06, 2015

In this video, we chose a couple of hooks to demonstrate how the Drupal 8 .module file can be used to implement hooks in Drupal 8, similarly to Drupal 7. One of the hooks we ended up using - hook_page_alter() - has since been removed from Drupal 8 (See change record on drupal.org here). Since the main purpose of this video is not to demonstrate that hook in particular, but rather to demonstrate the similarities in the .module files in Drupal 7 and Drupal 8, we're leaving this demonstration in. But keep in mind that you won't actually be able to use this particular hook in Drupal 8.

To follow along with the video and have your code work, you will need to use the version of Drupal that can be found in the Resource Pack for this series in the Drupal 8 Snapshot folder.


Drupal 8 is now in Beta, some techniques here are outdated

Added on March 05, 2015

If you're watching this series, then you'll notice pretty quick that the Drupal 8 version that we use in the initial videos is outdated. Don't panic! The bulk of what you'll learn in this series is still relevant, but there will be some places where we approach a problem differently than we would in the latest version of Drupal 8. We'll try to add video updates like this to let you know when you might need to adjust your approach.


Drupal 8 is now in Beta, some techniques here are outdated

Added on March 05, 2015

If you're watching this series, then you'll notice pretty quick that the Drupal 8 version that we use in the initial videos is outdated. Don't panic! The bulk of what you'll learn in this series is still relevant, but there will be some places where we approach a problem differently than we would in the latest version of Drupal 8. We'll try to add video updates like this to let you know when you might need to adjust your approach.


Drupal 8 is now in Beta, some techniques here are outdated

Added on March 05, 2015

If you're watching this series, then you'll notice pretty quick that the Drupal 8 version that we use in the initial videos is outdated. Don't panic! The bulk of what you'll learn in this series is still relevant, but there will be some places where we approach a problem differently than we would in the latest version of Drupal 8. We'll try to add video updates like this to let you know when you might need to adjust your approach.


Drupal 8 is now in Beta, some techniques here are outdated

Added on March 05, 2015

If you're watching this series, then you'll notice pretty quick that the Drupal 8 version that we use in the initial videos is outdated. Don't panic! The bulk of what you'll learn in this series is still relevant, but there will be some places where we approach a problem differently than we would in the latest version of Drupal 8. We'll try to add video updates like this to let you know when you might need to adjust your approach.


Drupal 8 is now in Beta, some techniques here are outdated

Added on March 05, 2015

If you're watching this series, then you'll notice pretty quick that the Drupal 8 version that we use in the initial videos is outdated. Don't panic! The bulk of what you'll learn in this series is still relevant, but there will be some places where we approach a problem differently than we would in the latest version of Drupal 8. We'll try to add video updates like this to let you know when you might need to adjust your approach.


Webform does not have a body field by default

Added on November 11, 2014

In this video, we add some content to the body field of the webform. However, in later versions of Webform, there is no body tag and we need to add a body field to complete these steps. Here's how you would add a body field to the Webform content type:

  1. Go to Structure > Content Types > Webform > Manage fields
  2. Fill out the form near the bottom to add a new Long text field, using "Body" for the label.
  3. Click Save field settings
  4. In the next form, select Filtered text for the Text processing input and submit the form.

You should now be able to add some text to the body when creating the Webform.


Webform now requires CTools and Views

Added on November 11, 2014

Due to updates in the Webform module, we now need to install the Chaos Tools and Views modules before we can install Webform. You can follow the same instructions in this video in order to install the following modules:


Webform now requires CTools and Views

Added on November 11, 2014

Due to updates in the Webform module, we now need to install the Chaos Tools and Views modules before we can install Webform. You can follow the same instructions in this video in order to install the following modules:


Use TinyMCE version 3.x or the CKEditor module

Added on October 13, 2016

There is now a 4.0 release of TinyMCE, but the folder structure has changed quite a bit. To keep things the way they are in this video, go ahead and download the 3.x version (as of the writing of this update, it's 3.5.10). The rest of the instructions should remain the same.

Support for TinyMCE 4.0 is in the works. Read the Drupal.org discussion and - if you're brave and really want to try 4.0 - you can try the patch.

Alternatively, you can use the CKEditor module and bypass using WYSIWYG altogether.


Use TinyMCE version 3.x or the CKEditor module

Added on October 13, 2016

There is now a 4.0 release of TinyMCE, but the folder structure has changed quite a bit. To keep things the way they are in this video, go ahead and download the 3.x version (as of the writing of this update, it's 3.5.10). The rest of the instructions should remain the same.

Support for TinyMCE 4.0 is in the works. Read the Drupal.org discussion and - if you're brave and really want to try 4.0 - you can try the patch.

Alternatively, you can use the CKEditor module and bypass using WYSIWYG altogether.


Correct download info for Metatag (info about Panels shown by mistake)

Added on November 15, 2013

At 0:38, a slide about Panels is shown, but it is meant to display information about Metatag. To download the version of Metatag used in this video, either go to http://ftp.drupal.org/files/projects/metatag-7.x-1.0-beta4.tar.gz or use drush dl metatag-7.x-1.0-beta4.


Change to how CSS Injector displays file locations

Added on July 11, 2013

CSS Injector now displays the location for your file using a prefix of 'public://'. In most cases, this will still be the equivalent of 'sites/default/files'. In our case, you should still use the format for the path that is used in the video when defining the CSS path in your TinyMCE editor settings, i.e.: 'sites/default/files/css_injector/css_injector_3.css'.


With respect to plugins, the 'Font style' plugin is now 'Styles'

Added on July 11, 2013

There's been an update to TinyMCE and the 'Font style' plugin has been renamed to simply 'Styles.'


After adding Tags, select additional settings and check 'Auto create'

Added on July 08, 2013

After adding the Tags field, click on the cog icon that appears besides it to arrive at some additional settings. From here, check the box labeled 'Auto create," and then click on 'Update.'

This will automatically create new Tags if they do not already exist. Without this setting enabled, no Tags will appear after the import in our example.


Drupal.org now uses Git instead of CVS

Added on June 26, 2013

After these videos were recorded, Drupal.org started using the Git version control system instead of CSV. Git comes with a number of advantages, which you can learn about in the "Change Management and Version Control" collection. But, it means that when we refer to CVS, the information is a bit out of date. The application process to get a developer account on Drupal.org has also evolved a bit, but many of the major concepts remain the same as they are outlined in the videos.


Drupal.org now uses Git instead of CVS

Added on June 26, 2013

After these videos were recorded, Drupal.org started using the Git version control system instead of CSV. Git comes with a number of advantages, which you can learn about in the "Change Management and Version Control" collection. But, it means that when we refer to CVS, the information is a bit out of date. The application process to get a developer account on Drupal.org has also evolved a bit, but many of the major concepts remain the same as they are outlined in the videos.


Select 'Enter a relative date' from the drop-down

Added on February 06, 2013

In later versions of Views, to be able to enter a relative date in the filter settings, you need to select this option from the drop-down first.

Videos this update affects:
How to add a date-based filter to a view

With respect to fields, 'sort' is now 'rearrange'

Added on February 12, 2013

In the 'Fields' dropdown menu, 'sort' is now labeled 'rearrange'. The obvious purpose of this change is to reduce confusion caused by 'sort' appearing in different contexts on the same page.


With respect to fields, 'sort' is now 'rearrange'

Added on February 12, 2013

In the 'Fields' dropdown menu, 'sort' is now labeled 'rearrange'. The obvious purpose of this change is to reduce confusion caused by 'sort' appearing in different contexts on the same page.


With respect to fields, 'sort' is now 'rearrange'

Added on February 12, 2013

In the 'Fields' dropdown menu, 'sort' is now labeled 'rearrange'. The obvious purpose of this change is to reduce confusion caused by 'sort' appearing in different contexts on the same page.


When extending year range, look under 'More settings and values'

Added on January 30, 2013

The options for controlling the number of years back and forward can now be found under 'More settings and values' - click to expand the fieldset.

Also, you can now set absolute years - e.g. 2010 to 2025.


When we say 'range', we mean it

Added on January 30, 2013

In this video, we're about to give our field a machine name (key) 'data_range' yet type 'data_rage'; this is just a mistake.

Although machine names are mostly used internally, they can appear in URLs when exposed sorts or filters are in use; also, mistyped or inappropriate names can confuse ourselves later on when we want to change the structure - so machine names are better kept serious (without swearing :) and to the point.

Videos this update affects:
How to add and configure a date field
Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.