For our Mom and Pop site, we're going to need to sort out how to set up access control for our users. In this lesson we'll review our users and their access needs, check and create the roles we need, and then create users.
Additional resources
With roles and users in place on the site, we have a good start, but we aren't actually controlling access very well until we set up the permissions to go with those. In this lesson we need to set permissions for our roles, and take a look at some important security concerns around permissions. Finally, we'll test our access control by logging in as our users to make sure everything is acting as it should.
Additional resources
Modules allow you to turn on and off functionality within your Drupal website. There are two types of modules: core modules, which come with Drupal itself, and contributed modules, which are provided for free by the Drupal community and available for download from Drupal.org. In this lesson we're going to look at the module administration page, and walk through finding and installing modules. We'll wrap things up by discussing how you remove a module from your site, and the difference between disabling and uninstalling.
Additional resources
The easiest way to wrap your head around how modules work is to try installing and configuring a couple of them. This section will cover how to install, enable, and configure a contributed module called Using Drupal, 2nd edition
In this lesson we're going to start building our site for Mom and Pop, Inc. We're starting off by working on our content, to get things filled out a little. First, we'll create an About Us page with the basic info for the store, like address and opening hours. Then we'll create our first article, which welcomes people to the new site, and see how the two core content types, Basic page and Article, are different from each other. Then we'll tweak our main navigation so our tabs display correctly, and finish things off by looking at block management. We'll remove the "Powered by Drupal" block and add a new block to the site for our weekly specials.
Additional resources
This lesson offers a tour of some of the most basic tools for content management in Drupal. We're going to walk through and explain the following pieces:
- Content
- Comments
- Navigation
- Blocks
Additional resources
In this lesson we're going to start off with the Drupal administrative interface. We'll take a tour of the major elements and get you oriented to what is where.
Additional resources
For this lesson we're going to get hands-on and play around in our administration area a little. We're going to review the site information for our new site, and then change things by setting the site name to match our case study.
Additional resources
This series, from the O'Reilly Media book Using Drupal, Second Edition, is intended for people who are new to Drupal, provides a tour of its capabilities, as well as definitions for its sometimes obscure terminology. We’ll demonstrate how Drupal can be used “out of the box” to build a simple website. Readers who are familiar with Drupal already may still want to skim through this, as later series in the Using Drupal guide will assume knowledge of all content covered here. By the end, you’ll understand how to perform administrative tasks in Drupal, such as configuring modules, working with content types, and setting up site navigation. This series assumes that you already have Drupal up and running. For assistance with that, check out the Appendix A series, on Installing and Updating Drupal, as well as the helpful Drupal.org Getting Started guide.
To get things started with Drupal, we're going to build out a very basic website. The Mom & Pop, Inc. site project will cover many of the basic pieces you need to grasp the fundamentals of building with Drupal, and are a good foundation for the other series we'll be doing from Using Drupal. We'll take a tour through the administrative settings, create and manage content, work with modules and users, as well as changing the look of our new site. In this first lesson in the series we're going to review the Mom & Pop case study and discuss our implementation plan.
Additional resources
Updating your site often sounds much scarier than the actual experience is. The most important step to remember is creating and testing backups of your site. In this lesson, we will create our backups, download a new version of Drupal core, and go through the process of updating our files and running the update.php script.
Note: Not mentioned in the video is the fact that in addition to the user 1 account, you can also log in with any account that has the "administer software updates" permission enabled to run the update.php script.
Additional resources
Drupal's contributed projects tend to move more quickly than Drupal core and there- fore require more updates within a Drupal version's life cycle. You can upgrade multiple modules at the same time, although it's best to do one at a time to reduce the chance of errors, and to allow you to isolate problems that might come up during an upgrade. In this lesson we will look at our Available Updates report, and use the Update Manager to upgrade a few of our contributed modules.
Additional resources
Drupal.org Upgrade Documentation
Drupalize.Me Guide: Using Drupal Book by O'Reilly Media
Up next: Using Drupal Appendix B: Choosing the Right Modules
Once you have met all of the requirements and gathered the information you need, you can get down to the installation. This lesson assumes that you have already downloaded Drupal, placed the extracted files on your web server, and are able to create your database.
Additional resources
It’s not enough to just get Drupal installed; you also need to make sure to keep it up-to-date. New releases of modules and Drupal core come out periodically, most of which fix problems, some of which add new whiz-bang features, and some of which address critical security problems. In this lesson we will review Drupal version numbers and what they mean, review the core Update Status module, and then discuss using maintenance mode, and the update.php script.
Note: Not mentioned in the video is the fact that in addition to the user 1 account, you can also log in with any account that has the "administer software updates" permission enabled to run the update.php script.
Additional resources
Prior to installing Drupal, it’s important to make sure that you can actually do so, and understand a bit about how Drupal is structured. The first lesson provides a checklist of Drupal’s requirements, and also highlights important things in the Drupal file structure that are worth knowing before diving into the installation process. We also explain and take a quick look at how you can use Drupal to run multiple sites from the code base, known in Drupal as a multisite installation.
Additional resources
Drupal installation requirements
Before we jump into building our first Drupal 7 site, we should also take a look at the great resources you have out there to help you on your journey. Being an open source project, Drupal has an amazing community of people who have paved this road before you. In this lesson we're going to look at the free community resources that you can use to not only find answers to your questions, but also connect with thousands of people around the world who are working in the same space you are. -- We are going to take a tour of the communtiy documentation, various Drupal forums, project issue queues, where you can glean a lot of useful information and help, Internet Relay Chat, or IRC, for real-time collaboration, and getting in touch with user groups of like-minded people around the world.
Additional resources
Drupal.org Troubleshooting Guide
Drupal Answers on Stack Exchange
Drupal Groups Site (groups.drupal.org)
Drupal is a great tool for working on the web, but to give it some context, in this lesson we're going to take a quick step back in time, and understand the history of working on the web and look at how the tools that Drupal provides match up with problems encountered over the years of web development.
Additional resources
In this lesson we're going to break down the "Drupal stack" to understand what pieces are working here and how they relate to each other. We'll take a tour of the major components of Drupal itself, like nodes and users, and then have a brief discussion about ways of organizing content.
Additional resources
What Is Drupal?
FreeTo learn more about how to get started with Drupal, also see our Introduction to Drupal guide.
In this lesson we take a look at Drupal, the open source Content Management System. We learn about the major components of a Drupal site and the library of constantly evolving tools available for working with Drupal. We find out how to see who uses it, by looking at DrupalShowcase.com and Drupal case studies on Drupal.org, among others. We look at Drupal's major features, such as Modules.
With this overview we have some context as we move forward into the series.
Additional resources
In this lesson, we are going to see how the book relates to each of the series we have, and how each of the individual series are organized. We will end up with thirteen series to cover the entire book. Then we will take a look at how you should use the videos with the book. If you don't have the book, not to worry, as the book would only act as supplementary material to the video lessons. You don't need the book to successfully follow these series. If you do have the book however, we want to make sure you understand how the lessons and book relate to each other.
Additional resources
Using Drupal comes with source code intended to be used throughout the lessons to make following the lessons much easier. In this lesson we're going to take a look at what that source code provides for us, where we can get a copy of, and how to use it. We'll go through the installation process, as well as see how we can switch between chapters in the source code without destroying work you've done on previous chapters. It is important to note that using the source code is very important if you want the lessons to match what is in the lessons. Drupal modules can change a lot over time, and the source code is designed to exactly match what is covered in the lessons. Once you've learned the basics of a chapter by working through the source code, you can upgrade your modules and explore the differences in newer versions, with the base understanding you've gained from the lesson.
Warning: Since this Drupal code is several years old, you must use PHP 5.3. PHP 5.4 or higher will not work. You will need to make sure your server is using PHP 5.3 in order to use this code properly. Many all-in-one servers, like WAMP, MAMP, and XAMPP provide older versions of PHP and a way to switch back and forth between versions.