|
To get things started in this series we'll install Drupal 7. We start in Drupal.org to download the code, review some important points to watch for when copying the files, then we show how to set...
|
The Schema module is a great tool when working with databases. You can use it to inspect your site's database, to see if there are changes, and to...
|
|
Learn all of the basics of Drupal Module Development by implementing the most common hooks, writing & retrieving information from the database, as well as creating and altering forms.
|
In this video Joe looks at using hook_views_data() in order to describe a database table to views such that views is capable of making queries to that table. We’ll talk about describing the table...
|
|
In this chapter we learn other ways to interact with our database beyond the simple db_select() query from the earlier video. This example walks through writing a module that that saves and...
|
This video looks at the basics of working with MySQL from the command line. We get into the mysql environment and look at databases, tables and fields. We cover creating and deleting databases,...
|
|
In this chapter we learn how to get data out of the database and display it. The example walks through writing a module that creates a page that displays how many nodes are published and...
|
We're going to look at some of the basic tools you'll need to write and test your custom Drupal module. We'll discuss local webservers, a text editor, and a command line tool called drush. Then we...
|
|
In this chapter we learn how to create a new database table. This example walks through creating a module that defines the the properties of our new table and also programatically creating that...
|
OK, you've committed to Drupal - or you're at least pre-engaged. You can visualize your new site - the nice clean front-end, the whiz-bang social networking features, the flexibile administration...
|
|
In this video Joe continues the discussion of using hook_views_data() to describe a module's table to the views module. Building on what was covered in the previous chapter we now deal with...
|
| 18m
In this excerpt from the Overview of Drupal 7, Angie Byron, talks about the Database API in Drupal 7. This was a round table discussion...
|
|
Creating forms in Drupal is quite different than regular HTML. We'll look at the proper way to build forms with the Form API and talk about why it is done this way.
|
In this chapter we learn about changing the definition of a database table after it has already been installed. This example expands on the previous chapters by adding a new field to the table to...
|
|
In this video we'll learn about the great Devel module, looking at the many helpful tools it has for us, from handy shortcuts to quickly generating dummy content.
|
In this video we'll create a new custom module (the Stalker module) and start learning about hooks with the permissions hook, hook_perm().
|
|
Learn about the Drupal theme system and how to properly provide markup, especially so that a themer can still override without hacking your code. We'll introduce the Theme developer module as well...
|
We'll learn how to tie into Drupal's user system with hook_user().
|
|
It is a good idea to actually understand the files that comprise Drupal core so that you know how your code is interacting with Drupal. In this tour we'll discuss all the major folders and explain...
|
Here you will understand what the menu system is and how it works, then learn to make use of it in your custom module with hook_menu().
|
|
Learn how to find and use the very handy Drupal API documentation.
|
Now that we know how to create and modify our date, we'll look at one last aspect of working with the database, updating our schema with hook_update_N().
|
|
Let's dive a little deeper into the menu system, specifically how to create and use dynamic menu items and different types of menus, like tabs.
|
We've looked at some of the most common Drupal hooks so far and you should understand the basic idea of using hooks. Now we'll take a look at some other notable hooks that are often used, e.g....
|
|
There are times that you want to modify existing forms that you didn't create yourself. Here, we'll look at how easy it is to modify any form with hook_form_alter().
|
We'll create a settings pages for our module to see what we learned about the Form API in action.
|
|
Here we'll dive into more database fun and see how we insert and modify the data we have in the database. We'll also focus on how to properly use Drupal's database safety features.
|
Once we've created our database tables for the module, we look at using the Schema module to kick start implementing our database in the module with the .install file.
|
|
We have a module, a settings form and some page callbacks. Now we need a place to store our data in the Drupal database.
|
You can write a lot of cool code to use with Drupal. Here we'll explain why contributing that code back can be a good idea and how to do it.
|
|
When writing code for the web it is very important that you pay attention to security. Drupal provides many tools to help you out and we'll look at what those are and how to make sure you use them...
|
Learn about the Drupal coding standards and best practices for projects and why you should use them. We'll take a look at the Coder module, which is a great development tool. We'll also look at...
|
|
We've built a custom module and covered many of the main systems in Drupal. This is a review of everything we've covered in this series.
|
We're going to look at the Drupal database and learn how to add our custom tables and fields to it, using hook_install() and hook_uninstall(). We'll also look at some handy tips and tools when...
|