Drupal Video Tutorials

Video Title Description Topics
PHP Object Oriented Programming #3 - Inheritance and the Protected Scope

In the third video tutorial of this ten part series on Object Oriented PHP Programming, I show you how we can inherit functionality from a parent class by extending that class. In doing so, we create a parent Pet class and extend it to create a Dog and Cat class. In doing so, we walk through creating parameters as protected instead of private. We conclude the tutorial looking at constructors in child objects and calling parent constructors.

PHP
PHP Object Oriented Programming Tutorial 2 - Constructors, Parameter Scope & Getters/Setters

In the second video tutorial on Object Oriented PHP Programming, I begin by showing you an alternative to the magic __construct method. From there, we take a look at public and private parameter scopes and why the public scope should be avoided. We conclude the tutorial by looking at getter and setter methods and how they can be used to create a contract when using your object.

PHP
PHP Object Oriented Programming #1 - Classes Objects Methods Properties and Constructors

In the first video tutorial on PHP Object Oriented Programming, I introduce you to classes, objects, methods, properties and constructors. This is a basic introduction to OOP for PHP which Drupal 8 will be relying on.

PHP
Introduction to Drupal 8 Tutorial 3: Mod_Rewrite, Using Development Modules and Enabling Comments

In the third video tutorial on Drupal 8, I show you how to work through a number problems you could face working with Drupal in a development state. Specifically, we first enable mod_rewrite which may not be enabled after we update WAMP. Second, we download a development version of the admin_menu and totally break the site. After fixing that, I show you how to enable comments on the basic page content type which includes reference to fixing a Zend max nesting error.

Drupal 8
Introduction to Drupal 8 Tutorial 2: Setting Up Drush

In the second video tutorial on Drupal 8, I show you how to get drush installed on both linux and windows machines. If you have the choice, it's easier on linux but with windows and the drush zip package from docs.drush.org it's not a bad process. I recommend using cygwin when developing but if you don't have that, no problem because the drush package comes with everything you need for windows, including Msys for command line usage.

Drupal 8, Drush
Introduction to Drupal 8 Tutorial 1: How to Install Drupal 8 and Initializing a GitHub Repo

In the first video tutorial on an Introduction to Drupal 8, I show you how to set up Drupal on a windows machine using a WAMP server. To do so, you first need to ensure you meet all the Drupal requirements, which for me, meant reinstalling WAMP. From there, we download Drupal 8, unzip it and rename our folder. We then create our database, navigate to our site and follow the installation instructions.

To conclude the video, we initialize a git repository on GitHub, create our first commit and push our code to our remote repo.To conclude the video, we initialize a git repository on GitHub, create our first commit and push our code to our remote repo.

Drupal 8
Drupal 7 Commerce Module Tutorial #10: How to Setup Commerce Kickstart

In the 10th and final Drupal video tutorial on the Commerce module, I show you how to download, install and configure Commerce Kickstart. Commerce Kickstart is a Drupal installation profile that provides a lot of preconfigurations for your Commerce site such as product displays, slideshows, discounts, etc.

Drupal 7, Commerce
Drupal 7 Commerce Module Tutorial #9: How to Set Up Event Registrations

In the 9th tutorial on Drupal Commerce, I show you how you can create event registrations with Commerce. In doing so, we download and enable the registration and commerce_registration modules, set up a registration type, configure a new product type and then configure a work shop content type. Along the way, we create our workshop and workshop products as well as configure the proper permissions for anonymous users to register.

Commerce
Drupal 7 Commerce Module Tutorial 8: How to Setup Multiple Currencies with Drupal Commerce

In tutorial #8, I show you how to set up multiple currencies using the Commerce module and Drupal. To do so, we first look at setting up multicurrencies using just Rules and the default Commerce set up. Then, we download and enable the Commerce Multicurrency to set up dynamic currency conversion and allow users to select what currency to use for the site.

Commerce
Drupal 7 Commerce Module Tutorial 7: Setting Up Commerce Taxes and VAT

In this Drupal video tutorial, I show you how we can configure both Sales Tax and VAT for Drupal Commerce, the difference being when the tax price is shown to users. In doing so, we set up two difference tax rates relying on the default commerce tax types.

Commerce
Drupal 7 Commerce Module Tutorial 6 - Selling Roles and File Access

In this Drupal video tutorial, I show you how we can use Drupal Commerce to sell access to roles and files using the Commerce License module. In doing so, we create two new product types, associate licenses with them and then create product displays to advertise the products to users.

Like most other Commerce functionality, Commerce Licenses rely on Rules, Views and a couple other modules that are needed for functionality so I highly recommend using Drush to speed up your download and enabling time.

Commerce
Drupal 7 Commerce Module Tutorial 5: Applying Discounts with Commerce Coupons

In tutorial #5 of this 10 part drupal video tutorial series on the Commerce module, I show you how we can apply discounts to commerce orders by using Commerce Coupon module, specifically fixed price and percentage coupons. This is made really simple by using the Commerce Coupon Percentage and Commerce Coupon Fixed Price modules and Rules.

Commerce
Drupal 7 Commerce Module Tutorial 4 - Setting Up Commerce PayPal Payment Methods

In the 4th Drupal video tutorial on the Commerce module, I show you how we can configure Commerce PayPal to accept payments on our site. In doing so, we walk through setting up Commerce PayPal WPS and WPP. Both of these payment methods, like all commerce payment methods, utilize rules for implementation. As such, to start, we enable the payment method rules, configure them and then test out payments on our test environment.

Commerce
Drupal 7 Commerce Module Tutorial 3 - Creating Product Attributes

In this 3rd Drupal video tutorial in the 10 part series on the Commerce module, I show you how we can create product attributes such as color and size. Then with the Drupal Commerce Product Attributes module, I show you how we can alter the default cart view to display the attributes on the cart form and allow users to edit their chosen product attributes.

Commerce
Drupal Commerce Module Tutorial 2: Setting Up Product Catalog Displays

In the 2nd Drupal video tutorial of this 10 part series on the Commerce module, I show you how you can create a product display catalog. We walk through 2 different ways of doing this, with the recommended approach being the second method I demonstrate. Both will rely upon the Views module so if you aren't familiar with Views, I highly recommend you take a look at my Drupal tutorial series on Views.

Commerce
Drupal Commerce Module Tutorial 1: Setting up Product Types, Products and Product Displays

In the first drupal video tutorial on the commerce module, we start by downloading and enabling required modules, walking through their set up and jumping into creating products.

To do so, we first take a technical detour to discuss what makes the commerce module different from other Drupal e-commerce solutions, specifically it's reliance on entities and how that helps us. From there, we walk through creating a product type for pictures we'll be selling on our site, we then create a product image to sell and finally create a product display for customers to see. We conclude by adding our product to our cart and completing our order process which does not include payments just yet.

Commerce
Drupal 7 Module Development Tutorial #11 - Using Template_Preprocess to Change the Flag Link

In the final video tutorial of this series on Drupal 7 module development, I show you how we can disable the link for our flap application depending on how the site administrator has configured the module which we covered in tutorial 10. In doing so, I introduce you to template_preprocess functions which allow us to modify changes made by the flag module before content is actually output.

Module Development
Drupal 7 Module Development Tutorial #10 - Drupal's Hook_Form_Alter and Variable_Set

In the 10th tutorial of this 10 part video tutorial series, I show you how we can use Drupal's hook_form_alter to create some custom flag settings for our module. Specifically, we want to allow administrators to disable flags once an application has been approved. To do so, we need to add some settings to our configuration page.

Originally, I was just going to show you how to do this with the Flag API, however, I decided to record an 11th video tutorial and take some time to show you how you could achieve similar results using Drupal's function variable_get and variable_set if you didn't have the Flag API. 

In the final video tutorial, I show you how we change the flag link.

Module Development
Drupal 7 Module Development Tutorial #9: Creating Permissions with Hook_Permission

In the 9th video tutorial of this 10 part Drupal video tutorial series, I show you how we can create permissions for our module and ensure only administrators can access our flag application admin form. To do so, we first implement hook_permission and then update our hook_menu implementation to pass in our permission name.

In the final tutorial, we'll finish our module off by finalizing the behaviour of our flag once it has been approved.

Module Development
Drupal 7 Module Development Tutorial #8: Drupal Form Submit and Validate Functions

In this 8th Drupal video tutorial, I show you how to create submit and validate functions to handle users submitting forms. Specifically, we use the default submit function created by Drupal to prep our information and pass it off to a function which updates the database. We then log a watchdog message so administrators know applications were reviewed. 

Lastly, we create a validate function to double check the information received from the form submission to ensure we don't get incorrect values. In doing so, I show you how to set errors on specific form elements. It's important to remember that validate functions are called before submit functions.

Module Development

Pages

Subscribe to Drupal Video Tutorials