navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Drupal 7 New Features

Drupal 7 New Features

with Tom Geller

 


In Drupal 7 New Features, author Tom Geller demonstrates changes to the Drupal 7 administrative interface and other enhancements that have come out of its three-year development period. This course covers its simplified installation process, new themes that will help kick-start design projects, the customizable shortcut bar that puts often-used commands in easy reach, update procedures that leverage its browser-based interface, and a new way of defining fields to create complex content types without additional modules.
Topics include:
  • Configuring the new Dashboard
  • Using contextual link controls
  • Exploring new themes
  • Reviewing the new modules
  • Understanding the expanded block system
  • Using images in content
  • Allowing users to delete accounts
  • Testing modules with the Testing module
  • Building themes using Drupal Gardens

show more

author
Tom Geller
subject
Web, CMS
software
Drupal 7
level
Intermediate
duration
2h 38m
released
Oct 07, 2010

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:04Hi! I'm Tom Geller and this is Drupal 7 New Features.
00:08The content management system Drupal has seen amazing growth since version 6
00:12came out over two-and-a-half years ago.
00:15This course gets the up to speed with all its new features quickly and easily,
00:19so you can get right to work building great web sites.
00:23The most obvious change in Drupal is its interface, which has been completely
00:26revamped for version 7.
00:27I'll show you how to use its new administrative overlay, its toolbar, and its
00:32shortcut bar. Or if you'd rather do things old-school, I'll show you how to turn them off.
00:37We'll go beyond Drupal's new look to examine features that make design,
00:41development, user management, and content creation easier and more flexible.
00:47You can now add fields to content types, designate users as administrators, and
00:51administer blocks all with a single click, and all without adding the modules
00:55that Drupal 6 required.
00:58This course assumes that you're already somewhat familiar with Drupal 6.
01:02But if you're not, don't worry.
01:04just watch my Drupal Essential Training course.
01:06Then, you'll be ready to build websites with either Drupal 6 or Drupal 7.
01:11But whether you're an experienced Drupal 6 administrator, or just someone who is
01:15curious about the latest developments, this course will get you ready for the
01:18best version of Drupal yet.
01:20Let's get going with Drupal 7 New Features.
Collapse this transcript
1. General Setup and What's New
Overview of Drupal 7's improvements
00:00The Drupal community started planning Drupal 7 all the way back in February 2008
00:05when it released Drupal 6.
00:07In fact, planning started in earnest a few weeks before than when Drupal
00:11creator Dries Buytaert posted a list of 11 things he wanted to see in Drupal 7.
00:16You can see that list at the URL you see on your screen.
00:19For the most part, Drupal 7 has hit these points pretty well.
00:22Let's take a look at them.
00:24If you attended any of the five semiannual Drupal cons between the release of
00:27Drupal 6 and Drupal 7, you saw how hard the Drupal community was working to
00:32improve Drupal's usability.
00:34You see the results of these efforts on every page of Drupal's
00:38administrative interface.
00:39Mostly because of two major changes. The first one is what's called the
00:44Administrative Overlay, and you see that when you click on any sort of
00:47administrative page.
00:49See, it just popped up right there, and you close it just like this.
00:53Drupal 7 second big usability improvement is the new administrative theme called 7.
00:59If you were a Drupal 6 user, then you've already noticed the difference.
01:02In Drupal 6, you saw the same theme when you administered the site as
01:06when people visited it.
01:07That is, the Garland theme.
01:09But in Drupal 7, you can see it looks quite different and you immediately know
01:13that you are administering rather than looking at the site.
01:15The second big success in Drupal 7 is something called Fields in core.
01:20In Drupal 6, you needed to add extra modules such as the Content Construction Kit
01:24or CCK to create new content types.
01:28Drupal 7 incorporates most of that CCK module in the core itself.
01:32You do that by going up to Structure and Content types, and now you have these
01:37choices: manage fields and manage display.
01:40That gives you a lot more options than you had in Drupal 6, where you could
01:43add a content type,
01:44but it was really no different from the ones that we're already built-in.
01:48The next Drupal 7 feature is one of my favorite's: easier updates.
01:53Dries pecified automatic upgrades in this wish-list, and we didn't exactly get that.
01:57You still have to notice when your Drupal installation goes out of date, and
02:01then do a few clicks to bring it up-to-date.
02:04But the important thing is that you can do all of that through Drupal itself.
02:08No longer do you need to know Unix, or Windows, or Mac administration. All you
02:12need to do is to go to Modules and say Install new module or update module,
02:18and then you could just install it from the URL or from a file you've
02:21downloaded, very easy.
02:23The next big change is better media handling, and this shows up in small ways
02:27when you first install Drupal.
02:28I'll show you by going to Content, and Add new content, and then add an article.
02:34You see this field here for an image.
02:37To do that in Drupal 6, that is, add an image into an article, you either had
02:41to mess around with HTML or you had to add three, or four, or even five
02:45modules to make it work right.
02:47In Drupal 7, it just works.
02:50We'll go through the whole process of adding images to content in the video
02:53using images and content.
02:56Talking about content brings us to the next item on Dries' wish-list: better
03:00tools to structure and organize content.
03:02There are only a few small improvements in Drupal 7 along these lines and you
03:06see them when you go up to Content.
03:08For instance, you can now see a complete list of content on your site with one
03:12obviously placed click.
03:14In Drupal 6, it took some hunting around to find the path to that page.
03:19The next three improvements are substantial, but they don't really show up in
03:22the interface in very obvious ways.
03:24We'll only talk about them in the video "Developing for Drupal."
03:27The first is better internal APIs,
03:30a feature you'll mostly only notice if you're a programmer or
03:33system administrator.
03:34One example is the new database layer.
03:37In Drupal 6, you pretty much had to use MySQL or PostgreSQL as your backend database.
03:42But Drupal 7 lets you use pretty much any backend database at all, as long as
03:46there is a driver for it, and if there isn't you can write your own.
03:50You can find more information about that at api.drupal.org.
03:55Then if you click Drupal 7, and the Database abstraction layer, of course,
04:01you'll find all of the APIs that you need at api.drupal.org.
04:06Another API that got better in Drupal 7 is the node access system, which lets
04:10you better define who can access content.
04:13As long as we're talking about module development, I want to mention that Drupal 7
04:17now also includes a testing module that makes it easier for developers to
04:21control the quality of their code.
04:23The next improvement on Dries' list is better external APIs.
04:27Like changes to internal APIs, you won't find these unless you're a programmer.
04:33That's really important if you're integrating external web services into your
04:36site, such as those from Yahoo!, Google, or Amazon.
04:39If you're not, don't worry about it.
04:40But if you are, you'll really notice a difference.
04:43There are three last things that I'm afraid we weren't able to get into Drupal 7.
04:48Better performance, a basic Views like module, and a WYSIWYG editor.
04:53But that's okay, because you can still get modules that do all of those things.
04:57I'm told that some of the underpinnings for both Views and a WYSIWYG editor are
05:01now in core, so I'm expecting to see those in Drupal 8, whenever that comes out.
05:06For more discussion about whether Drupal 7 fulfilled its promise and to
05:10read some comments from the community, see a blog post I made before Drupal 7 came out.
05:14It's titled "Will Drupal 7 fulfill Dries' wishes," and you'll get that at the
05:18URL on your screen.
Collapse this transcript
Reviewing what is lost from Drupal 6
00:00Professional authors have a saying, "Writing is easy; editing is hard."
00:06But good editing is often what makes the difference between a good work and a great one.
00:12Drupal 7's developers apparently knew this too and removed a few things that
00:16were either confusing, or underused, or poorly implemented.
00:20Only a few things got the axe though, and chances are pretty good that you
00:24never use them in Drupal 6.
00:26We'll start with one that I'm sure you've never used, because it didn't
00:29actually do anything.
00:30The Related terms feature for taxonomy.
00:33I'll show you how it worked, or rather didn't work in Drupal 6.
00:38Here is our Drupal 6 site.
00:40I'll go to Administer > Content > Taxonomy.
00:44I'll create a vocabulary.
00:46I'll just call it Color names, and save that.
00:51And then we'll start adding terms. Just say yellow, Save, and red.
01:02Now if we go down here to Advanced options, we see this Related terms.
01:06But it didn't actually do anything.
01:09It exposed the terms to each other, but when I asked the developers what it
01:12actually did, everyone said, "Well, I don't actually know."
01:15So it disappeared from Drupal 7.
01:17The second thing that disappeared from Drupal is a setting that lets you require
01:21at least a given number of words in posts.
01:24The original idea was a good one.
01:26It was to prevent people from creating small insubstantial posts, as for
01:30example spammers will often do.
01:32But apparently very few people were using it, because there was almost no outcry
01:36at all in the discussion about removing it.
01:38Again, I'll show you in Drupal 6.
01:41Once again, we go up to Administer and Content.
01:44And then we go to Content types.
01:46To see it, you edit any content type.
01:48I'll just edit Page here.
01:50Then down here, under Submission form settings, you have this Minimum number
01:53of words selection. That's just gone.
01:56If you'd like to read the discussion about how that feature got removed by the way,
02:00go to drupal.org/node/522184.
02:01While we're on the subject, Drupal 6's Post settings page has disappeared.
02:11The functions it held haven't left us though.
02:13They're just spread among other screens, and in some cases, they've been improved.
02:18In Drupal 6, you found that under Administer > Content Management and Post settings.
02:24If you'd like to learn exactly where those commands went, you could see that in
02:26the video "Finding commands."
02:29Moving on, there was an Access rules feature in Drupal 6 that let you block
02:33people from registering as users based on their usernames, e-mail addresses, or hosts.
02:38That was at Administer > User management and Access rules.
02:44Drupal's developers figured that the username and e-mail addresses were just far
02:48too easy to spoof, and few people use this feature anyway.
02:51So in Drupal 7, you can only block people by IP address, which is more secure.
02:56You do that in Drupal 7 by going to the IP address blocking function.
03:00Under Configuration > IP address blocking, and there it is.
03:05Finally, we come to three core modules that were simply thrown away.
03:08We can see those in Drupal 6.
03:10The first one is called Blog API.
03:13We get to that by saying Administer > Site Building, and Modules.
03:18As we scroll down, we see this Blog API.
03:21That was originally meant to allow people to make blog posts to Drupal through
03:24another site such as Blogger or MovableType.
03:28Not many people use the Blog API module anymore.
03:31If you're curious, you can read about it at drupal.org/node/295 and you could
03:37read about how it got removed at drupal.org/node/537434.
03:44Nowadays, you'd use the Feeds module to do much of what the Blog API module used to do.
03:49You can get the Feeds module at drupal.org/project/feeds.
03:54I got to say it's a great module.
03:56I definitely recommend that you take a look at it.
03:59Another module that was removed is called Ping.
04:02This one made sure that your Drupal site notified others when you had new content.
04:07Again, few people used it.
04:09If you really want the functionality it offered, check out the Multiping module,
04:13which is at drupal.org/project/multiping.
04:18If you want to read the discussion about removing that Ping module, just take a
04:21look at this other URL, drupal.org/node/231437.
04:26The Throttle module was originally designed to improve performance by choking
04:31back your site when it got hit with more traffic than it could handle.
04:35But there were improvements in such things as how Drupal caches data, so that
04:38sort of made it obsolete.
04:40You can read the discussion about removing it at drupal.org/node/245504.
04:46If you want to learn more about getting better performance out of Drupal
04:49generally, take a look at the other URL on your screen, at
04:53groups.drupal.org/high-performance.
04:58Now I know that I've been saying that these features haven't been much used, or
05:02that they've been replaced by something else.
05:03But I know there are going to be people who've used Drupal 6 and who are going
05:06to watch this video, and then go try Drupal 7.
05:09They'll look for some important feature, and be unable to find it and think it's
05:13one of the ones that disappeared.
05:15That's perfectly natural, because a lot of features moved around in Drupal 7.
05:18In fact, every administrative path is changed.
05:22But don't worry. If you're looking for something important, you can bet that
05:25it's still in Drupal 7.
05:27The things that I mentioned here really were the ones that were either not used
05:31very much, or have been obsoleted by better technologies.
Collapse this transcript
Understanding community changes
00:00I know. This course is about software, about bits and bytes and 1s and 0s, and
00:05technically that's all software is.
00:07But in reality the community that supports software is at least as important
00:12as the code itself.
00:14Community defines whether software will keep up with the times and whether you
00:17can get help when something goes wrong, and whether you'll be able to find a job
00:21with your software skills.
00:23Code without community is like a car without roads.
00:27It might hum beautifully but it can't go anywhere.
00:30But fortunately Drupal's community is one of the most active of any
00:34software project on earth.
00:36Let's look at some of the ways that it's grown since Drupal 6 was released
00:39and where it's going.
00:41One thing hasn't changed since Drupal 6. The place to get all of your news about
00:46the Drupal community is on drupal. org, which I've loaded up right here.
00:49It looks, well, exactly the same as when Drupal 6 was released.
00:53At least on the day I'm making this video.
00:55You wouldn't know from looking at it but redesigning and re-architecting this
00:59site has been a focus of a huge effort over the last two-and-a-half years.
01:03It's been led in part by the same design firm that improved the interface of
01:07Drupal itself, Mark Boulton Design.
01:10If you go to their website at markboltondesign.com, you can see some of their plans for Drupal.
01:15Now not all of these will make it into the final drupal.org, but over here,
01:20you get a sense of where exactly this site is going to be going, or at least
01:23the general direction.
01:26You can look at one part of drupal.org that got the new design early.
01:29Let's go to localize.drupal.org, and that's how it looks. Not bad.
01:37There have been some features that have made it into the drupal.org site itself.
01:40One of them is called faceted searching.
01:42I'll show you that by searching for a word that will find a lot of hits for,
01:45let's just say, search.
01:48We get our hits and if you look in the right-hand column, you see this Sort by
01:53various different criteria and you also see Filter by.
01:55So let's say that I know that I'm looking for some kind of module that has
01:59something to do with search.
02:00If I click on Project, that narrows it way down, and then if I want to remove
02:05that I can remove it by clicking on the minus sign there.
02:08You can also narrow it down with several different criteria.
02:11So let's say I know it's a Project and it had something to do with Chris
02:14Shattuck, who is a Drupal developer.
02:17And there we are, now we have a much better sense of what exactly we were looking for.
02:21Two other websites are worth mentioning. The first one is drupal.com, not .org, but .com.
02:28From a marketing point of you, Drupal is a really valuable brand.
02:33I mean hundreds of thousands of people know it, and people tend to remember
02:36.com instead of .org.
02:39So thousands and thousands of people would go to the drupal.com site every week,
02:42and what did they see when they got there?
02:44Well I'll show you something from the archives at archive.org.
02:48This was all that they saw at drupal.com for many years.
02:52Fortunately there is a new drupal.com already, dedicated to promoting Drupal,
02:57while drupal.org is still more about supporting Drupal.
03:00I have to say drupal.com looks pretty good. Here it is.
03:05Along the same lines is the web site for the Drupal association.
03:08Now that's a Belgium-based nonprofit that among other things manages the
03:12semiannual drupal.com event.
03:15You can get to that by going to association.drupal.org, and as you can see it
03:20has the new design as well.
03:22The demand for people with Drupal talent, in particular those who are PHP
03:27programmers, continues to grow in the business world, and I'll show you just as
03:31an example. If I go to monster.com, which is a large jobs board and I do a
03:36search for Drupal somewhere in the Skills and Keywords, you can see that 169
03:44jobs were found right off the bat.
03:46Drupal-centered businesses are also thriving.
03:49The biggest business news by far since Drupal 6 is the launch of Acquia,
03:54a Drupal support company co-founded by Drupal's creator, Dries Buytaert, and it's
03:58supported with $15 million of venture capital to get it started.
04:02You can find it at acquia.com.
04:07Unlike a lot of other Drupal companies, Acquia doesn't actually build sites.
04:10Instead they provide several products and services that support those of us who do.
04:15We'll look at three of them in this video series.
04:18First we'll use Acquia's installer to get Drupal on to our computers, because
04:22it's so much better than the programs I used to recommend.
04:25It used to only have a choice of MAMP for Mac and WAMP for Windows and just a
04:29few others and they all had problems, but the Acquia Drupal stack installer is just great.
04:34The second thing from Acquia we'll look at is called Acquia Drupal, which is a
04:38version of Drupal that includes some helpful additional pieces.
04:41The third thing from Acquia that we'll take a look at is called Drupal
04:44Gardens, which is a way to use Drupal without ever having to install it on your own computer.
04:49It's what's called a hosted service for Drupal.
04:52That covers a lot of what's new in the Drupal community, but of course it's no
04:55way near everything.
04:57Your best way to stay informed in this very busy community is to subscribe to Planet Drupal.
05:02That's a collection of blogs about Drupal, and my own blog at tomgeller.com is on it as well.
05:07You can go to it by drupal.org/planet.
05:12Posts as they come in and show up in this main area and you can see exactly
05:16which blogs are being covered in it in this left-hand column and there are
05:19dozens and dozens of them.
05:21But as always, the best way to learn about what's going on in the Drupal world
05:25is to become an active member of the community.
05:27To do that you can join conversations, join groups that interest you, and just
05:32take part and contribute code if you are able to a drupal.org.
Collapse this transcript
Installing the AMP stack
00:00Quite a bit has changed in the installer for Drupal 7 in two ways.
00:04First Drupal's own installation process looks different.
00:08Most of it works pretty much the same, but there are some important improvements
00:11and we'll go over those.
00:13Second and in a way more important is that the range of choices for the
00:17supporting system that Drupal relies on, that is the AMP Stack, has gotten much better.
00:23To understand what that means, let's review how Drupal works.
00:26Drupal is written in the PHP programming language.
00:30It stores its data into a MySQL database, then those two work together to
00:35deliver HTML pages to a web server which is usually Apache.
00:40Those three things together, Apache, MySQL, and PHP, are commonly referred to as
00:46AMP or the AMP Stack.
00:48In Drupal Essential Training, which I recorded two years ago, the two best AMP
00:52Stacks were MAMP for Mac OS X and WAMP for Windows.
00:56But they both have substantial problems.
00:59WAMP in particular has been a massive headache for me.
01:01Most of the support emails I get for the Drupal Essential Training course
01:04are about getting Drupal to work with WAMP, and you still had to download Drupal
01:09after grabbing either WAMP or MAMP.
01:11Fortunately there is now a much better solution.
01:14The Acquia Drupal Stack installer, which is available for both Windows andMac.
01:19It's known as DAMP.
01:20That's the Drupal AMP Stack.
01:23It's a full AMP Stack plus a special version of Drupal called Acquia Drupal.
01:27You can get DAMP at acquia.com/downloads.
01:32We'll install it on Windows, but the procedure is almost exactly the same on a Mac.
01:36Then there'll be two additional steps we'll actually have to take before we
01:39have Drupal running.
01:41The first step is to replace the Acquia version of Drupal that comes with DAMP
01:45with the basic version of Drupal, which is commonly called Core Drupal.
01:49That's the official one so to speak that you get from drupal.org.
01:53You'll see how to replace Acquia Drupal with Core Drupal in the video "Importing
01:57Core Drupal into the AMP Stack."
01:59Then after we've done that, the last step is to run Drupal's own installer,
02:03which you'll learn in the video "Installing Drupal."
02:06So, let's get started.
02:07First we'll grab Acquia DAMP, and once again that's from acquia.com/downloads.
02:14In order to get it you grab the Stack installer either from Mac, Windows, or the
02:18Deb package for Ubunto or Debian.
02:20The Acquia site is smart enough to go to the version that you want, so if you go
02:23to this site on Mac OS X, it'll actually select the Stack installer for Mac OS X.
02:27Whichever one it does just click Download Now and save it to whatever your
02:32download location is.
02:35Once it's downloaded, you go to your download location, which in my case is the
02:40Downloads folder right here. Double-click and then double-click on it to extract it.
02:44Of course you should go through whatever steps you would usually use in order
02:48to install a program on your computer, and there we are. This is the Drupal Stack installer.
02:55We'll walk through the installation process.
02:57First you click Next and then it asks you what you'd like to install.
03:01In this case we'll install everything that it suggests which is the core
03:04components, that's Acquia Drupal and the AMP Stack, along with this mail server.
03:09You click Next and we're told exactly what's going to be installed.
03:12Click Next again. You come to the license agreement. Read it of course and then
03:17accept it by clicking Next.
03:19Then we can decide where exactly we're going to install the program.
03:22We have two options here. One is where the program goes and the other is
03:25where your sites will be.
03:26I'm going to leave these in their defaults. If you want to change them just
03:29click on this little folder icon and then you can select whatever location you like,
03:33but I'll just click Next.
03:35The next choices you have are about what ports Apache and the MySQL
03:39database program should use.
03:41I recommend leaving these as they are. Particularly on the Mac side I've noticed
03:45there have been some problems with changing the Apache port.
03:48Now Acquia may change that in the future, so if you have a need to use the
03:52default port of 80 or 8088, that may be possible by the time you see this video.
03:56Just check the documentation on the acquia.com website.
04:00But for us we'll just click Next.
04:03Finally we name our site and enter our password and email.
04:06I'm going to call this Drupal 7 New Features. The Username I'm going to make
04:11admin. For the Password I'm going to use my own last name Geller, and confirm it
04:18of course, and E-mail I'm just going to put in admin@example.com. Of course you
04:25should add your own information.
04:26Now this site name is what's going to show up on this site itself.
04:30You will be able to change it later, but as you'll see it'll show up as
04:34the title of your site.
04:35We then click Next and get a confirmation screen.
04:38If everything looks okay here, click Next and Next again to start the
04:42installation process.
04:44This process takes a few minutes so we will jump to the end. And that's it.
04:48We've now installed both the AMP Stack and Acquia Drupal and we click Finish and
04:54that launches the Acquia Drupal Control Panel.
04:56As you can see it starts up both the web server and the database server.
05:00Now if you want to see the site itself, just click on this Go to my site.
05:04That will open the site in your default web browser, and as you see there is the
05:08title that we entered earlier.
05:10To administer this site, we would enter the username and password that we put in
05:13during installation phase.
05:15You might remember that's admin and Gellar, and log in.
05:20If you're using Firefox or another browser that stores passwords, it may ask you
05:24if you want to store the password. I'm just going to say Not Now.
05:27But there we are. We now have Acquia Drupal installed on our computer along
05:31with the AMP Stack.
05:33The next step is we're going to replace Acquia Drupal with Core Drupal.
05:37Now this course is about the differences between Drupal 6 and Drupal 7.
05:41So let's talk about some of those differences, particularly between DAMP,
05:44which didn't exist when Drupal 6 came out, and those AMP stacks that were used with Drupal 6.
05:49That is WAMP and MAMP.
05:52First of all DAMP is a lot smaller than MAMP, at 32 megabytes instead of 160 megabytes.
05:58That really only makes a difference during the download phase of course, but it
06:02is a significant difference.
06:03WAMP was always fairly small at 16 or 32 megabytes.
06:07The second difference is that DAMP can host multiple sites.
06:10It's what's called a multi-site installation, and if we take a look at it, you
06:14see this little pop down here.
06:16When it first installs a site it just calls that localhost, but you could in
06:20fact import other ones or add new ones and so forth, and that's actually what
06:24we're going to do in order to get Core Drupal into there.
06:27The third thing about DAMP is that it's easier to access configuration and log files.
06:33Once again I can go back to the Control Panel and in the Settings you see this
06:36Config tab and Logs tab. If you click on this View or the Edit links, then you
06:42can actually go back and change these very technical files which controlled how
06:45Apache, MySQL, and PHP work in your computer.
06:49The final point is it that there is really good online documentation for DAMP.
06:52Acquia has done a good job just writing everything out as they produced this stack.
06:57The stuff from MAMP and WAMP was okay, but it was a little bit scattershot.
07:01A lot of times you found yourself trying to find answers in the forums rather
07:04than in the documentation.
07:06Well there you are. You now have Acquia Drupal set up and ready to use.
07:10But we're not going to leave it there, because in this course we're concerned
07:12with the basic version of Drupal, as I said, called Core Drupal.
07:16I'll show you how to import Core Drupal into the Acquia DAMP Stack in the next video.
Collapse this transcript
Importing Drupal core into the AMP stack
00:00The Acquia Drupal stack installer is a real improvement over both MAMP and WAMP,
00:05which is what I recommended as the AMP stacks for Drupal 6.
00:08But it does have one peculiarity.
00:11Instead of installing Core Drupal, which is what you download from the
00:14drupal.org website, it installs Acquia's own version of Drupal.
00:18Now personally I like Acquia Drupal a lot and actually I usually use that as
00:23the base for the sites that I build personally, but it is less common than Core Drupal.
00:28It has a lot of extra pieces and some complications that are outside the
00:32purview of this course.
00:33If you're asked to work on a Drupal site that someone else has set up, chances
00:37are it was created in Core Drupal, not Acquia Drupal.
00:40So unless that changes, the Drupal courses I do for lynda.com will deal with Core Drupal.
00:45So, let's get Core Drupal into Acquia's AMP Stac. Here's how you do it.
00:50The first thing that you need to do is download Core Drupal, and the place to do
00:54that is at drupal.org.
00:55I'll go up to this tab that we had open for Acquia and enter the URL. It is
01:00drupal.org/project/drupal.
01:07You can actually download Core Drupal from the front page of drupal.org.
01:10I usually go to this, page/project/ drupal, because then I can download any
01:14version, and as I'm doing this course before 7 comes out I can actually grab the
01:18advanced versions, the 7.x-development snapshots.
01:22To download it, you just click on Download and save it as you normally would any
01:26other file that you're going to install.
01:28Once we've downloaded the file, we just go to its download location and uncompress it.
01:34For me that's the Downloads folder.
01:36On Windows you might have to install an additional program in order to uncompress it.
01:40I've done so already. So I'll just double-click.
01:45It'll take a little while for the file to uncompress, but when it's finished
01:48it'll end up with a folder similar to this one that starts with the word drupal.
01:52Once it's uncompressed, drag it to a place where you know you can find it.
01:55I'm going to put it on the desktop and then go to the desktop so that I can
01:59see it and there is.
02:01If we open it we see all of the files that make up Core Drupal.
02:04The next step is to import it into the Acquia DAMP.
02:08So we go to it and then click on the pop-up menu here and go down to More.
02:14This is where you can import additional versions of Drupal.
02:17I click on Import, look for the files that I just downloaded by clicking on
02:21Browse, and you'll remember I put that on the desktop, so there it is.
02:26I just click on the enclosing folder and say OK.
02:29So that's the files.
02:31Now Drupal is made up of both files and databases.
02:34Since we're going to be creating a completely new site, we create a new database
02:38and we give it a name.
02:39I'm going to call this database d7nf for Drupal 7 New Features, and the site
02:45itself I'll call d7nf.
02:47Now you can't leave this as localhost because the default version of Drupal that
02:51the DAMP installs, that is Acquia Drupal, has the name localhost and if you try
02:55to do this it'll just complain and say, "No, you can't do that."
02:58So I'm going to call this d7nf and Import.
03:01It takes a few moments, and then once it's done it launches your new site.
03:06Now you don't actually have to get rid of the old Acquia Drupal; it's living
03:10there alongside Core Drupal in the Acquia Drupal Stack Installer, and as I go
03:15back to it you'll see we have both the original acquia_drupal and our Core Drupal here, d7nf.
03:22So we now have a new AMP stack that works a lot better than WAMP or MAMP.
03:27We have Core Drupal completely installed, but our installation isn't quite complete.
03:32We still have to go through Drupal's own installation process.
03:35You might remember when we first installed the AMP stack that was already done
03:39for us because it installed Acquia Drupal and went through the whole
03:42installation process by asking us the username and password first, and then just
03:46finished with a complete site.
03:48We still have to do this with Core Drupal however.
03:51Don't worry though. It's a quick and easy process and there are some real
03:54improvements over how things were done in Drupal 6.
Collapse this transcript
Installing Drupal
00:00We finished installing the Acquia Drupal stack installer called DAMP and also
00:04imported core Drupal into the DAMP. Now we'll continue with Drupal 7's own
00:09installation process.
00:11Now for my earlier series we used MAMP and not DAMP to install Drupal 6.
00:16The reason is simply that DAMP didn't exist at the time, so because we're
00:19using MAMP for Drupal 6 and are using DAMP for Drupal 7, some of the
00:24differences you'll see are actually going to be because the Amp stack
00:27themselves are different.
00:28Most notably you have to manually create the Drupal database when you use MAMP and WAMP.
00:33While DAMP does that for you automatically. So if you decide to use MAMP, WAMP
00:38or some AMP's stack besides Acquia's DAMP, your installation process will be
00:42different from what you see here.
00:44It will almost certainly be more difficult and that's why I recommend Acquia DAMP.
00:48Now we've already installed that in the video "Installing the AMP stack," and we
00:53got core Drupal 7 set up in the video "Importing core Drupal into the AMP stack."
00:57The next thing to do is actually run Drupal's installer.
01:01If you're not already on the site use this pop-up menu and select the site that
01:04you want to go to, in our case that's d7nf, and then say, Go to my site.
01:08I am already there, so I'll just click over on my Firefox browser screen.
01:12Over on the left you see the list of things that you have to go through in order
01:16to install Drupal 7.
01:17We'll be skipping two of them, because we are installing Drupal on DAMP rather
01:21than MAMP or WAMP. Namely, we don't have to go through the Verify requirements
01:25or Set up database steps.
01:27If you need to know how to do those, refer to my earlier course, Drupal 6
01:31Essential Training, which installs Drupal over MAMP instead.
01:34Now the first thing that hits you from the screen if you use Drupal 6, is that
01:38Drupal 7 looks very different graphically.
01:40Its new theme, which is the default for all administration that you do in Drupal,
01:45is appropriately called 7 after Drupal 7.
01:48We'll talk more about that in the video "New themes."
01:51But let's get back to our list over here. The first choice, Choose Profile,
01:55lets you choose between a Standard set of modules, which is the one I always
01:58use, and the one I recommend in a Minimal set of modules.
02:01Minimal is the same software as Standard, but it has fewer options enabled.
02:06It's particularly useful for hard- core developers and folks with a strong
02:09do-it-yourself ethic.
02:11It's good for people who want to build their site from the ground up without
02:14distractions, such as the administrative overlay or a search box.
02:17But we don't have to look at that. We are just going to do the Standard
02:20installation profile by clicking Save and Continue.
02:24The next screen is the same between Drupal 6 and Drupal 7.
02:27The default language for Drupal is English, but you can choose to install it
02:31in other languages, in which case your administrative interface is going to be
02:34in those languages.
02:35Just click on this link to find out how, but we're going to do it in English,
02:38so Save and continue.
02:39And as I mentioned it will skip over the Verify requirements and Set up database
02:43steps and just go right into installing Drupal itself.
02:46Now it's looking at the profile we selected. If you choose Minimal,
02:49it'll be a much faster install, but other things won't be turned on.
02:54Finally we come to our Configuration screen. I'll give the site the same name
02:57that we gave it earlier, which is to Drupal 7 New Features, e-mail address I'll
03:03just say admin@example.com, Username is going to be admin, Password I'll save
03:10geller, G E L L E R, and as we scroll down to the bottom, we have this default
03:17country now. I'm in United States, so I will just start typing U, N, I, T and then
03:22scroll down a little bit until we get to United States.
03:25On the surface a Drupal 7 installation for the screen is very much the same as Drupal 6.
03:30It does have this additional Receive email notifications, which is really
03:33wonderful and I recommend that you still keep that already checked.
03:37That way you'll find out if there are any security problems with your version of
03:40Drupal. Scroll down to the bottom, Save and Continue just as before with Drupal 6,
03:44and there's your site.
03:47Because I'm using Firefox, I get asked whether I want remember the password.
03:51I'll just say, Not Now.
03:52The last thing to do is click on Visit your new site, and there it is.
03:56There are a few things that are different about this screen from Drupal 6.
03:59One is that it's not full of all that stuff that Drupal 6 used to have.
04:02It had four paragraphs of text, which most people either didn't read or didn't
04:06understand if they did read.
04:08Now a lot of that stuff is simplified into the commands, because the first
04:11thing people usually want to do is add new content, which you would do by clicking there.
04:15I want to go back and talk a little bit about those requirements and database
04:19screens, neither which we saw here.
04:22There are some things that have stayed the same since Drupal 6.
04:25First of all you still need to copy over the settings.php file. That hasn't changed.
04:30The second thing is that Drupal 7 now recommends at least 40 MB be given to PHP.
04:36Now I am not going to show you how to fix that, but you can find out how in
04:39my course Drupal 7 Essential Training, which will be coming out soon after
04:43this course is released.
04:44If you use the WAMP stack, you are going to find that it only starts with 2 MB
04:48I believe, and it's way underpowered and it simply won't install Drupal 7 properly.
04:53Once again these are some of the reasons that I prefer the Acquia Drupal stack installer.
04:57Another thing I want to mention is that databases are now much better
05:01supported in Drupal 7.
05:02Firstly, the database type is clearer and the list of available
05:06databases includes SQLite.
05:08More importantly, Drupal 7 has abstracted the database layer, so you can
05:12actually use just about any database you want with Drupal with very little extra programming.
05:16I'll talk a little bit more about that in the video "Developing for Drupal."
05:21The next thing I'd do is actually look at the files in Drupal 7. I'll switch to
05:24my desktop and open it up.
05:28There are two things that are specific to the Acquia Drupal stack installer that
05:31are a little bit different from the way it works with other stack installers.
05:35First of all because it's a multisite system, the sites folder is set up a
05:38little bit differently.
05:40I open up my Drupal folder and then sites folder and you see we now have this d7nf folder.
05:45That's for the core Drupal that we installed, and if you install other sites
05:49they will also have separate folders.
05:51We open that up. This is the settings.php for this particular website.
05:55I like to also double-click that file itself.
05:58In the Settings folder, Acquia DAMP handles things a little bit differently then
06:02you might be used to.
06:03You might remember having to enter database settings and they would show up, oh,
06:07about middle of the file underneath all of this explanation, right here.
06:11Well, in this case it just has databases equals array and it's blank.
06:15If you scroll down to the very end of the file, you'll actually see this 'Don't
06:19edit anything below this line' and that's where Acquia DAMP sticks all of its
06:24magic about the database and so forth.
06:26So if you need to move your installation into a remote server, you are going to
06:30have to install on the remote server. Again, this is only if use Acquia DAMP.
06:35I know we have been through a lot just to get Drupal installed.
06:38Even ignoring the differences due to the new DAMP stack, it's quite a bit
06:41better than Drupal 6.
06:43I know because I installed it many times into MAMP and on a remote server
06:47with its own AMP stack.
06:48Just a reminder, you'll get tips on how to verify requirements and install the
06:51database in my earlier series, Drupal 6 Essential Training.
06:55If you run into additional troubles when using some other AMP stack, I'm afraid
06:59they're probably not because of Drupal, but rather because of system
07:02administration issues that I just can't cover in the series.
07:05For those, I recommend you talk with your system administrator or seek out
07:10further help within the Drupal community.
Collapse this transcript
2. The Interface
Working with the administrative overlay
00:01If you've just installed Drupal 7 for the first time and tried clicking on just
00:04about any link you see on the initial page, you've seen the administrative
00:07overlay. Hre I'll show.
00:09Click on Configuration and it pops up. That's this white part that goes over the page below it.
00:15And basically it pops up whenever you're doing any kind of administrative task.
00:19Well, the page you are looking at is visible, just barely underneath it.
00:23Some people love it. Dome people hate it.
00:25This video will show you how to use it, avoid it, and even turn it off
00:29altogether if you want.
00:31Now that we have got it up, I'll first show you how to close it.
00:33You just click on this little x up here.
00:34I'll show you around some of the features of the administrative overlay.
00:38I'll go back up to Configuration and Account settings, and here we see the first one.
00:43We have these tabs up here at the top, when you click on any one of these it
00:47doesn't refresh the entire screen, just the administrative overlay, just like so.
00:52And as you can see just barely underneath we still see our title of
00:55the underlying site.
00:57When you scroll through the administrative overlay, the underlying site does not scroll.
01:01You can see that by noticing this blue area up here at the top of the
01:05underlying site, which is separated from this white area.
01:07And as we scroll, the underlying site doesn't actually change.
01:11It is sort of like having two pieces of paper on the desk, and you're only
01:15moving one on top of the other.
01:17To show this a little bit more clearly, I am going to quickly create a page.
01:20I'll close out the administrative overlay and click Add Content, which by itself
01:25brings up the administrative overlay.
01:26I'll just save Basic Page. This is just going to be called Junk Node and I'll
01:32just fill up the body with blah, blah, blah, and copy that over a whole bunch of times.
01:42There you go. I'll save that, so we now see this in the background with
01:47all this blah, blah, blah.
01:49Now when I raise up the Configuration page, underneath it all you can see, down
01:54here the text of the underlying page is still showing through.
01:57I'll close that out again.
01:59Now one thing that's interesting when you click on anything that raises the
02:02administrative overlay is what happens with the URL.
02:05If we go back to our homepage here, if you look up here, we just see our basic domain.
02:09Remember we're running this off of our own computer so it's this local name,
02:13d7nf, and then the port which we get from the DAMP AMP stack.
02:18When we click on anything that creates the administrative overlay like the
02:21Structure link right here, we now have a URL in two parts.
02:25here's the first part.
02:27Then we have this #overlay=, which shows us the part that hovers above it.
02:32If you want to show either the underlying page or the administrative overlay
02:36just by itself you remove that part that you don't want.
02:40So for example, if I remove this overlay =admin/structure and also remove
02:44that pound and hit Return, we go right back to that page.
02:47Once again, I'll bring up an administrative overlay page and I can actually
02:52remove this #overlay= part, hit Delete and Return.
02:58Then we see what was on the administrative overlay, but only as the basic page itself.
03:02that is it's only at one level.
03:04So that's one way that you can get rid of it, if it's annoying you.
03:07To get it back again, just go back Home and then if you click again on
03:10Configuration, it'll show up again as an administrative overlay.
03:13But let's say you really dislike the administrative overlay entirely. There is
03:17a way to turn it off. Just go up to Modules, scroll down to Overlay, uncheck that box.
03:26Scroll all the way to the bottom and click Save configuration.
03:31Now the administrative overlay will never show up, and I'll show up that by I
03:35going to my homepage here, going to Content, which would normally pop up the
03:39Overlay, and it doesn't.
03:40And as long as we are on Content, I am actually just going to delete that node.
03:45The administrative overlay has an interesting history. One of the biggest User
03:50Interface differences between Drupal and its competitor Joomla! is that Joomla!
03:54enormously differentiates between what the administrator sees and what
03:58ordinary users see.
04:00That wasn't true for Drupal 6, and that in fact irked some people who wanted to
04:04feel a wall between those two worlds.
04:07Lots of discussions and lots of study led to this solution, and personally I
04:11think it's pretty good, especially since you can turn it off if you don't like it.
04:15Frankly the first time I tried it, I really didn't care for it because I used to
04:19navigate around the administrative pages by typing their URLs up here and it
04:23bothered me that I had to type #Content and whatever it was in order to
04:29get the pages that I wanted.
04:30But after a few days of using it, I found myself clicking around a lot more than
04:34I did in Drupal 6, and in the end I was able to use it faster.
04:38And if for some reason I ever want to go back to typing URLs, I still can.
04:42That's one of the features of Drupal 7 is that it gives you a lot more choice
04:45than Drupal 6 did, in matters of interface.
Collapse this transcript
Finding commands
00:00Some of Drupal 7's changes only affected the text.
00:04That is what things are called, rather than the more obvious graphical and code changes.
00:09These text changes are subtle, but they can make a difference in perception,
00:13especially for people who're using Drupal for the first time.
00:16For example, what used to be called Users are now called People and what used
00:21to be called Themes is now called Appearance.
00:24On top of these text changes, there were a lot of organizational changes.
00:28Links moved from one part of Drupal's administrative interface to another.
00:32That make things easier for Drupal newbies, but can be confusing to old dogs like me.
00:37This video gives you an overview of all of those changes, and to show this off,
00:42I loaded up Drupal6 in another tab on this window, so you see it right here.
00:46Now in Drupal 6, when you wanted to administer anything, the first thing you
00:50did was click Administer and that gives you a list of all of the administrative commands.
00:55If you wanted to look at just one group of them, for example, Content
00:58Management, you could then click the submenu Content Management, which would
01:02show you just do things that are in that part of the Administer screen.
01:06In Drupal 7, by contrast, we have the Dashboard. You click up here on Dashboard
01:11and you get this screen.
01:12I'll explain this in another video about the Dashboard, but one of the tabs
01:16here is called By Task, and this should look familiar to you if you're use to Drupal 6.
01:21Again, it has a bunch of different groups, Appearance, Content, Structure and
01:25so forth with several settings underneath them, very much like what you had in Drupal 6.
01:31Now when you compare the two screens, you'll see that the way they're
01:34grouped isn't the same.
01:36Drupal 7 has a lot more groups for one thing.
01:38You have Content, Structure, Appearance, People, Modules, Configuration and so forth.
01:43Also, you'll notice that each one of those groups has fewer links and a lot of
01:46things have moved around.
01:48Let's go over some of those changes.
01:50First, there's a big structural change. In Drupal 6 when you clicked on any of
01:55these Content, Management, Site Building, any of the groups, all that you got
01:59was a list of different links underneath it.
02:02In Drupal 7, sometimes you'll get a list of links underneath it.
02:05For example, when you click on structure, or if I go back a screen, you might
02:10actually get something that you could use right away.
02:12Like when you click on Appearance. See then we get our Theme screen right away.
02:16Let's go back to our Dashboard By Task screen again.
02:20You'll also notice when I click on Appearance, there are two things underneath it,
02:23Update and Settings. Those who have turned into tabs on the Appearance page,
02:27see there is Update and Settings, and you get to exactly the same place
02:31whether you click first Appearance and then the tab, or if you just click
02:35directly on Update.
02:37Now let's go through all of these categories that we had. We'll go back to our
02:41Dashboard By Task again, and the first one is obviously Dashboard.
02:45That takes you here. Nothing really to say about that.
02:48The second thing I want to go over is Help, but before I do that, you'll notice
02:51that Dashboard, Content, Structure, Appearance, all of these things that are
02:54listed up here on the toolbar, these are the same categories here, Dashboard,
02:59Content, Appearance, Structure and so forth.
03:01You can use either one, and in fact, I found myself almost never going to the
03:05Dashboard in Drupal 7. I just use these links in the toolbar.
03:09There is one link that doesn't show up in the Dashboard though, which is the
03:12Help link, and there is not much to say about this.
03:15It's exactly the same between Drupal 7 and Drupal 6.
03:19For the other administrative categories, it's easiest to summarize them using
03:23charts, because there's an awful lot of them.
03:25I am just going to go through them quickly, but you might want to use these
03:29charts for reference if you're used to using Drupal 6 and can't find where
03:32something is in Drupal 7.
03:34Also, I am going to go through these from the point of view of Drupal 6.
03:38So first I'll go through Content Management and explain where to find the
03:41command for Comments and Content and Content Types and so forth.
03:45In the Content Management area, we had Comments, Content, Content Type, Post
03:50Settings and so forth.
03:52This is where they have all gone in Drupal 7.
03:54Content is now its own category and Comments is a sub-tab underneath that.
04:00Content Type and Taxonomy have both been put under the Structure Group.
04:05Then we come to Post Settings, which is unusual because it's actually been
04:08split into several different areas. Some of it is in Site Informatio, and then
04:13Rebuild Permissions, which was formerly on that Post Settings page, is now in Status Report.
04:18RSS Publishing is now in its own group, Web Services.
04:22And I am just going to switch back to Drupal 7 very quickly so you can see that
04:25Content, Structure, and RSS Publishing area.
04:29Going back to Drupal 7, we have Content and Structure and then that Web
04:33Services part is actually under Configuration, Web services, and there is
04:38our RSS Publishing.
04:41Continuing on inside Configuration, this has gone from 12 items to 18 items in
04:46nine categories and it's such a big thing that I have actually put all of that
04:50Configuration bit into a separate video later on in this course.
04:55In User Management, what's now called People, many of the things ended up under
04:59that People screen, but actually are made much easier to understand: Access, Rules,
05:04Permissions, Roles, User Settings and Users.
05:06I want to talk about three of those in particular, Permissions, Roles and Users.
05:12In Drupal 6 this was all under User Management. You had to go to different
05:16screens for Permissions, Roles and Users.
05:19In Drupal 7, if you click on People, you get all of that at once.
05:23You have People and it just immediately tells you who is on your site.
05:26And then when you click on Permissions, you get a sort of sub-sub-tab here,
05:31which gives you Roles.
05:32I think this is very intelligent, because Permissions are really very closely
05:36tied to Roles, and that's something that was never acknowledged in Drupal 6 and
05:40made much clearer in Drupal 7.
05:42Going on, we have Reports, which really have stayed pretty much the same between
05:46Drupal 6 and Drupal 7.
05:48If we take a look at the two, click on Drupal 6 and go to Reports, we have a
05:53list of Recent Log Entries and so forth.
05:55In Drupal 7 when we click on Reports, again it's pretty much the same.
06:00And that takes us to the end of the differences between the menus in Drupal 6 and Drupal 7.
06:04As you could see the biggest changes are inside Configuration, which will go
06:08into in a separate video.
06:10The process of going from Drupal 6 to Drupal 7 has been extremely complicated
06:15and there have been many changes along the way.
06:17I tried to track them all, because I was busy writing a book on it and as I'd
06:21write something about one change it would change again and then again, and
06:24it was a very tumultuous time, but to tell you the truth, I think it turned
06:28out pretty well.
Collapse this transcript
Configuring your site
00:00In the video called finding commands, we talked about how the five categories
00:05of administration commands in Drupal 6 were moved around all over the place in Drupal 7.
00:10There was one area we sort of glossed over, because it was so big.
00:14The Site Configuration section.
00:17The number of links went from 12 in Drupal 6 to 18 in Drupal 7, and now they are
00:21split into nine categories.
00:23That's an awful lot.
00:24We're going to delve into those 18 administrative links and draw parallels from
00:29how they worked in Drupal 6, to how they work now in Drupal 7.
00:33Now we can't dig down to the very core of these differences, there are simply
00:36too many, but I hope this video will give you a better understanding of Drupal
00:407's organization, particularly as it contrasts to Drupal 6.
00:45We'll do this in two steps. First, we'll go down to Configuration screen in
00:50Drupal 6 to find where everything went in Drupal 7.
00:53Then we'll look at some things that are entirely new in Drupal 7. There is a
00:56lot, so it's going to have to be a real whirlwind tour. So are you ready?
01:00All right, let's go.
01:01First, to get to our Configuration pages. In Drupal 6, we click on the
01:05Administer, and Site Configuration. In Drupal 7 we click Configuration.
01:12Now starting down the list in Drupal 6, we have Actions.
01:16In Drupal 7 that went just to Actions right here under the System submenu.
01:22In Drupal 6 continuing down we have Administration Theme. This is the part that
01:26lets you set a different theme for when you have administration pages, over
01:30when you have ordinary user pages, and in Drupal 7 that's turned on by default,
01:34as you see with this 7 theme that pops up whenever you click an Administrative link.
01:39In Drupal 7 it's moved to a completely different area which is under Appearance,
01:43and then all the way at the bottom here, you have Administration Theme.
01:47Continuing down the list in Drupal 6, we have Clean URLs.
01:51In Drupal 7, going back to Configuration page, we still have clean URLs,
01:57down here under Search and Metadata.
01:59One difference between Drupal 6 and Drupal 7 is in Drupal 7 they are generally
02:03turned on automatically. They are a lot easier to manage.
02:06In Drupal 6, we have Date and Time.
02:10In Drupal 7 that's been split into two different things.
02:12As we scroll down to Regional and Language, we have Date and Time and Regional
02:17Settings. Some parts of the original Date and Time from Drupal 6 are handled in
02:21one and some are handled in the other.
02:23Neither of those are the same as the Locale module, which is always been about translation.
02:28Going back to Drupal 6, we have this Error Reporting link.
02:32In Drupal 7, once again, that's been split into two parts.
02:35The first part on the Configuration page is under Site Information, where you
02:40can specify different pages for when people get an access denied page or 403, or
02:45a Not found page. That is a code 404.
02:48It's also been split into a section in Configuration under Development, as we
02:52scroll down here, Logging and Errors.
02:55Some of the controls from Drupal 6 are now on this page.
02:59Going further down in Drupal 6, we come to File system.
03:03In Drupal 7 we find that once again on Configuration, scroll down a little bit
03:08and we have File system.
03:09It's very much the same, except in Drupal 7 you can now have both public file
03:13paths and private file paths.
03:16In Drupal 6 you had to choose one or the other.
03:19Going back to Configuration in Drupal 6, we have Image Toolkit.
03:24In Drupal 7 that hasn't changed really. It's just down here under
03:28Media > Image Toolkit.
03:30Continuing down in Drupal 6 we have Input Formats. In Drupal 7 that shows up
03:36as Text Formats, but it's basically the same thing and it's under Content Authoring.
03:41In Drupal 6 we have Logging and Alerts.
03:43That's the same in Drupal 7, Logging and Alerts, which you find here under Development.
03:48It's actually called Logging and Errors now.
03:51In Drupal 6 we continue down and we have the Performance link here.
03:55That's the same in Drupal 7 but it's a little bit misleading, because even
04:00though it's the same looking link, there've been a lot of changes behind the
04:03scene and if you're interested in that, I would do a search for Drupal 7
04:06performance on the drupal.org web site.
04:09Continuing down in Drupal 6, we have Site Information. That's the same in Drupal 7.
04:14It's up here by the top, Site Information.
04:17The one big change here is whereas in Drupal 6 we had something called the
04:22Mission that went below your Title and your Slogan.
04:26In Drupal 7 they just got rid of the Mission. They found that most people
04:29weren't using it, and it was sort of confusing. What's the difference between a
04:32Mission and a Slogan?
04:33So they just got rid of it.
04:35And the final one in Drupal 6, let's go back our Configuration page, is Site Maintenance.
04:40In Drupal 7 we'll go back to our Configuration page and that's basically the
04:44same thing, it's just called Maintenance Mode.
04:47Well, that's it for Drupal 6's Site Configuration page.
04:50Now let's take a look at some of the new stuff in Drupal 7.
04:53I'll skip over parts that were moved from elsewhere in Drupal 6.
04:58For examples, as I said this part People was formerly called Users. It's really
05:01basically the same thing though.
05:03I gave an overview of such bits in the video named "Finding commands," which is
05:07part of this series.
05:09But let's look at some of the other things on this Configuration page.
05:12The first thing is Image styles.
05:16if you use Drupal 6 much, you know a lot of this as Image cache.
05:19It's basically they took the Image cache module and moved it into Drupal 7.
05:23This is a way that you can manage images and content, and it's really great,
05:27We're going to be going over this in the video "Using images and content."
05:32The second new thing in Drupal 7 is the Search settings.
05:36This was actually under Site configuration in Drupal 6, but you first had to
05:39turn on the Search module.
05:41That module is now enabled by default in Drupal 7.
05:45And you can see that, when you go to your basic Homepage, when you first install
05:49Drupal 7, and you see a search box. You didn't see that in Drupal 6 when you
05:52went to the Homepage.
05:55Continuing on in the Configuration page in Drupal 7, we have URL aliases, down
06:00here again, under Search and Metadata.
06:03This is another thing that was actually available in Drupal 6, but you first had
06:07to turn on the module path.
06:09once you did, the URL Alias's link was under Site building.
06:12The final thing in Drupal 7 that you see here on the Configuration page
06:16that's new is Shortcuts.
06:18We'll discuss that in the video "The toolbar and shortcut bar."
06:21Well, that was a lot of stuff! Did you get it all?
06:24I know, don't worry about it.
06:26The good news is that if you know Drupal 6, most of what you want is either here
06:31someplace under the same name or it's moved to a pretty obvious place.
06:35There are some things that have been removed entirely and you can learn about
06:38those in the video, "Things that disappeared."
06:41All of these changes were made after a great deal of thought and debate.
06:44If you're curious about those back stories and the debate, you can look them up
06:48by searching on the Drupal.org website.
Collapse this transcript
Using the revised Dashboard
00:01A big part of the Drupal 7 redesign was to make the administrative
00:04interface less intimidating.
00:07Drupal 6's main administration page was notoriously confusing.
00:11Here I'll show you.
00:12The way you got there on Drupal 6 was you clicked Administer and then you see
00:16this page which has 32 links.
00:18Yes, I counted them. 32 links in five categories.
00:22Remember, if you will, the first time you saw the screen, many people will just
00:26throw up their hands and run away.
00:28Now, compare that with the main administration page in Drupal 7, which we get to
00:33by clicking on Dashboard. Ah, much cleaerr.
00:36It's not only clearer; it's also very customizable.
00:40This video will show you how to make it dance to your tune.
00:42Now, as you just saw you can get there by clicking on Dashboard.
00:46Once you're there you have two additional tabs: By Task which actually looks a
00:51lot like the old administrative page on Drupal 6,
00:54and By Module, which actually was similar to Drupal 6 By module.
00:58If you scroll up to the top of this administrative page in Drupal 6 you have By module.
01:02Turn back to Drupal 7 now.
01:04Let's go back to By Task.
01:06Now, instead of being 32 links and five categories, we have 27 links in seven
01:11categories, so they're a lot more itemized I would say.
01:14And when you click on the header of any of these, such as Appearance, you then
01:18have some of those sub tabs there Update and Settings.
01:21I've showed this in another video as well, so there is no need to recap all of that here.
01:25Let's go back to the Dashboard itself.
01:28From the beginning it shows what the most recent content posted is, who's new on
01:33the site, what users are new, and also lets you search the site, but you can
01:37customize this however you like.
01:39The way we do that is by clicking on Customize Dashboard.
01:42At the top of this page we have a number of different things that we can place
01:46into the Dashboard. We already have some things here, the Who's new, Search form,
01:51and Recent content as I mentioned.
01:52You can remove these if you want as well.
01:54The way you do this is by dragging and dropping.
01:57And interestingly this is the only place in the Drupal administrative interface
02:01where drag-and-drop works as you would expect in a graphical program.
02:04I'll show you how that works.
02:06Let's say we wanted to put Recent comments underneath Recent content. We just
02:10grab it, drag it, and there it is.
02:12We could also drag it above Recent content just like that.
02:16Now, in our case we don't have any content or comments, so we won't see very much there.
02:20I am just going to drag it underneath Recent content there and click Done, but
02:24we do see that that's where it would be if we had content.
02:27Let's go back to that customization again.
02:29So you see these things, Syndicate, Shortcuts, Powered by Drupal, and so forth.
02:34If these sound familiar it's because here is a secret. They're all just ordinary blocks.
02:40I can prove that by going up to Structure and clicking on Blocks and then
02:45scrolling down here to our disabled blocks.
02:48See we have our Syndicate. Somewhere up here we have the Powered by Drupal block.
02:52There it is in the footer.
02:53And in fact if I create a new block, I'll just this call this Temp block and
02:58do with the title Temp and the body Temp, scroll down to the bottom and Save the block,
03:03then I can go back to my Dashboard and customize it and there is our Temp block.
03:09We could just put it in any part of the Dashboard that we want.
03:12Then when we say Done there it is.
03:15Now, I'm just going to take that out again, the Customize Dashboard, drag it out,
03:19or in fact we could just go back up say Done go to Structure > Blocks and delete it,
03:24just as we did in Drupal 6.
03:29This new Dashboard is a big change for administrators.
03:32In a way it helps move Drupal from something for a hard-core system
03:36administrators to something that everyone can manage with a few clicks.
03:40With this Dashboard, you as the administrator can actually set up a control
03:44panel for your other administrators on the site that they can understand.
03:48That makes it a lot easier for you to really customize the administrative
03:51interface on Drupal 7.
03:54We click up here on Dashboard and we immediately get the information that we
03:57really need right away without having to do a lot of clicks.
Collapse this transcript
Working with the toolbar and the shortcut bar
00:00One of the most popular modules in Drupal's history is called
00:04Administration Menu.
00:05It's a fairly simple module.
00:07It's just a strip of pop down menus at the top of the screen, but it makes site
00:11management a lot easier for administrators.
00:14Drupal 7 successfully incorporated that module's main feature as the toolbar,
00:18which you see at the top of every page in this black area.
00:21You'll only see it though if you have permission to see it and of course as the
00:25site administrator, we can see it ourselves.
00:27You can change that permission of course in Permissions.
00:30Just below that is the shortcut bar, this gray area right here. Technically the
00:35shortcut bar is actually part of the toolbar, so everyone who can see the
00:38toolbar can also see the shortcut bar.
00:41The difference between the two is that the links in the toolbar are frozen in place.
00:45They're Drupal's main clickable interface and you can't change it.
00:48It's basically the Administer menu from Drupal 6, but made horizontal and pretty.
00:53The shortcut bar on the other hand, this gray area, can be made to show links to
00:57any part of your site that you like and I'll show you how.
01:00We don't really have to go over how the toolbar works because we've been using
01:03it this whole course.
01:04You click on it and it gives you the administrative part that you need.
01:08And then you close out the administrative overface if necessary.
01:11Two parts we haven't shown are up here to the right.
01:14Log Out I don't think we need to discuss at all.
01:16And then this brings you to your user account just like so. One other part of the
01:21toolbar and shortcut bar is this little arrow here which you can use to close
01:25the shortcut bar, so it sort of folds up underneath the toolbar.
01:29So that's the toolbar.
01:31Now let's move onto the shortcut bar.
01:33It starts out with just two links in it, Add content and Find content, but you
01:37can add things and remove things as you like, and they're basically two
01:40different ways to do that.
01:42One is really convenient once you know where it is and I'll show you that by
01:45going to pretty much any administrative page.
01:47Let's say Appearance.
01:48Now, you see this little plus next to Appearance. As we hover our cursor over it,
01:53we see Add to Default shortcuts.
01:55I'll click it and there it is.
01:58Now, wherever we are in the site, we are on the Configuration page, it doesn't
02:01really matter. The Dashboard.
02:03If we want to get to that page all we have to do is click Appearance.
02:07And there we go. Once we're there we can remove it from the shortcut bar by
02:11clicking on what's now a minus sign. You click it, say yes I do want to remove it, and it's gone.
02:16The other way to add and remove things from the shortcut bar takes a little bit
02:20more digging, but it's a lot more flexible.
02:23You can see that at the end of the shortcut bar here, Edit shortcuts.
02:26And before I go there I'm just going to take a note here. This is at
02:28admin/appearance and I'll actually copy that URL.
02:32Now, I'll go to Edit shortcuts, and say yes I'd like to add a shortcut.
02:37I'll call it Appearance.
02:40And down here I'll say this is where I want it to go and Save.
02:45There it is and once again, when I click it that's where I go. So far so good.
02:49Now, things get a little bit tricky.
02:52We've been editing a single shortcut bar.
02:55Every user with permission to see the toolbar will see that same one, which is
02:58called default, but you can actually create as many shortcut bars as you want.
03:03That's useful if you have people on your team performing different tasks. You can
03:07give each group it's own shortcut bar.
03:09For example, a news editor might have one that says Post news articles, while a
03:13community manager shortcut bar it might have one that says Add member.
03:16And I'll show you how to do that by going up to Configuration and scroll down to Shortcuts.
03:22I'm going to create a shortcut bar called editor by clicking there and saying
03:26Editor and Create new set.
03:28Now just to show you, I'm going to go back to Configuration and Shortcuts and we
03:33see we have Default and Editor.
03:35You can delete the editor set, but you can't delete the default set. That's the
03:38basic one which again everyone sees unless you tell them otherwise.
03:42I'm going to go back and add another shortcut. I'll go up to let's say
03:45Content > Add new content > Article.
03:48And as you expect, I have this plus sign up here.
03:51If I click it, it goes to the default shortcuts and we see it up here next to Appearance.
03:56If we go back to Configuration and Shortcuts, we can actually list the links in each of them.
04:00We haven't changed our editor shortcut set yet.
04:03So you might be asking how can I actually change that editor shortcut set?
04:08Well, I'll show you. You do it in the user account.
04:11To do that I go up and click on my own account, which is admin, and I have this
04:16new tab here called Shortcuts.
04:17When I click on that, I can select which shortcut set I want to use or I
04:23can create a new one.
04:24I'm going to switch over to Editor and say Change set.
04:27Great, I'm now using the Editor shortcut set.
04:29When I close out this window,
04:31now when I go to Configuration and let's just say Account Settings, and I add one here,
04:36now it says Add to Editor shortcuts.
04:39So as you can see you can have multiple sets if you like one again for news
04:43editors and other for community managers and so forth.
04:46Now, when you create a new user, they get the default shortcuts to start off.
04:51As someone with administrator privileges, you can change which shortcuts they
04:54get by going to that person's user page, just as you did on your own page.
04:58The way you would do that is you would go to People and then you go down and
05:01edit the person just as you normally would.
05:04You can also grant individual users permission to decide what shortcut bars they want to use.
05:09And the way you do that is by going to People, click on Permissions, and then scroll down.
05:15There is actually a shortcut section down here where you can, as you say,
05:20Select any shortcut set.
05:22I could give that, for example, to every authenticated user if I wanted, but for
05:26now I'll just go back Home.
05:28These two bars, the toolbar and shortcut, bar are really great boons to people who
05:33get around by pointing and clicking.
05:34They don't replace every function of that Administration Menu module which
05:38I mentioned earlier.
05:39And you can still get it at Drupal.org/project/admin_menu.
05:45The most notable difference in Administration Menu is that it has pop-out menus.
05:50So when you move your mouse up here instead of just seeing Appearance or People
05:54you would actually see all of the sub things underneath that.
05:56That's actually very useful if you like to point and click.
05:59Some people dislike this toolbar and shortcut bar altogether because they
06:03think it's a distraction.
06:04Well, fortunately just like the administrative overlay, you can turn it off.
06:09You go Modules scroll down to Toolbar and you would check this box and then Save
06:15configuration and it would be turned off entirely.
Collapse this transcript
Configuring contextual link controls
00:00Over 25 years ago, the point and click interface catapulted home computers from
00:05something that was just used by hobbyists and grudging businesspeople to being
00:09a fun and useful device for ordinary people at home.
00:12Drupal has been undergoing a similar transformation over the past few versions,
00:16becoming less text and programmer- centric and much more graphical.
00:21Drupal 7 introduces several nice features that make administration even more
00:25graphical and intuitive.
00:26We already saw one of them in a video earlier in the series about the Dashboard
00:30where you can rearrange blocks on a page by dragging and dropping them.
00:34Now, we're going to take a quick look at another one. Contextual link controls.
00:38This is really a very simple thing to show, but it has some subtleties.
00:42I'll show you over here on this search block here.
00:44I'm logged in as the administrator, so when I move my cursor over it, you see
00:48this little widget that shows up.
00:49We click that and we can Configure it. We see that it's a block.
00:52When you click on Configure block, we just goes straight to the place where we
00:56can say where exactly it goes on the page and change the title and so forth.
01:01That's pretty obvious.
01:02What's not quite as obvious is that the contextual link control changes
01:06depending on what sort of thing you're pointing at.
01:08For example, here we have management, which is actually a menu. When we click on
01:13the link control here we get not only Configure blocks, since it does appear
01:17on the block, but also we could edit the menu to change it's name or list the links.
01:22And when of course add them and remove them the way we normally would in any
01:25other kind of menu change.
01:28Finally, I'll show you what it looks like on a node.
01:30I'll just add new content and just say it's an article and just say Test node.
01:35It doesn't really matter what it says. Scroll down to the bottom. It's going to be
01:39on the front page. Then we'll say Save and go back to our front page.
01:44Now, as I hover over this one we see our link control we can actually go in and
01:48edit or just simply delete that node.
01:50Now I want to mention that only shows up when you're looking at the node in a
01:54list view such as on the front page.
01:56If I were to go to the node itself we would just have to click on the View or Edit tabs.
02:00I'm going to go back to that front page and just quickly delete this.
02:06Done! Contextual link controls are a simple little trick, but what's important
02:12is that the code that makes the impossible is actually built into Drupal's core.
02:17That has a bigger implication then you see here because it means that people who
02:20develop modules for Drupal, and there are a lot of such people out there, can take
02:24advantage of these contextual controls.
02:27The upshot I think is that as time goes by a lot of modules are going to have
02:30the same sort of point and click convenience that this little widget offers.
02:34And that's going to make Drupal much more accessible to the public as a whole.
Collapse this transcript
3. Themes and Modules
Building with new themes
00:00Let's face it.
00:01The first thing that people notice about your site is its graphic design.
00:05Lots of Drupal sites just stick with the default theme, which in Drupal 6
00:09was called Garland.
00:10I'll show it you right here.
00:11I'm sure it looks familiar if you have used Drupal 6.
00:14It's a good design but it's getting kind of dated, especially since so many
00:18people use it and it doesn't have some of the flourishes that people expect in a
00:22web design these days.
00:23For example, take a look at this menu links style. It's just a very bare effect
00:28as you rollover your cursor.
00:30Let's look at some of the other themes offered with Drupal 6.
00:32To get there you go to Administer > Site Building and Themes.
00:37As you scroll down you see that there are Blue Marine, Chameleon, Marvin,
00:41Minelli, and Pushbutton and they're likewise not so bad but they are kind of
00:45drab in modern terms.
00:47These were all actually holdovers from Drupal 5. There was nothing new in Drupal
00:506 and three of these themes were in Drupal 4.
00:54So it was definitely time for a change.
00:56So let's take a look at Drupal 7.
00:58Drupal 7 has a new primary theme, which is called Bartik, after the early
01:02programmer Jean Bartik who worked on ENIAC. It looks a lot like Garland but it has
01:07some small changes that bring it upto date and by the way Garland is still
01:10available even if it's not enabled by default.
01:13I can show you one of these small changes by adding a little bit of content
01:17and I'll just create a Junk node and scroll to the bottom and add it as a menu
01:22link called Junk node.
01:24Now you'll notice when I rollover, it just underlines there but if I go to the
01:28Homepage it actually lights up and rolls-over as well so you have a nice little
01:33bit of modern effect there.
01:34I am just going to delete that node now, like so.
01:39So that's the default theme. Now let's look at how you manage themes in Drupal 7.
01:43To do so click on Appearance and you'll notice immediately something new at the
01:47top, Install new Theme.
01:49That's a great feature and I'll show you how it works in the video "Installing
01:52themes and modules." Also new in Drupal7 are these tabs up here at the top.
01:57The Settings tab is familiar to you.
01:59That's how you change the global settings, which affect all themes.
02:02In Drupal 6 you got there by clicking Configure. This Update tab lets you update
02:06themes directly through Drupal's interface. You don't have to mess around on the
02:09Web server anymore to add a theme and we'll show you how that works in the video
02:13"Updating themes and modules."
02:16But let's go back to our list now.
02:18At the bottom we have some Disabled Themes and then below that we have an
02:22Administration theme.
02:23The Administration theme is why you see a different interface when you look at
02:27administration pages as opposed to the main site that a visitor would see, and
02:32if you wanted to, you could change it so that you also saw that in the default
02:35theme or Bartik are any of the others.
02:37I am going to just switch over to Garland and make that our default theme and
02:40compare that to the Garland in Drupal 6 because there is a small difference.
02:44I click Enable and set Default and then close out the Administrative Overlay,
02:48and here we are at Garland.
02:50Let's take a look at Garland on Drupal 7 as opposed on Drupal 6.
02:54It looks very much the same. Here it is on Drupal 7 and here it is on Drupal 6.
02:59There is a difference though when you go into Appearance and change the
03:02settings you now have a choice of making it either Fluid Width theme or a Fixed
03:07Width theme and if we change it to Fixed Width and then save, you see exactly what that means.
03:12Instead of being able to make this center area larger and smaller, it stays the
03:16same size, which is good if you have a design that calls for that.
03:20Another change between 6 and 7 is there is no longer a mission statement in themes.
03:25So at the top of the screen here we have the Title and then we have an optional
03:29Slogan below that but we don't have another line in addition to that.
03:33You would see that in Drupal 6 by going to Administer > Site Configuration and
03:38Site Information and there is your Mission. It's no longer in Drupal 7 and that
03:42affects how your theme appears, of course.
03:44Now let's talk about the other theme that's new in Drupal 7, which is called,
03:48interestingly enough, Seven.
03:50To get there, of course, you click on Appearance and scroll down and I'll
03:54make that the default.
03:56Once we close our administrative window you then see your site just the same way
04:00that you saw the administrative interface.
04:01If we go back Home you see it's actually quite dull, I am going to change it
04:05back to Bartik, but of course we'll still have Seven as our Administrative
04:08theme, and there we are.
04:11The final theme that's new in Drupal 7 is called Stark and it's not a theme
04:16that you would want to use just by itself. It's listed down here at the bottom
04:19as a disabled theme.
04:21The real reason that it exists is as a base for other themes that you're going
04:25to build. I'll go ahead and enable it, just so you can see what it looks like
04:29and close the Administrative Overlay.
04:31It's just a little bit of layout and really no text styling at all. As I say,
04:36it's something only to be used for building your own themes, and then I'll just
04:39switch it back to Bartik.
04:43Now I have saved the best part for last. The new themes, Bartik in particular,
04:47have a lot of block regions.
04:51You might remember in Drupal 6, if you go to Administer > Site Building and Blocks
04:56you see these regions header, right sidebar, left sidebar, content and footer,
05:00and that's pretty much all that you get.
05:02Well, take a look at what you get in Bartik. To do that we go to Structure and
05:06Blocks and Demonstrate block regions.
05:09Look at that. Header is this featured thing up here. If, for example, you're
05:13running a newspaper site and there is a big store, you can just splash it right
05:16at the top of the page.
05:18Sidebar first and second, much like left and right before, a highlighted
05:23area, Help and Content.
05:24The help area is now a block area so instead of only having help information
05:29there you could put all sorts of things there.
05:31Then at the bottom you have all of these column options. It's really wonderful.
05:35So that's a lot of changes but remember these are only the themes that come with
05:38core Drupal. If you use Acquia Drupal, which we discuss in another video in the
05:43series, you get even more themes.
05:46And then we should find some URLs. I'll just type these up here so you can see
05:49what they are, drupal.org/projects/ themes. So that's one it'll be flown in.
05:56The other one is going to be themegarden.org and I am just going to close those windows.
06:03And as always you can download a huge number of free themes from
06:07drupal.org/projects/themes and you can see demonstrations of them
06:12at themegarden.org.
Collapse this transcript
Reviewing the new and modified modules
00:00Some of the changes to core modules in Drupal 7 are sort of behind the scenes.
00:05Unless you compare the list of modules in Drupal 6 to that of Drupal 7 you might
00:09not notice that there's anything different at all.
00:11So, we are going to do exactly that. First thing we have to do is go to the modules page.
00:15In Drupal 7 you do that by clicking Modules and in Drupal 6 you click
00:19Administer > Site Building and Modules.
00:22The first thing, you notice when you look at this list is in Drupal6 there
00:26are two groups: Core-optional, which I'll close, and Core-required, which I'll
00:30open by clicking on it.
00:32There are five modules in Core-required, which in Drupal 7, they're still there,
00:36but they don't show up in a separate group. Instead it's all just Core.
00:40What Drupal 7 does instead is it puts required by:Drupal next to it.
00:44You'll notice that some modules such as Comment are required by other modules,
00:48like Forum, where some are simply required by Drupal as a whole.
00:51Let's do a search for those, required by:Drupal.
00:57Most of the ones that we will find have to do with fields, that is being able to
01:01add fields to entities such as Content Types and Profiles and Taxonomies. You'll
01:07learn all about those in the video "Adding fields to content types."
01:11This one field is one of those.
01:12Field SQL Storage is another one.
01:15Filter has to do with Content Text Filtering,
01:18filters required by Drupal. This is very much like Text Formats in Drupal 6.
01:22List is another one that has to do with fields. Node is one that was required in
01:25Drupal 6. Number has to do with fields. Options has to do with fields and so on.
01:30Most of them have to do with fields.
01:32System is one that was required in Drupal 6 and Text is another field one,
01:36User required in Drupal 6 and then we're back at the beginning again.
01:40Let's start going down the list. I'm not going to mention those that are the
01:43same in Drupal 6 and Drupal 7. Instead I am only going to call out those that
01:48are either new in Drupal 7 or have disappeared or have moved in some interesting way.
01:53First we'll start with the ones that have disappeared. Two that were in Drupal 6
01:56but are not in Drupal 7, I am going to open this Core-optional group again, are
02:00Blog API and Ping down here.
02:04You could find out more about both of those in the video about things that disappeared.
02:08In Drupal 7, as we go down, we have a new one here, Contextual Links.
02:12you can find out about that in the video about contextual link controls.
02:16Going down just one more. We have Dashboard.
02:18That's also a new feature in Drupal 7 and I have a video about that in the
02:22series about the Dashboard.
02:23We've already mentioned all of the ones regarding fields and I told you about
02:27Filter which was formerly Text Formats.
02:30Then as we come down a little bit more. We come to Image.
02:33Both Image and File up here have to do with the new image system, which is
02:38really great. It lets you put images and content much easier than you were able
02:41to in Drupal 6 and you can learn about that in the video about using images and content.
02:47Scrolling down further in Drupal 7 we have this Overlay module. We have a video
02:52about that as well about Using the administrativeoverlay.
02:56Just below the Overlay module is Path.
02:58Now Path also existed in Drupal 6 but what was interesting as it wasn't checked
03:02then but it is checked in Drupal 7.
03:05What people found out was that everybody always checked the Path module. This is
03:09the one that lets you say, for example, your domain name/whatever the title of
03:14the node is as opposed to /node/6 or whatever it is.
03:17It basically turns your URLs into something more readable, which is great for
03:21search engine optimization.
03:22Going down further in Drupal 7 we have RDF. RDF stands for Resource
03:27Description Framework.
03:29RDF adds context to data on your site. It basically makes your site more
03:34readable by other machines.
03:35It's a very interesting system which I'm afraid is a little bit more complex
03:39than I can get into now but if you want to learn more see Drupal.org/node/443824
03:46for an excellent description of what it is and how it works.
03:50As you go to a further, much like the Path module the Search module is now
03:54highlighted by default.
03:55This is why when you first install Drupal 7 you get a search box which you
03:59didn't get in Drupal6.
04:00It was easy enough to add in Drupal 6. You just added the module.
04:03But in Drupal 7 since they found that everyone was using it they just turned it on by default.
04:08Going down a little further we have this Shortcut module and you learned about
04:11that in the video about the toolbar and shortcut bar.
04:14As we scroll down a little bit further we get one of my favorite modules,
04:17the Testing module.
04:18Now unless you're developer, chances are you'll never use this module.
04:22We'll talk about what exactly it does in videos later in this course about development.
04:28But basically it lets module developers check their code and it really improves
04:32the quality of it. It runs automated tests against the code that they write so
04:36that the Drupal platform in general is going to be a lot more stable because it
04:39will be easier to make it stable, and we can thank the Testing module for that.
04:43Continuing down we have the Toolbar. As I mentioned that's sort of grouped with
04:46the shortcut bar and we cover that in a video on the toolbar and shortcut bar.
04:50The Update Manager is also new.
04:52This is a big win in Drupal 7.
04:55Basically what it lets you do is update your modules and themes without ever
04:59leaving the Drupal interface.
05:01Where as before you had to go and sort of get at the guts of your server and
05:04start messing around with UNIX and so forth, now you just click a few things in
05:08Drupal and it works.
05:09I'll be showing you that in the videos about updating themes and modules
05:13Finally, there is one thing missing here which we had in Drupal 6 which was the Upload module.
05:18In Drupal 7, because of some of the changes having to do with fields,
05:21it's simply not needed. It's handled through what's called the Field API, the same
05:25thing that gives us fields and content and profiles and so forth.
05:28Now that I've gone through the list I do want to mention one other thing about
05:32a module that's not part of core but just about everybody installed it. Or if
05:37they didn't install it they had to create a workaround on their server. It's called Cron.
05:41In my earlier course, Drupal Essential Training, I noted that you had to set up
05:45a UNIX program called Cron in order force certain periodic checks of your Drupal site.
05:50If you couldn't set up that program or you didn't want to could use a
05:54module called Poor Man's Cron instead.
05:56Well, I never liked having to deal with either of those and I'm really happy
05:59to say that you don't have to Drupal 7 because a Cron-like function is now built into Drupal.
06:05To modify it, click Configuration and you have a choice here, Cron. Click that.
06:10You can change how often it runs or just make it run right now by clicking Run Cron.
06:14I know there was a lot to swallow, all at once.
06:17I find that looking over the Module page is a good exercise though for
06:21everyone getting familiar with Drupal or in this case getting familiar with the
06:24new version of Drupal.
06:25That's especially true in Drupal 7 because as you click the Modules page and go
06:29down here you see that many of them have this Configure link right next to it.
06:33So anything that's new you can just click Configure, or Help for that matter,
06:36and find out more about it.
Collapse this transcript
Installing themes and modules
00:00I think that one of Drupal's biggest barriers for many users has been that it's
00:04demanded a fairly high level of system administration skills.
00:08Getting Drupal installed is the first hurdle. Then if you want to add any
00:12modules or themes, you have to go back to the server and mess around with UNIX
00:16commands and all that.
00:17Even if you're already a UNIX wizard, you might not have sufficient permission
00:21to use the commands on your server. And so with earlier versions of Drupal,
00:24you're pretty much stuck.
00:26But Drupal 7 let's you perform some of the most important tasks through the
00:30Drupal interface itself.
00:31After Drupal is installed you almost never have to touch the server.
00:35This video will show you how to install new themes and modules using these techniques.
00:39You can still install them the old way, but after you see the new way I think
00:42you'll agree it's much, much easier.
00:45Now the procedure you're going to see is the same for both themes and modules.
00:49They are both quick, so we'll go through both of them.
00:51First, we'll start with themes.
00:52Go up to Appearance, and of course, as you know, you see the list of themes
00:55here, enabled ones at the top and disabled ones at the bottom.
00:59Up at the very top, we see this line "Set and configure the default theme for
01:03your website" or "Alternative themes are available."
01:05If you click that Alternative themes, and I am going to do this in a new tab,
01:09then you see the theme page for Drupal.
01:11I am going to filter for Drupal 7 compatibility, since you can only use Drupal 7
01:15themes with Drupal 7.
01:16So, I do that and Search, and there we go.
01:20We now have a selection of Drupal 7 themes.
01:22Since I'm making this before Drupal 7 has actually been released though, a lot
01:26of these themes are in developer stage and I've looked through many of them and
01:29they're not quite working.
01:31There is one in particular toward the bottom of the screen here that I know does work,
01:34so I am going to use that for my example.
01:36It's called Corolla, and it's way down here.
01:40Now, with Drupal 7 you could click Download and put it on your local machine
01:44and then put it on your server, or you can actually download it directly into
01:48Drupa, and I'll show you how to do that.
01:50I am going to right-click on Windows or Ctrl+Click on Mac to bring up this
01:54contextual menu and say Copy Link Location for the Download link.
01:58Then I'll switch back to Drupal 7 and here I click Install new theme.
02:03I have a choice now of either uploading the file I downloaded, if I downloaded
02:07it somewhere, or I can install it directly from a URL.
02:11So, that's what I'll do.
02:11I'll paste in the URL that I just grabbed and say Install, and that's it.
02:16There is one strange thing right now, which is that it takes away the
02:19administrative overlay when you install a theme this way.
02:22That maybe changed in later versions by the time you see this.
02:25But for now I want to switch to that theme, so I'll go to my administration
02:28pages and then go to Appearance.
02:31Then when I scroll down, I'll see Corolla right there. Very often they
02:35are installed disabled.
02:37So you'll want to look for it both in the enabled and the disabled area.
02:40I say Set default, and now I have my new theme when I go back to my
02:44homepage, and that's it.
02:46Corolla has now been installed.
02:48I am just going to switch it back to Bartik, since we don't really need to leave
02:51it that way for the rest of the course.
02:53There is one thing you should know. Although you can install themes this way
02:57and you can disable themes this way, as I will do right now by just saying Disable here,
03:02you can't actually delete them off the server.
03:04For that, you still have to go onto the server and pull off the files themselves.
03:10This technique installs modules and themes into the All folder, so they're
03:14available for all of your Drupal sites in a multi-site installation.
03:18If you only want them available to specific sites, you'll have to do that
03:21manually on the servers using the old-fashioned method.
03:25I'll show you how to do that.
03:26First, I'll switch back to my desktop where I have Drupal 7 installed.
03:30So, here's our Drupal-7 folder. I'll open that up and look in sites and all,
03:36and there's our theme.
03:36Now, if I actually want to delete it, I would just drag it to the trash.
03:39But as I said you could also put it in a specific site if you want, by putting
03:43it in that particular folder.
03:45Now, we are going to try the same thing with modules.
03:47For that I'll switch back to my website and from there I'll click on Modules.
03:52You see in the Modules page the same thing that you saw in the Appearance page.
03:56You have this link to contributed modules, which I am going to open this again
03:59in a new tab, will show you all of the modules that are available for Drupal.
04:04Again, you can filter by compatibility, so we'll just see the 7.x modules.
04:09I am going to install one of these.
04:11First, I'll find one that I know is stable already and the token is fairly
04:14simple and it's stable.
04:16So, instead of doing the direct download into Drupal, I am going to download it
04:20as a file this time.
04:21So, I click on Download and Save File and then close that.
04:25Now, I go back to my download area, which is my desktop in this case, and there it is.
04:31Now if I go back to my site, here we are, Drupal 7 New Features, and
04:34click Install New Module.
04:36I could then upload it by clicking Browse and going back to my download area,
04:39which in my case again is the Desktop, and Install, and there we go.
04:44Then if we go to our Administration pages and again to Modules,
04:47we can scroll down and see the Token module that we just installed.
04:51I won't turn it on since we won't be using it for the rest of the course.
04:54Finally, I want to mention a place you can go to install either a module or a theme.
04:59Just click on Reports and Available updates, and here you have a choice of
05:03installing either a new module or a theme.
05:06Drupal is clever enough to figure out whether you want to install one or the
05:09other and will put it in the correct place.
05:12If you're used to installing themes and modules the old way, I think you'll
05:15agree that this is much easier, and Drupal's developers really deserve a lot of
05:19credit for making it work.
05:21If you've never installed themes and modules the old way and you're curious
05:24about all the pain you're missing out on, you can relive it all by watching the
05:28videos in Drupal 6 Essential Training, named "Finding and Installing A New
05:32Theme" and "Unpacking and Installing Modules."
Collapse this transcript
Updating themes and modules
00:00Drupal can be a harsh mistress.
00:02A plain HTML website has a lot less functionality than a Drupal site, but at the
00:06same time there is a lot less that can go wrong.
00:09So Drupal and all its supporting modules undergo a constant process of bug
00:14fixing, security tightening, and general revision.
00:17Unfortunately, a lot of Drupal administrators don't bother to keep up on the
00:21latest versions, probably because up until now, you had to know a fair amount
00:25about server administration just to update your modules.
00:28In the video "Installing themes and modules," I showed you how Drupal 7
00:31introduced a new way to install new themes and modules through Drupal's
00:35web-based interface.
00:37Now, I'll show you how it let's you update those themes and modules through a
00:40very similar process.
00:42First, I'll show you how Drupal lets you know that a module needs to be updated.
00:46Now, when I am clicking around in my administrative interface, eventually I'll
00:49see a notice like this, "There are updates available."
00:52And then it will say, "See the available updates page."
00:55And fortunately, you can just click there and it takes you right to it.
00:58Now, before I started making this video, I installed an old version of Token, so
01:02I knew that it would catch this.
01:04It says, yes, Token needs to be updated.
01:06If you want to read what's new in it, you can click on this and in fact I'll
01:09just right-click, so we can see what is.
01:11I opened it up in a new tab and there this lists all of things that's new in
01:15this version, over the one that I have installed.
01:17Let's go back to our site now.
01:19You also have this link here, which will lead you back to the project page, and
01:23again I'll open that in a new tab.
01:25Just in case you want to read up with what exactly it is you're updating, that's
01:28useful especially if you have dozens and dozens of modules or somebody else
01:32created the site and you're not really sure what everything actually does.
01:36Let's go back to our site and I'll actually update this.
01:38All you have to do is check this box and click Download these updates.
01:43If you had a number of these, you could just click this box at the top and all
01:46of them would be selected.
01:48Click Download these updates. It goes through the process.
01:51Before it actually installs the update, it warns you that you have to back up
01:56your database and site.
01:57If you need to learn how, of course, you can open this up and it will walk you
02:00through the whole process.
02:01I think this is a wonderful idea, because so many people will download things
02:05and install them without really knowing what's going on and without taking
02:08the proper precautions.
02:10If you don't want to go through reading the whole process on how to properly
02:13backup your database and site, you can also learn through my Drupal Essential
02:17Training course here on lynda.com.
02:19For us, I am just going to click Continue and it goes through the whole process.
02:24Now, before we finish we should still run database updates.
02:28This is something that hasn't changed since Drupal 6.
02:31Every time you update something on your Drupal site, you should run
02:34this database update.
02:35You can click that link or just as before, you can go up to the address bar
02:39and type in update.php.
02:42And as before with Drupal 6, only the administrator can do that or somebody who
02:46has the appropriate permissions.
02:48I'll go ahead, it gives me the usual warnings, click Continue, and it's done.
02:53Then we go back to our frone page, and if we go to our Modules page and
02:56scroll down to that module, which you'll remember is Token, we see that it's
03:00been updated to alpha2.
03:01Now, I won't go through the same process for updating this theme, since it's
03:05really exactly the same.
03:07But I do want to mention one caveat. If you've made any modifications directly
03:12to your module or theme, remember that they'll be wiped out when you overwrite
03:16them with the new version..
03:17That's the same as with Drupal 6 in previous versions, but I think it bears repeating.
03:21It's also why good Drupal programming practices, such as modifying.info files on
03:26customized modules and so forth, are as essential as always and you can find
03:30those out on the drupal.org website.
Collapse this transcript
4. Content
Creating and administering content
00:00There has been no big changes in how you create content between Drupal 6 and
00:04Drupal 7, but there have been a number of small changes and they add up to a lot.
00:10So, let's take a look at them.
00:11The first thing is what it's called when you create content. In Drupal 6, we
00:15have Create content, whereas in Drupal 7, we've either Add content or Add new content.
00:21The second thing you notice is the names of the two basic content types are different.
00:26In Drupal 6, they were Page and Story, whereas in Drupal 7, they're Basic page and Article.
00:31Let's create a basic page in both Drupal 7 and Drupal 6, and walk for it quickly
00:36through the changes on the Content creation page.
00:40Starting at the top in Drupal 6, we have the Title, Menu settings and Body.
00:44I always thought that Menu settings were sort of strangely placed, and in fact,
00:48that's been fixed in Drupal 7.
00:49Now we have the Title and Body right up here at the top and Menu settings is at
00:54the bottom in this new area called vertical tabs.
00:57I'll come back to those in just a minute.
01:00Continuing down in Drupal 6, we see Input format and we have two options,
01:05Filtered HTML and Full HTML.
01:08Drupal 7 added a third one called Plain text, and it also changes a little bit
01:13the way that you see these.
01:14Drupal 6, it takes up a lot of vertical space and you have to click this tab
01:18in order to show it.
01:19That's because it explains what each of these things is underneath the thing itself.
01:23In Drupal 7, as you change this, it has a nice little bit of JavaScript that
01:28changes it right in front of you.
01:31Continuing down to the bottom, we have the vertical tabs, which I think are a wonderful thing.
01:36The Menu settings as I say are pretty much as before, except again, they have a
01:39little bit of JavaScript magic, so you only see the options when you click to
01:43show that you want to add a menu to this content.
01:46Revision is pretty much the same. URL path settings is the same as in Drupal 6,
01:51if you turn on the path module.
01:53The difference here is that in Drupal 7, the path module is on by default,
01:56whereas in Drupal 6 it was off by default.
01:59Comments in Drupal 7 have been simplified quite a bit.
02:03In Drupal 6, I found them somewhat confusing to be honest.
02:07You had Disabled, Read-only and Read/ Write and then there were additional
02:10settings in the content type and so on.
02:13In Drupal 7, they've gotten rid of that particular nomenclature and now it's
02:17just Open or Closed, and looking at the content types you can see exactly what
02:21that means a little bit better.
02:23Authoring information is the same and Publishing options are the same for both
02:27Drupal 6 and Drupal 7.
02:28Now, I'd like to show you the other basic content type.
02:32On Drupal 7, it's called Article, whereas on Drupal 6, it's called Story.
02:38Scroll up and change Create content to Story, go back here one page, and
02:43change it to Article.
02:45Now again, you won't see very many differences. This is a lot like Story was in
02:49Drupal 6, but there are some important and interesting ones.
02:53We have this Image place here where you can actually add an image to your article.
02:57This is a big change, because as you remember from Drupal 6, it was difficult to
03:01add images into your content.
03:03In this case, it's being added as a separate field.
03:06Then in Drupal 7, you also have a place where you can add tags.
03:09I'll show you how all this works by creating a node. I'll call this title
03:14Beautiful Lake Tahoe, and the body will be "it's a wonderful place to visit."
03:24We'll add an image, and I've put this one on my desktop.
03:27Let's go the Desktop, scroll down, and add lake-tahoe and Upload.
03:34There we see a little thumbnail. This is a nice little bit. It actually changes
03:39your graphic into various sizes once you've uploaded them, and we'll talk more
03:43about that when we get to talking about images and content.
03:46Then finally for tags, I'll just say, lake tahoe, california, nevada, beauty,
03:54nature, and scroll to the bottom and save.
03:57And as you can see, it puts your graphic in this larger size in the
04:01node itself, even though you saw the thumbnail earlier and at the bottom we have tags.
04:05Just as with Drupal 6, if you would have clicked on one of these tags.
04:08It would take you to a page with all the stories that were so tagged.
04:11Now, where exactly are those tags coming from?
04:14We can see them by going up to Structure and down to Taxonomy, and you see that
04:18there's a pre-created vocabulary called Tags, and if we list the terms, there
04:23they are, just as Taxonomy worked in Drupal 6.
04:26Now, let's talk a little bit about how content is managed.
04:30We click Content and on Drupal 6, you might remember you had to actually click
04:34Administer, Content Management, and Content. You had three clicks together.
04:38It's basically the same screen, but on Drupal 7, it's much easier to reach.
04:42One other difference is that in Drupal 6, we had Administer, Content Management,
04:47and then Comments was a separate page from Content.
04:51On Drupal 7, you see that as a little tab up here as part of the Content page.
04:56Once you're there by the way, you have a separate sub-tab for
04:59Unapproved comments.
05:01Looking at all of these content changes, I think the biggest one is the Article
05:05content type, which has both tags and images available by default.
05:09That's actually something made easy by changes in how Drupal stores fields and
05:13we'll be talking more about that in the " video "Adding fields to content types.
05:18But even without that, the interface changes, such as the use of vertical tabs,
05:21rather than disclosure links, really makes content a lot easier to work
05:25within Drupal 7.
Collapse this transcript
Adding fields to content types
00:00In Drupal 6, if you didn't have the module CCK or Content Construction Kit,
00:05you essentially had to make do with the basic Story and Page Content types.
00:10You could add others, but you couldn't have any fields to them.
00:13For example, for an image or a product price or a street address.
00:16Drupal's developers took the hint and the bulk of CCK is now part of Drupal core.
00:21The whole thing is not there, but rather its fundamental parts have been
00:25abstracted and added in, and what's now called the Field API.
00:30Because the way Drupal 7 handles fields is an evolution from CCK, we'll compare
00:35it to Drupal 6 with CCK installed and all of its modules enabled.
00:39Remember though that almost none of what we are about to do is possible in
00:43Drupal 6 without CCK installed.
00:46If you've worked with CCK before, this will all seem pretty familiar in Drupal 7.
00:51To demonstrate, we'll create a new content type in both Drupal 7 and Drupal 6.
00:56In Drupal 7, you do that under Structure and Content types, and in Drupal 6,
01:01it's under the Administer, Content Management, and Content Types.
01:06This page looks pretty similar, once you've CCK installed of course so that
01:09you see the manage fields links over here in Drupal 6.
01:13So we'll just create a content type in both of them, by clicking Add Content Type
01:17and we'll walk through this and call it a Vacation package, doesn't really
01:25need a description, and as I mentioned in the "Creating content" video, we now
01:29have these vertical tabs over here on the left. I am just going to walk through
01:33those a little bit right now.
01:35First of all, you can change the Title field label, so instead of being called
01:38Title, it might be called Location, if it's a vacation package for example.
01:43You can force people to preview their node before they actually committed to your
01:46site by changing this Preview before submitting, and you can add submission guidelines.
01:51There's nothing new about that in Drupal 7.
01:53Publishing options are all pretty much the same as in Drupal 6.
01:57Display settings is quite new, and you now have the choice on a content type by
02:01content type basis as to whether it should say written by so-and-so on
02:05such-and-such a date.
02:06I'm going to turn that off for our content type, as I usually do for most of them,
02:10except if they're a news story or something that I want to have bylined.
02:14A blog is a good place for author and date information.
02:18In the "Creating content" video, I sort of glossed over Comment settings, when
02:22you're actually editing a node.
02:23That's because most of those happen in the content type.
02:26Click on Comment settings and you can see the different controls you have.
02:30It's actually slimmed down quite a bit from Drupal 6.
02:32Let's take a look at those.
02:34Scroll down to Comment settings and you have all of these radio buttons.
02:39I always found it quite confusing, so I'm really very happy that they spent some
02:43attention on getting this more understandable.
02:45Then we have Menu settings. This is something new in Drupal 7. You can choose
02:50what menus are available to put nodes of this content type into.
02:55That's good because in Drupal 6, when you created a node, if you want it to
02:58put it into a menu, you then saw a list of every available menu option, which is a huge list.
03:05So now you can just say, okay, you can only add nodes of this type that have
03:08links in the Main menu or the Navigation menu, whichever you like.
03:13I'm just going to save this content type in both Drupal 6 and Drupal 7.
03:17So again in Drupal 6, I'll go up and call it Vacation package.
03:22Here we have to type in the type, which we didn't did in Drupal 7.
03:25vacation_package, no description.
03:29I'll leave everything else as it is and say Save content type.
03:33Now that we have our content type set up, we can start adding fields.
03:36In Drupal 6 and Drupal 7, it's pretty much the same. Manage Fields.
03:43Now you might have noticed on the previous screen, we also had a link Manage Display.
03:47We'll get to that in just a moment, but you also see a tab up here for it as well.
03:51The first thing that you notice on this screen, which is different from Drupal 6
03:54with CCK, is the Body field is now editable.
03:58In Drupal 6, you couldn't really do anything with it, as you see it's grayed
04:01out, but here you can treat it just like any other field actually, and in
04:05fact, you can delete the Body field, so all you have is a Title and any custom
04:09fields that you've added.
04:10I'm going to add a field.
04:11I'll call it Price, field_ price.
04:15The type will be called Decimal and then it'll just be a Text field and save.
04:21I'll do the same thing on Drupal 6, scroll down. New field is called Price,
04:28field type is Decimal and Text field.
04:31Most of the settings for a specific field are pretty much the same and I'm not
04:35going to go through all of them.
04:36The one thing to notice is the Drupal 7 sometimes breaks it up into two
04:40screens instead of one, which is a little bit easier, because when you look at
04:44Drupal 6 with CCK, you are sometimes really overwhelmed with all these things
04:48and there are things that you have click in order to see the settings and it
04:51goes on and on like that.
04:53I'm just going to keep the default settings in both cases.
04:55In Drupal 7, I'll click through and then again I have to go and click a second
05:00time, since it was broken into two screens.
05:03There, now we have our custom content type with a custom field. In both of
05:07course, you can move it around and save it and you can go back and edit it and
05:12delete it just as before with Drupal 6.
05:15The next different thing is this Manage Display.
05:17They exist in Drupal 6 under Display fields, but it's more flexible now.
05:23For one thing, you can set up custom display settings down here, so that this
05:27field will appear differently, whether it's in full content or in a teaser or
05:31RSS, or if it shows up after being hit with a search.
05:35We won't go through those settings, but as you'll see, when you click any one of these,
05:38a new button appears up here and then you can select exactly what you
05:42want with that field in that context.
05:45The final thing that's different in Drupal 7 on the screen is Comment Fields
05:48and Comment Display.
05:50You can actually change the comments in response to a node in very much the same way,
05:55so instead of just having one big place where people say, "oh, I think this
05:58is great," they can have multiple fields.
06:00So how do you rate this, what you think about it, who have you recommended it to,
06:04what sort of person do you think would be good for, and so forth?
06:07And those are handled very much like the node itself.
06:10Once you've created a content type of course, you might want to see how exactly it works.
06:15Well, let's go ahead and add a node of the type that we just created.
06:18We see Vacation package. Click through, you see Title, Price, Body. Basically
06:23from here on edit works exactly the same as in Drupal 6.
06:26You just have more options for setting up the content type itself.
06:29Now, a lot of this video is not about content types per se. It's about
06:34something called Field API, and that actually goes on much further than we've covered here.
06:38We got a taste of its benefits with the way that you can add fields to a content
06:42type, but it's not just for that.
06:44User profiles and taxonomies also benefit from the field API. All of these
06:50things are something that are now called entities in Drupal and they have so to
06:53speak equal citizenship and that you can manipulate them equally well.
06:57This is possible because of something in Drupal 7 called Entity Query API.
07:02This is a big deal, even though it's something that we as administrators might
07:05not see. Drupal's creator Dries Buyaert called the biggest architectural change in
07:09the history of Drupal.
07:11Now that's a big thing to say, and he said that in July of 2010.
07:15From my point of view as an administrator, it just feels that Drupal makes more sense.
07:19From what I've been told, it wasn't easy to implement in Drupal 7, and I for one
07:24appreciate all the hard work that Drupal's developers put into making it happen.
Collapse this transcript
Using images in content
00:00In the video "Creating and administering content," you saw how Drupal 7 comes
00:04with image handling capabilities built- in which wasn't the case with Drupal 6.
00:09Now we are going to take a look at how exactly it works, for those of you
00:13familiar with Drupal 6's image handling modules, I will give away the secret right now.
00:17Basically Drupal 7 incorporates substantial parts of four modules: image API,
00:23image field, image cache and file field.
00:26If that doesn't mean anything to you, don't worry just watch on and it'll all become clear.
00:30The first thing I am going to do is create a content type called Vacation
00:34package. This is actually similar to the one we created in the video, "Adding
00:37fields to content types."
00:39So if you already started there, go ahead and use that one but I am going to
00:42start it from the beginning again, we do that by clicking on Structure, Content
00:46Types and Add content type. Call it Vacation package. Don't need the
00:52Description, so we will scroll down.
00:54I will close up the Comments, so we don't have any comments.
00:59We don't want the display the author and date information and then just click
01:02Save and add fields. Here I will add two fields. The first one will be called
01:08Price and it will be a Decimal field and save and I'll just leave all of these
01:15default settings for that field. There is more that I have to save here. I will
01:19just leave it as default and we are back at our Add Field screen.
01:24Now I will add a second one called Photo. Field name is photo and the field type
01:29in this case is Image.
01:32Here we only have one choice, Image, so I will say go ahead and save.
01:35Now I am going to walk through all of the settings for this. One nice thing with
01:39this is that you can define a default image which is put in before somebody
01:43enters something into that particular spot in a node and that will just show up
01:47on every node. But we will just continue on by clicking Save field settings and
01:52then we have more settings here. Going down you can decide which file extensions
01:56to allow, say where the files get stored.
02:00You can also have a Maximum resolution, Minimum resolution, and Maximum upload size.
02:04I actually like to check the Maximum upload size because on some computers, and
02:09this is all determined by your PHP settings, this is an amazingly huge number
02:14and you don't really want people uploading 160 MB files to your computer.
02:19I will enable the Alt and Title fields, which I recommend that you do as well
02:23because this makes your graphics more accessible to people who have difficulty
02:27seeing or using screen readers.
02:30Then we come down to this interesting thing, Preview image style, and we have
02:34three choices: thumbnail, medium and large. These are defined through the magic
02:39of the image cache module, which was incorporated into Drupal 7. You can change
02:43how those image styles are defined and add your own and I'll show you that in
02:47just a few minutes, but for now, we'll just leave it as thumbnail.
02:50There are some other settings we don't really have to go into and Save settings.
02:54Great we now have Title, Body, Price and Photo. I will just move those up
02:58above the Body and save.
03:01Now that we have that let's create a little bit of content and see how that works.
03:04Add content, Vacation package and we will just say Lake Tahoe vacation.
03:12Price is $199. We have a photo. which I just happened to put on my desktop
03:17here, lake-tahoe and for the Body, we will just say "Come and get it, the
03:24water's beautiful!" and save.
03:31Now when we scroll down on this page, we see our Photo, we see our Price,
03:36all exactly as we expected it. Let's go back and talk a little bit about those settings.
03:40That thumbnail, medium and large, and actually we will make some changes, so
03:44that this graphic comes up a little bit different whenever somebody uploads a
03:47graphic, we do that by going up to Configuration and scrolling down a little bit
03:52to Image styles. Here they are.
03:54Now you could edit these, so instead of having thumbnail, medium and large,
03:58you could add another one or you change the ones that are built in.
04:01I am going to add a style. I am going to call this desaturate_small.
04:07This desaturate_small style is going to make the graphic smaller than the one that we
04:11uploaded and it's going to take away all of the color. We say Create new style
04:16and then scroll down and you see that you can add effects. I will add the
04:21Desaturate one as I said and Add, then I see it in the list here, then I'll add
04:26one more, which is to scale it, and Add.
04:30When you add some of these effects, you get some options I am going to say
04:34that I want this to be no larger than 200 x 200 and I don't want to allow
04:40upscaling, which would make smaller graphics be blown up to that size, and I'll say Add effect.
04:46Great now we've created that style and we have two effects on it. I do want to
04:50mention that it matters which order these are in.
04:53In my case I think I wanted to scale first and then desaturate, so that it
04:57doesn't take the black-and-white and then smush it down. Sometimes you will get
05:00unusual effects that way. Say Update style and we are done.
05:03So what if we are done and what difference does it make? Well, if we go back to
05:07our front screen, we see the teaser for that node and I would like this teaser
05:12to have a little graphic on it, in that new style we created.
05:15We can do that by going up to Structure and Content types and Vacation package.
05:21You will remember from the video about content types that you can change the
05:24display just for the teaser or RSS feeds and so forth and that's what I am going to do here.
05:29I am going to change the display and make it a custom setting just for the teaser.
05:34Aha, we already have that. That's great.
05:37On the teaser, instead of that photo being hidden, I am going to change it to
05:40being an image and save.
05:42When I do that I get this little gear over here which lets me set some of the
05:47options on showing it. Instead of showing that photo at the original size,
05:51I am going to change it to a new desaturate_small and I'll link it to the node
05:57and update and save.
06:01Now let's go back to our homepage. There, now we see that nice little
06:06black-and-white picture and when you click on it, we go through to the bigger
06:09picture in the node itself.
06:12That shows you how Drupal handles images as separate fields but I want to
06:15mention that the old tricks that you used to get images into Drupal 6, they still work.
06:20You can still add inline images, that is graphics that are part of a node's
06:24content and not stored at all as a separate field, by uploading the image and
06:29then writing HTML to reference it.
06:31If you need further help with that, see the video "Creating your sites basic
06:34info pages" in my Drupal 6 Essential Training course.
Collapse this transcript
Understanding the updated blocks
00:00You know that blocks are containers for content that can appear in specific
00:04block regions of your Drupal layout. Those block regions are determined by the theme.
00:09None of that has changed in Drupal 7. What has changed is that blocks are much
00:14more flexible than they were before.
00:16Virtually all content is now blockified so to speak, so it can move around the
00:21page much more freely. Also the default theme Bartik, which you see here, has a
00:26lot more block regions than Drupal 6's good old Garland and the interface for
00:30administrating blocks is easier to use.
00:32I will show this first by taking a look at the block interface in Drupal 7 but I
00:36will also go and take a look little bit in Drupal 6.
00:39In Drupal 7 you get there by clicking Structure and then Blocks. This page is
00:44very much like the Block Administration page in Drupal 6.
00:46I will go there by going to Drupal 6, Administer, Site building, and Blocks.
00:52There is one difference. In Drupal 6 you see the block regions on the Block
00:56Administration page, Header here, Right sidebar, Left sidebar and so forth.
01:00Partly that's possibly because Drupal 6 didn't really plan to have as many block
01:04regions as people have started using.
01:06Let's take a look at it in Drupal 7. You don't see the block regions on the
01:10Block Administration page. There's a good reason for that because when you're
01:14administering by default, you not seeing the theme itself. We are working on the
01:18Bartik theme as you can see from this tab over here, but our administrative
01:22overlay is the Seven theme.
01:24So to show the block regions we click right here, Demonstrate block regions.
01:29Now we see them in the theme itself and as you can see there's a lot more.
01:33Instead of the five that were originally in Garland, there are 15 in Bartik.
01:38Now the fact that Bartik has 15 block regions isn't really that unusual.
01:43Drupal 6 had themes which had 15 block regions. In fact one of the most popular
01:47ones Acquia Marina had 15 and some of them had even more, but what is
01:52interesting is that this theme is included in core, so suddenly people were just
01:56downloading Drupal without any contributed themes are going to have a lot more
01:59flexibility in the way that they design their pages.
02:02To leave this block region demonstration you just click up here.
02:06Now let's take a look at a couple of new blocks that didn't exist in Drupal 6,
02:10One of them is System help and another one is Main page content. These were
02:15things that just showed up in Drupal 6 and you couldn't change where they were.
02:19If we go into Drupal 6 and I'll just go back to our front page, if a Help
02:23message were to appear, it would show up here at the top, sort of right above
02:28the content and the content itself would always be in this middle area here in
02:32the Content block region.
02:33Well in Drupal 7 you can completely change that.
02:36In fact let's go back and do that. I will close out this. Here we have a little
02:40bit of content that's in the Content region.
02:42I will go back up to Structure and Blocks and move the Main page content, let's
02:47say to the right-hand sidebar which is called Sidebar second, scroll to the
02:51bottom and save, close it out, there. Now we could actually start having our
02:56content here and if we wanted we could for example put a big picture here or
03:01some feeds or whatever.
03:02I'm going to switch it back so it looks the way that we expect. We go up to
03:05Structure and Blocks once again, scroll down and I put the content back into the
03:10Content area and save and it's back to normal. Let's take a look at the
03:15individual block controls. I will scroll down to one, let's just say Navigation,
03:19which is the same between Drupal 6 and Drupal 7 and click configure.
03:23I will do the same in Drupal 6. We go to Administer, Site building, Blocks,
03:30scroll down to Navigation and configure.
03:33The first thing you will notice in Drupal 7 is that it's a lot more compact.
03:37Again that's because of these vertical tabs which you know from creating
03:40content. The Block title is the same in both but then we have this Region
03:44Settings, which doesn't exist in Drupal 6. This is really nice because what
03:49happened in Drupal 6 is you'd create the block and then you'd have to go back to
03:52the Administration page in order to decide where to put it, but a lot of times
03:56when you create a block you know where it's going to go.
03:58So we just go ahead and put it there from this page.
04:01Now we only have two themes enabled, Bartik and Seven. If we had more they would
04:06all show up here and you'd be able to say "okay when it's on this theme, I want it
04:10in this region" and so forth for all of the different themes.
04:14Going down further, we have our visibility settings. These were actually pretty
04:18complicated in Drupal 6. You see we have user visibility and a set a controls,
04:22role specific visibility, page, and it took a little bit of figuring out.
04:27In Drupal 7 we have all of those in vertical tabs, so it's much cleaner, and then
04:31we have an additional one, Content types.
04:34You could actually decide which nodes you want to display this block. So let's
04:39say we have our Vacation package type, which we created here. This is a Content
04:43type and we wanted this block only to show up when we were shown the Vacation
04:47package. We just clicked that and it just wouldn't appear in the other ones.
04:50We'll just say Save block and get out of that screen.
04:53Like so many changes in Drupal 7, the changes to the block system aren't earth
04:57shattering. Rather they are set of well considered incremental improvements
05:02backed by some pretty ingenious programming.
05:05I really love the flexibility that blocks have got in Drupal 7.
05:08I think that together with the changes in the theming system, we are going to
05:11see some really interesting layouts in future Drupal 7 sites.
Collapse this transcript
Showing the revised menus
00:00Drupal's menu system got a substantial overhaul in version 7, which is good,
00:05because it tended to be kind of confusing in Drupal 6.
00:08If we go up to our Drupal 6 tab here and go to our menus we click
00:12Administer > Site building > Menus,
00:15you can see that there are only three menus by default Navigation, Primary
00:19links, and Secondary links.
00:21Those three they don't really mean anything from their names.
00:24It's hard to tell what a primary link is and what a secondary link is.
00:28In Drupal 7 however there are now four menus and we get to that by going to
00:32Structure and Menus.
00:35Those four menus tend to be better labeled.
00:38Main menu, well, that's fairly clear, Management, Navigation, and User menu.
00:42We are going to go through all of these and show you exactly what's in them.
00:46The first one, Main menu, has only one item in it which we get to by clicking
00:49on List Links > Home.
00:51Well, that should look familiar to you.
00:53If I close my administrative overlay here, it's this menu up here.
00:57In Bartik, items in that menu show up as tabs which I think is quite nice.
01:01Let's go back and take a look at our menus by clicking Structure > Menus.
01:05The Management menu is the big menu that you see over here on the left-hand side.
01:09Now, this is very much like Drupal 6.
01:12I'll go to that menu by going to Drupal 6, click on Navigation, and you see all of the links.
01:18This is all of the stuff down here, which you remember expands as you go.
01:23It makes this left side kind of difficult if you're an administrator.
01:27Now, on Drupal 7 a lot of that stuff has been replaced by the toolbar and other
01:31administrative features.
01:32But you could in fact make this Administer menu pop out just as you did in Drupal 6.
01:37What you do is you'd go up to Structure and Menus and then List Links.
01:44Over here you could then expand any one of these.
01:46Let's say I wanted to expand the Administer menu,. Click edit, scroll down a
01:50little bit and Show as expanded.
01:53By the way, this screen where you added a particular link in a menu is not
01:57really very different from Drupal 6, so we don't have to go through it.
02:00In this case, I'll click Save then go back to our front page and you will see it
02:04expanded my much like in Drupal 6.
02:06I am going to go back up and change it back by clicking
02:09Structure > Menus > Management list links and then back again to that Administer and reset.
02:15This is a nice little feature for any of the built-in menus.
02:19You could send it back to its default configuration by clicking reset.
02:23You could also go into edit and uncheck the box that you just checked, but I'll
02:26just say reset, and yes I do want to lose my customizations and go back.
02:31Going back to our full menus list, Structure and Menus, the last one we have is this User menu.
02:36When we list the links we see two items.
02:39The first, one although it's says admin now, it will show the username.
02:43It's the thing that we have up here in the right-hand corner of the screen, admin,
02:47and then the other one of course is, Log out.
02:49Now, if you do log out then you'll see something quite different and I'll show you that.
02:54It disappears entirely while the logging block, which is over here, then it pops into play.
02:59I am going to just sign back in again and there we are.
03:04This is a case of a menu that's built-in that sort of contextual.
03:07It can tell what's going on.
03:09Now some of these menus show up in specific places based on the theme and
03:13enabled modules that don't have anything to do with blocks.
03:16For example, this menu here shows up also in the toolbar.
03:20But every menu that you create also appears as a block, and I can show that by
03:25going to Structure > Blocks.
03:28By default, some of them are placed in specific places.
03:31For example, we have a Navigation menu here in Sidebar first, right above the
03:36Management menu and you saw that just a minute ago.
03:39Here, it is the Management menu.
03:41The Navigation menu isn't showing up because there are no links that the
03:44administrator would use.
03:46There's one other new feature in menus in Drupal 7 which I think is really
03:49neat and we talked about this a little bit when we showed content creation in this course.
03:54Let's go into this node and edit it.
03:56I'll just click on our little contextual menu here and say Edit.
04:00Now, this is of the content type Vacation package. Scroll down to the bottom,
04:06and see our Menu settings.
04:07Now, you might remember in Drupal 6 if you edited a node and you clicked on OK,
04:11which menu do I want this to be in, you would get this big pop up that would
04:15show you all of the menus.
04:16And it was really overwhelming.
04:18Well, here we only see the Main menu.
04:21Well, how does that happen?
04:22The answer is it happens in the content type.
04:25If we go up to Structure and Content types and then to edit Vacation package,
04:30remember we were just looking at a node of the Vacation package type.
04:33We can scroll to the bottom and change our Menu settings.
04:36Now, we can choose which menus show up when we're editing a node of that content type.
04:41So, let's say that we want to not put it in Main menu, but instead want to put
04:44it in User menu, and Save content type.
04:48Now, when we go back and edit that node, we scroll to the bottom and look at our Menu settings,
04:55we have a different group of options of where we can put it.
04:58That makes it a lot more manageable if you have other people creating content,
05:01because this way you won't have links all over the place.
05:04I think Drupal's new menu system is a lot better, but it's enormous flexibility
05:08can add to some of the confusion.
05:11The default values are a lot better than in Drupal 6 and you are not faced with
05:14that huge list of mostly irrelevant choices when you want to create a menu item.
05:19The important thing to remember is to go and edit the content type as I did just
05:23a minute ago in order to determine where people can put links to nodes of a
05:28particular content type.
Collapse this transcript
5. Users
Letting users delete their accounts
00:00Some problems in life are easy to solve, while some are really hard.
00:04You can't always tell the difference from looking at them.
00:07A dirty window could just be a swipe on the inside with a soapy sponge or you
00:12might need to lower yourself from the roof on wires.
00:15The issue of letting users to lead their own accounts from a Drupal site was one
00:19of those deceptively hard problems.
00:21It was a feature request first filed in - wait for it - 2001.
00:268 years before it was finally solved.
00:28In fact, it was node number eight on the drupal.org web site, which now has
00:32almost a million nodes.
00:34But they did solve it and it's a small change in Drupal 7, but it's worth
00:38showing off because it was such a persistent itch.
00:40There is one other good reason to show it.
00:42In Drupal 6, when you delete a user, all of the content becomes attributed to the
00:47anonymous user, but as you'll see in Drupal 7 you have flexible options for that content.
00:52Here, I'll show you. In both Drupal 6 and Drupal 7 I am going to create a
00:55new user and I'll call that new user Fishy Joe with the email address fishy@example.com.
01:05Password doesn't really matter and go down and Save.
01:10Again, we'll do the same in Drupal 6.
01:12We do that under Administer > User management > Users and Add.
01:18Again, Fishy Joe, email address is fishy@example.com, there we go, and Save.
01:27Great! So we have the new user on both.
01:29Now, let's delete that user.
01:30We'll go ahead and list it, this is on Drupal 6 mind you, scroll down, click in
01:35the checkbox for Fishy Joe and Delete.
01:38It asks of course if we want to do that and say Delete all. Great!
01:42The user's been deleted, but that's really all that you can do.
01:45You can just delete and you don't have any real choices about what happens with
01:48the content that that person created.
01:50Now we'll do the same thing in Drupal 7.
01:52We've created the user.
01:53So now I'll go back in the list. Select Fishy Joe.
01:56Now, you see there is no choice for delete, because when we say Cancel we will
02:02have additional options there.
02:03Say, Cancel and Update and here are all of the options that we get.
02:08We can disable the account and keep the content exactly as it is, unpublish it, and so forth.
02:13You can also require the user to confirm that they really want to cancel the account.
02:17We are not actually going to cancel this one because there are some other
02:20things I want to show you with it.
02:21But, this shows you the power that you as an administrator have when you delete an account.
02:26But in Drupal 7 you can now give the user more power as well.
02:30To do that you go up to Configuration and Account settings. Much of this page is
02:34similar to Drupal 6,
02:35While some other parts of it I'll show you in other videos, but let's get down
02:39to the important part, registration and cancellation.
02:41You notice down here, When canceling a user account, you have all of those options
02:47that you saw in the previous screen.
02:49This will be the default option that you set.
02:51In other words, if you delete somebody and don't change what was there, what happens?
02:55Another interesting part of it and the more important part is under
02:58this permissions link.
03:00Let's click on permissions and scroll down all the way to User.
03:06In the User section, we have this Cancel own user account.
03:10I am going to grant that to the authenticated user.
03:13In other words, every logged in user such as Fishy Joe, and save it.
03:18Now, I'm going to go and log out as the administrator and log in again as Fishy
03:22Joe so you can see exactly what happens if I decide to delete my account.
03:26I'll log out, log in as Fishy Joe, and my password. Great! I am in.
03:33I am going to go my user screen and Edit and as I scroll down I see that I have
03:39a new option, Cancel account, that wasn't in Drupal 6. I click it.
03:44It asks me for confirmation and it's done.
03:47Again, it's a small change, but it does give power to your user and that helps
03:52them trust your site more.
03:53I didn't mention this earlier, but letting users delete their own accounts could
03:57actually be considered legally required, depending on how you interpret
04:01directives from various national and regional governments.
04:04Well, no worries. With Drupal 7 you have the power and so do your users if
04:08you give it to them.
Collapse this transcript
Defining roles, permissions, and profiles
00:00Not much has changed in Drupal 7 as far as users go.
00:04We looked at one thing that changed in the video "Letting users delete their accounts."
00:08But now I'd like to talk about two more changes.
00:11The first one has to do with roles. You can make everyone with a specific role
00:15into an administrator of the site with rights to do nearly everything, and of
00:20course you can take those rights away later if you want.
00:22The second change is related to how you customize user profiles.
00:26I will show you each of these features in this video.
00:29We get there first by going to the User Management screen, which in Drupal 7 you
00:32will remember is called People.
00:34Click on People and then Permissions, and the first thing you notice is there is
00:38an additional column here.
00:39We have the Anonymous User and Authenticated User here, which is the same as
00:43it was in Drupal 6.
00:44It's a person who is not signed into the site, Anonymous, and who is signed into
00:48the site, Authenticated.
00:50The Administrator starts out with all of the rights that core Drupal gives you
00:55as the site owner as well.
00:57You could administer blocks, you could create content, and so forth.
01:00But it can be a little tricky under certain situations.
01:03As we scroll down we will see one example of that.
01:06You see that it has all the rights that you would expect, but then there's this
01:11new content type that I created, Vacation package, and it didn't automatically get those rights.
01:17Of course, you could add them the same way you would add permissions in Drupal 6.
01:20You just check the boxes, scroll to the bottom, and say Save permissions.
01:26But that's not all.
01:27The Administrator role doesn't have to be called Administrator.
01:30You could in fact create a new role and then assign that person to get all new
01:34rights and I will do that right now.
01:36You do that by clicking on Roles.
01:38Create the role that you want or you could just use one that already exists.
01:42But I will call this one sitemaster and Add role.
01:46Then to change who actually gets that Administrator role, you go up to
01:49Configuration and Account settings and then down here you see
01:53Administrator Role.
01:54Now I am going to change that to sitemaster and Save configuration.
02:01Now when I go back to People and Permissions I see I have this sitemaster role.
02:07But as I said, that's kind of tricky because users with that role don't
02:10automatically get all those permissions.
02:13You have to add them in again as you see here.
02:16But what happens if you enable a new module?
02:18Well, I will show you.
02:19We will go up to Modules and add Aggregator, go down to the bottom and save it,
02:25and then go back and take another look at our Permissions.
02:29You see up here at the top the rights for Aggregator went to Sitemaster, who is
02:34the new administrator while Administrator didn't get that.
02:37Another nice thing in Drupal 7 is if you click Authenticated User, all of the
02:42roles above it also get checkmarks.
02:44It's a nice little JavaScript thing.
02:46So you see Authenticated User, Administrator and Sitemaster since they have to
02:50be authenticated would automatically get those rights and when we remove it,
02:55Drupal remembers what it was before.
02:57So Sitemaster keeps it while Administrator doesn't. Because the behavior of this
03:01Administrator role is a little peculiar, remember the rule of thumb.
03:05check your permissions from time to time when you are making any kind of
03:08structural changes to your site and you do that again by clicking People
03:12and then Permissions.
03:13The other big change to User Management is in how you customize User Profiles.
03:18You might remember in Drupal 6 that there is a Profile module and it's
03:22disabled by default.
03:24Here I will go to Drupal 6 and show you under Administer > Site Building > Modules,
03:30scroll down a bit and there it is.
03:34I am going to enable that module, Save configuration, and then go to User
03:39management and Profiles, which is a new item that just appeared.
03:43Now we could get start adding fields to profiles.
03:46So all well and good in Drupal 6.
03:48Well, what's changed in Drupal 7?
03:50We click on Modules we will see the Profile module is actually still there.
03:56However, there is now another method to add fields to profiles and it's
04:00actually the preferred one.
04:02It uses the same fields in the core system, you might remember from the video "Adding
04:07fields to content types."
04:08I mentioned in that video that profiles are now something called entities, which
04:12is the same as a node is an entity and comments are entities in taxonomy terms.
04:17As entities, profiles take advantage of the same field API that lets you
04:22add fields to nodes.
04:23So why would you ever use the Profile module in Drupal 7?
04:26Well, it does have one advantage.
04:28It let's you place profile fields on separate pages in the user profile.
04:33So for example, when someone is editing their profile there will be a little tab
04:36at the top that says this is my home information and another tab that says this
04:40is my work information.
04:42The other reason that you would want to have the Profile module is if you are
04:46migrating a site from Drupal 6 and you have done a lot of work in the Profile
04:49module, that won't unfortunately translate into the field API system.
04:55So how do you use fields and profiles in Drupal 7?
04:58Well, I will show you.
04:59You go up to Configuration and Account settings and here you see Managed Fields.
05:04I will click that and you will recognize this.
05:06It looks exactly the same as when you created a content type and added fields to it.
05:11By the same token, you can change the display of those fields here.
05:14Of course, you only have that once you have fields added to your profile.
05:19So in Drupal 7 we now have two somewhat contradictory methods of adding profile
05:24fields, the Profile module and Drupal 7's native use of fields and profiles.
05:30There are big hopes that these two methods will be merged in Drupal 8 or perhaps
05:34through a contributed module.
05:36If you want to read the details about that herculean task see
05:39drupal.org/node/394720.
Collapse this transcript
6. Development
Assuring quality with the testing module
00:00You've probably heard the saying "measure twice cut onc"".
00:04That makes sense in the physical world where you can't undo a cut, but in the
00:07development world, the winning path is to cut, see how the cut turned out, then
00:11redo the cut, then check it again, and on and on until you get it right.
00:15Since Version 4, the Drupal way of doing that iterative process has involved a
00:19module called Simple Test, which is still available at
00:22drupal.org/project/simpletest.
00:26Simple Test automatically stress-tests a module by running your custom scripts
00:30of actions against it, then it reports the results of those tests back to you.
00:34Drupal's developers thought that Simple Test was so good that they integrated it
00:39into Drupal 7 as the Testing module.
00:41This video won't show you how to actually write your own tests.
00:44That's really much too big a job, and you have to know the programming language PHP.
00:48Instead, we'll run some of the tests that are included with Drupal 7, look at
00:52the reports that it creates, and follow some links to see where to go to create
00:56custom tests yourself.
00:58By default, the Testing module is turned off.
01:01To turn it on, of course, you go up to Modules, scroll down until you see
01:05Testing, turn it on, and save configuration.
01:09Once you've turned it on, you configure it by clicking Configuration, then you
01:13scroll down until you see the Development area, and there it is, Testing.
01:19Drupal 7 includes quite a lot of tests that you could run automatically, that is,
01:23without writing any additional scripts.
01:25If you click on any of these arrows, you see the individual tests that run
01:28against that module.
01:30Again, when all is said and done, there are dozens and dozens of tests.
01:34By the way, notice that the Aggregator module has tests available.
01:37Even though we haven't turned on the Aggregator module, you can test modules
01:41that aren't actually enabled on your site.
01:44To run all of the tests for a module, you simply click in the checkbox.
01:48to run an individual one, you would open up that particular module and then
01:51check and uncheck as you'd like.
01:53I'm going to run all of the tests that are included against the Actions module.
01:57So we just click there, scroll down to the bottom, and say Run tests.
02:03To save some time, we'll just fast- forward through these tests in this video.
02:06In reality, this testing suite takes a couple of minutes, but as you can see,
02:11you get a progress bar while the tests are running, along with some real-time
02:14information about what's going on.
02:17When the tests are done, you of course get a report.
02:20You can see the reports by scrolling down here and opening up any of the links
02:24that it gives you, and here we have our results.
02:27For the most part, they're given in one- line statements like this, but in some cases,
02:31more information is required.
02:33In that case, it gives you a verbose message link.
02:35When we click on it, we see exactly what the test was and what the results were.
02:40It shows the page that it affected and what it actually did.
02:43In this case, it requested a user account.
02:46Let's go back to the Testing module and take a look at some of the
02:48settings that you have.
02:50Once you're back on the Testing page, scroll up to the top and click Return to list.
02:54Of course, you could also click the back arrow in your browser.
02:58On the main Testing page, you can look at some of the settings you have by
03:01clicking the Settings tab.
03:02For the most part, you won't have to touch these.
03:04As you see, you only have two settings in general.
03:07The second link is just an HTTP authentication settings, which you would add if
03:11you had some sort of special settings in your web server.
03:13If you are a non-programmer like me, you'll probably never use the Testing
03:18module for your own projects, but it does have an additional advantage.
03:22You can actually use the Testing module to help produce Drupal itself.
03:26To learn how to do that, go to drupal.org/contribute.
03:33Once there, scroll down to Testing, and click on the link to find out how you
03:37could help, even if you're not a developer.
03:39Beyond what you learn on this page, you can also look through the Issue Queue on
03:43any particular module that you're interested in and would like to help develop
03:47and join the discussions in the Issues Queues to find out exactly what you could
03:50do to help test them.
Collapse this transcript
Developing for Drupal
00:00The familiar iceberg metaphor applies to Drupal 7's improvements.
00:04Most of what's there is hidden from view.
00:07This series mostly focuses on changes to how you administer Drupal.
00:11That happens mostly through Drupal's own browser-based interface.
00:15Now we're going to survey changes to how you program Drupal modules using
00:19Drupal's Application Programming Interface or API as it's better known.
00:24Now, I have to point out that I'm not a developer myself and this video will
00:27only go over the changes very superficially.
00:30But we will go over all of the important ones.
00:33The best way to get an overview of the API changes since Drupal 6 is by going
00:37back through the release notes of Drupal 7's development versions.
00:40To do that, go to drupal.org/project/ drupal and then scroll down underneath
00:48where you see the release numbers and say View all releases, because the ones
00:52you see up here are only the most recent ones.
00:55Once you're there, you read backwards in time and see what the most recent
00:59versions were that were released.
01:01To narrow it down to just one API version, you would click it up here, in this
01:04case, Version 7, and click Apply.
01:07Then you see we have alpha7, alpha6, and so on going backwards in time.
01:12Click Read more at the bottom if you want to see back even further in time.
01:16As always, you can find complete technical documentation on Drupal's API at api.drupal.org.
01:24Once you're there, be sure to click on the Drupal 7 tab, or if you like,
01:28you could just go to api.drupal.org./api/ 7 as you see in the browser bar here.
01:36Let's talk very briefly about some of the most notable changes to Drupal's API.
01:41The first big change is the Testing module.
01:44This is what was formerly known as Simple Test and you can still get that at
01:48drupal.org/project/simple test.
01:52It comes with many testing scripts to test the built-in modules with Drupal, and
01:56it will run scripts that you create against any modules that you create.
02:00We demonstrated this in the video on the Testing module in this series.
02:04To learn how to develop your own test for the Testing module, a good place
02:08to start is the Documentation for Simple Test, which is again on the Simple Test page.
02:13The next big developer change in Drupal 7 is the database layer.
02:16Previous versions of Drupal could really only connect to a certain limited list
02:20of databases easily.
02:22To connect to any other databases, you had to do quite a bit of programming.
02:26In Drupal 7 however, that database connection has been abstracted and so now you
02:30can connect Drupal to any database, as long as there is a PDO driver.
02:35You would then get a Drupal database driver if it exists, and if it doesn't, you
02:39can write them fairly easily.
02:40You could learn about PDO drivers at the URL on your screen,
02:43php.net/manual/en/pdo.drivers.php and you can get more details about
02:51programming those Drupal database drivers at drupal.org/node/310069.
02:58The third substantial change in Drupal 7 is RDF or the Resource
03:03Description Framework.
03:04We talked very briefly about this in an earlier video when I was showing you
03:08what the new modules were.
03:09RDF lets you describe your data better to other sites.
03:13For example, if we were to go to Google and type in a movie title, let's say,
03:18burn hollywood burn alan smithee film - one of my favorite films, by the way -
03:25Oh! It only got two stars.
03:28Well, the interesting thing here is that you can see what the rating is, because
03:31that was transmitted from IMDB to search engines through RDF probably.
03:37Basically, it lets your site define what information is and not just that it is information.
03:43The next big change in Drupal 7 is there are now better installation profiles.
03:47Now, we haven't talked very much about installation profiles, but we will talk
03:51about them when we go on to the video about other versions of Drupal.
03:54Essentially, Drupal has split in a way.
03:57There is the core Drupal, which people consider now more of a platform on
04:01which you can build things, and then there are the products that people build from Drupal.
04:05One example of such a product is OpenPublish, which is a version of Drupal,
04:09which has additional modules and so forth, that lets you set up a new site very easily.
04:14In any case, these installation profiles are now developed a lot like ,odules,
04:18and you can learn about this at the URL on your screen.
04:21The next big change, this will be a big one for those of you who like all
04:24sorts of visual effects in your sites, is jQuery and some other pieces are now
04:28part of drupal Core.
04:30The big one is jQuery UI, which gives you all that visual oomph, that is, things
04:34appearing and disappearing on the screen.
04:37One example of that is when you're editing a node and you say that you want to
04:40have a menu link to that node, you click in the checkbox and then all of the
04:45controls appear, that is, they don't clutter up the screen until you say yes, I
04:48actually want to see the controls.
04:50There are some other jQuery bits besides jQuery UI and some JavaScript bits.
04:54If you want to learn exactly what they are, take a look in the /misc folder of
04:58your Drupal installation.
05:00That's it for the big changes, but I do want to point you to a few other resources.
05:03The resources you see on your screen here will tell you more about how to
05:07convert your old Drupal 6 modules to Drupal 7, exactly what is changed between
05:12different versions in Drupal 7 and, of course, as always, api.drupal.org is
05:17your source for all of the programming details that you need in order to make your own modules.
05:22So, that's what's happened between Drupal 6 and Drupal 7.
05:26If iou want to see the future, you can get a sense of it by referring to a blog
05:29post that Drupal founder Dries Buytaert wrote about Drupal 8.
05:33He wrote it all the way back in November 2009 before Drupal 7 was ready for release.
05:37But at that point, he already had a pretty good sense of what the next steps would be.
05:41You can go and take a look at it at buytaert.net/8-steps-for-drupal-8.
05:52One thing that's apparent from his post is how Drupal 7's improvements are not
05:55only useful for developers now, but how they are important stepping stones for
05:59Drupal's continual improvement into Drupal 8 and beyond.
Collapse this transcript
7. Community Changes
Other versions of Drupal
00:00Lately, the Drupal community has been putting up more and more variants on core
00:04Drupal, called distributions.
00:06Drupal itself is becoming more of a platform on which individual developers can
00:10build customized applications.
00:13These distributions are in essence the applications that Drupal makes possible.
00:18A distribution typically includes core Drupal, plus some additional bits and pieces.
00:23As I'm recording this, none of the distributions we'll discuss is available for Drupal 7 yet.
00:28They're all based on core Drupal 6, but I expect that many, if not most of them,
00:34will eventually become available in Drupal 7 versions.
00:38I'll just give an overview of some of the bigger distributions, but we won't
00:41have time to delve deeply into how to actually make them work.
00:45If lynda.com releases courses about any of these distributions, you'll learn about
00:49them on the lynda.com site and from reading the lynda.com newsletter.
00:53You can find that newsletter at lynda. com/news/newsletter.aspx. So now let's
01:01get on to our distributions.
01:02The first one is Acquia Drupal.
01:06One of the first videos in this series, installing the AMP Stack, walk through
01:10Drupal's installation process using the new Acquia Drupal stack installer,
01:14also known as DAMP.
01:16You can get that and Acquia Drupal itself at Acquia.com.
01:21DAMP includes Acquia's own version of Drupal, appropriately called Acquia Drupal.
01:25I've already installed it and in fact, so have you if you've installed the DAMP.
01:29It was the one that shows up as local host.
01:31That is the default site in your installation. Here we have it.
01:34It looks very much like core Drupal, but it does have some additional parts.
01:39Now, earlier in this course I showed you how to replace Acquia Drupal with core Drupal.
01:43Let's talk about what you get if you don't make that replacement.
01:47The first thing you notice is this warning about an Acquia Network subscription.
01:51Acquia provides a suite of services to help you be sure that your site is up and
01:55running and working correctly.
01:56To learn more about that, go to Acquia.com.
02:00The next thing that you notice is the Administration toolbar up here.
02:03Now remember we're actually looking at Drupal 6, but I mention that there is
02:06this thing called admin menu which is very much like the toolbar in Drupal 7,
02:11but with these drop-downs and call-out menus.
02:14This is included in Acquia Drupal.
02:16It's still unclear whether they'll include this in the Drupal 7 version, but
02:20that should be coming out very soon.
02:23A good way to see what's different between Acquia Drupal and standard Drupal is
02:26to look at the Modules list.
02:27Of courses, since this is Drupal 6, you'd get there by clicking Administer, and
02:32then Site building, and then Modules.
02:35We won't go through all of them, but you can see just how many modules are added
02:40to the core Drupal in order to make Acquia Drupal.
02:43In fact, everything, except the bit you see here, Core - optional and Core
02:47- required, all of these other things are part of Acquia Drupal and not core Drupal.
02:52Moving on, there are two distributions in the category of shopping carts for Drupal.
02:57The first one is called Ubercart, which you can get from ubercart.org.
03:02Ubercart is actually a suite of modules that sits on top of Drupal.
03:06The best way to understand what Ubercart does is to look at sites that have
03:10been built using it.
03:11To do that, go up to About, scroll down to the Ubercart in Action, and then you
03:17can see a list of online stores that are actually using it.
03:20Also in the shopping cart category is Drupal Commerce.
03:24I'm very excited about this one because it's the same developers who created Ubercart.
03:29It's clear that Drupal Commerce is going to be strong on Drupal 7 and in fact,
03:33they're only developing for Drupal 7.
03:34They haven't really done the Drupal 6 version.
03:37I'm looking forward to seeing what Drupal Commerce does, but as I'm making this
03:40video, it hasn't actually been released.
03:43It should be released pretty much at the same time as Drupal 7.
03:46To recap the two shopping cart solutions, Ubercart is mature and well-supported,
03:52but it's not quite clear who's going to be developing it in the future.
03:55Drupal Commerce, on the other hand, is all very Drupal 7 based.
03:59It was built from the ground up by the people who built Ubercart, so I'm
04:02actually betting on it for the future.
04:04The next category of distributions on Drupal is news management sites.
04:09The first one of these is called Managing News, which you can get
04:13at managingnews.com.
04:15It's hard to show exactly what Managing News does until you have a site up and running.
04:19I've already installed it, but as you can see it doesn't show you very much
04:22from the very beginning.
04:23You can, however, take a look at examples by going to their Examples tab right up here.
04:29It's extremely strong in mapping especially.
04:32So, let's say that you have a news feed coming in from the New York Times.
04:36Managing News will actually look at the news feed, figure out where the
04:39locations are, and put points on the maps, and it does other such nifty things like that.
04:44It's by a company called Development Seed who besides doing amazing things with
04:48maps, just has a terrific design sense.
04:50It's a very attractive solution and I think it's really an excellent thing if
04:54you're running a news site.
04:56But it's not the only distribution out there for news sites.
04:59There's also OpenPublish, which you can get at openpublishapp.com.
05:03I've installed this one as well and once again, it's hard to see exactly what
05:07it does without looking some of the examples, which you can do on the OpenPublish site.
05:12However, as you can see, it's less map- oriented and more oriented around topic
05:16hubs and separating your news into different categories.
05:20It's really more for a sort of straight ahead news site and by the way both this
05:24and some of the other distributions jas this neat little Administration toolbar
05:28up here, which is different from the Drupal 7 one. It's just a nice way to
05:32administrate your site and then you can just hide it off to the side this way.
05:36To recap the two news management distributions, Managing News is very graphical
05:41and it's especially good at aggregating multiple news feeds and then mapping
05:45information and figuring out exactly what's in the news items that come in.
05:50OpenPublish, on the other hand, has a lot of features that connect with external services.
05:55So if you'd like to do for example advertising on your site, OpenPublish has
05:59modules for that, along with a lot of other things.
06:02Again, we didn't have time to going to them all, but just exploring OpenPublish
06:05will show you just how deep it is.
06:08The last distribution we'll look at is called Open Atrium, which you can get
06:12from openatrium.com.
06:14Like Managing News, it's made by Development Seed and it has the same really
06:18nice graphical interface to it.
06:21Again, this is a distribution that it's hard to explain without actually
06:25setting up an entire site, but basically, it lets you set up an entire
06:28intranet, so that people within a company can communicate with each other well
06:32or you could make it available to the world at large and people can set up
06:35individual groups and connect that way.
06:38It basically puts the power of creating groups on your Drupal site into the
06:42hands of your users.
06:44Here we have it installed, but once again, you don't see very much until you've
06:47started using it for a while.
06:49To recap about Open Atrium, it's basically an intranet in a box or you can use
06:54it to build social network applications.
06:56It's by the people who make Managing News and again I love their graphic design
07:00sense and their thoroughness in making this just work.
07:03This group of distributions you've seen is by no means comprehensive.
07:07There is a whole bunch of specialty distributions we didn't even talk about.
07:11For example, there's a Wedding distribution that helps you plan weddings.
07:15There's the Open Media distribution that helps public access channels get
07:19organized, that is for TV, and Tattler, which is similar to OpenPublish, but geared
07:24more for the public relations professionals than the journalist.
07:28The place to find out about all of these distributions is at
07:32drupaldistrowatch.com.
07:35The best thing about these distributions is that they're all built on standard Drupal.
07:40If you know how to modify a Drupal site, you know how to modify any of
07:43these applications.
07:45You can add modules, add themes, whatever you like, but be aware of how their
07:49added complexity can affect administration sometimes in unexpected ways.
07:53Be careful. If the distribution offers a button or link or something like that to
07:58do something, use it, because if you use your normal Drupal methods, it might
08:02not take care of all the special cases that are built into the application.
08:06Finally, if you're feeling ambitious, you can always create your own
08:10distributions and as always the drupal.org site is your school for learning
08:14how to do that.
Collapse this transcript
Building with Drupal Gardens
00:00This video will show you a way to get started with Drupal 7 in a managed
00:04environment, that is where someone else has already installed it and does all the
00:08work to keep it updated.
00:09The service is called Drupal Gardens and it's from Acquia, the same company
00:13that produces the AMP Stack we saw in the video earlier about installing the AMP Stack.
00:18Besides simplifying maintenance and including lots of useful tools, Drupal
00:22Gardens has an amazing Theme Builder that gives you a really high level of
00:26control over the look of your site.
00:28To get signed up with it, go to drupalgardens.com.
00:31I've already created an account, so I'll just log in.
00:42Once you've logged in, you see a list of sites that you've already created.
00:45I'm going to start creating a new site by clicking up here and naming the site.
00:50I'll call this lynda2 and continue.
00:56The next option you have is to choose a template.
00:59A template is a collection of features that are turned on or off and also a
01:02group of pages that it will either include or not.
01:05For example, we have this Campaign template where most of the modules are turned
01:09on, Product template where everything is turned on, a Blog template, and then a
01:14Create your own template where it starts with everything turned off and you can
01:18just turn them on individually as you like.
01:20I'm going to go with the Campaign template. Scroll down and say Create site.
01:25Now this installation should look familiar to you because in the background,
01:28Drupal Gardens is actually installing a new instance of Drupal on its servers.
01:35There it is.
01:36Our site is now installed.
01:38It offers you some help, which I'll just close for right now.
01:41You'll notice that it looks very much like ordinary Drupal that you
01:44would install yourself.
01:45However, there are quite a few changes underneath the hood.
01:48First of all, you have this My sites button and if you want to go back to that
01:52list of sites that you saw at first, just click there and there we are.
01:55I'm going to go back to editing our site by clicking on it and then start
01:59exploring the menus that we have to see what some of these differences are.
02:03First of all, a Drupal Gardens site comes with some sample content.
02:07That's just to show you exactly how the site works.
02:09If we close this out and start exploring, you'll see okay, well there is a
02:12sample article, some comments, the blog has a sample post or two, and so forth.
02:17If you want to create your own site from scratch, and you understand exactly
02:21how everything works, which probably you do, you could go back and then just
02:24delete all of these.
02:26Continuing on, let's take a look at what's under the Structure menu.
02:29There are some additional choices here, specifically Mailing lists and Media Types.
02:34Again, I won't go into the details of what everything is, but these let you do
02:38additional things on your site without installing any new modules.
02:41This is a good time to mention, not only don't you have to install new modules,
02:45but you can't install new modules.
02:47Essentially, you're stuck with the modules that are included with Drupal Gardens.
02:52So you have to decide for yourself whether it's going to give you
02:54enough functionality.
02:56The good news is that if it doesn't, you can actually export your entire site
03:00from Drupal Gardens, load it up on your own computer, and then start playing with
03:04it just as if it's a customized distribution of Drupal that you created with all
03:08of your content and so forth. It's very handy.
03:11I give a lot of credit to the Acquia folks for allowing you to do that because a
03:14lot of hosted sites like this don't let you just take your site off.
03:17You're sort of locked in with them once you're there.
03:20Anyway going on, I'm going to close out this administrative overlay, because
03:24doing so makes Appearance available.
03:26Now this is how you select a theme, but also how you modify themes.
03:29I'm going to come back to that because it's the biggest thing in Drupal Gardens
03:33and it's going to take a little while to explain.
03:35Continuing on, one of the differences in People is that the roles are a
03:39little bit different.
03:40First of all, you have some new roles that don't come with core Drupal.
03:43Blogger, Editor, and so forth.
03:45You also have this distinction between site owner and administrator.
03:50This is because Drupal Gardens is a hosted service and although you own your
03:54site, you don't own everything on Drupal Gardens.
03:57It's a bit of a distinction, but don't worry.
03:59You'll still be able to administer your site as much as you need to and again,
04:02if you don't find that you're getting enough access, you can remove your site
04:05from Drupal Gardens and start it yourself on your own server.
04:09Continuing on to Modules, you'll notice that the Add new module has gone from
04:13here as well as the Update tab.
04:15As I said, you can't add your own modules, but if you look through the list it
04:18really is a huge list of things that we're added onto it.
04:21There is a Gallery function, some additional statistical functions.
04:26Continuing on, basically Configuration and Reports work pretty much the same as in Drupal 7.
04:31Of course, there are additional choices on Configuration because there are so
04:35many extra modules, but we don't have to go through those.
04:38Now the big thing in Drupal Gardens is the Appearance tab.
04:42When we click on that, it brings up the Theme Builder.
04:45Of course, you can switch themes very simply just as you could in Drupal 7 by
04:49selecting the new theme and then saying Publish.
04:54When you publish a theme you have to name it.
04:56I'm just going to call this lynda2-theme. And it's done.
05:01Now you notice this text appeared that it's now live.
05:04As you work on a Drupal Gardens site, it's actually there.
05:08It's available to the whole world.
05:09So you have to either take your site offline, which you can do in the
05:13Configuration as you normally would with Drupal, or just be sure that you know
05:17what you're doing as you go.
05:18What I usually do is I design the whole site first before announcing it and then
05:21if I have to do any tweaks, I'll take it down briefly while I make the changes.
05:25I won't go through all of the Theme Builder, except to say that it really is amazing.
05:30Not only can you select different themes, that's the simple part, you can also
05:34change all the colors, which really gives the whole thing a different look as
05:38you scroll through.
05:40The Layout, you can change how many columns there are.
05:42In this case we have one column on the left and one on the right, but we could
05:45have just the left-hand column or both of the columns on the right like so, or
05:50we could change it back to its original layout.
05:53The Styles tab is where you have very strong control over the CSS in the site.
05:58Let's just take a look at that.
06:00Let's say that I want to change these menus up here.
06:02I click on them and then I could change, for example, the spacing that's around them,
06:06make it bigger, smaller.
06:09I could add a little bit of a border to each one of these.
06:12I could add the border on top if I wanted.
06:14You could see once you start messing with that, you have all kinds of
06:17possibilities for design.
06:19I'm really very impressed with this feature especially.
06:22As with Borders & Spacing, you can also change the Font, so instead of Helvetica,
06:27well, let's say we want it a little bit bigger.
06:28We want it to be all caps.
06:31We want it to be a different face entirely, Georgia let's say, and then
06:36publish and it's done.
06:37It's actually live at that moment.
06:41But let's say you're not getting enough control from the Theme Builder.
06:44Well, the Advanced tab lets you put your own custom CSS that overrides whatever
06:49Drupal Gardens has already given you.
06:51Of course in order to do this, you have to know CSS and you can learn CSS on
06:55several video series on lynda.com.
06:58The last neat thing about Drupal Gardens is, as I said, you can export the entire
07:02site or you can export just the themes.
07:05I'm going to do that right now by clicking Export.
07:07I'm going to export it as lynda2 and save it.
07:11I'm then going to go to my Download area, which in this case was the Desktop and open it up.
07:19When I open it up, you can see that it's a theme very much like one that you
07:23might create from scratch.
07:24Now the Theme Builder is not quite as flexible as creating something from scratch.
07:29If you want to learn how to create a Drupal theme from scratch so you have all
07:31that control or to be able to modify the one that you get out of Drupal Gardens,
07:36see the lynda.com course Drupal:
07:38Creating and Editing Custom Themes by my friend Chris Charlton. But I have to
07:43say even though you get a lot more flexibility when you program your own theme,
07:47as Chris shows you how to do, I think this is really a remarkable tool.
07:51I'm excited to see the explosion of designs that Drupal's going to see as a result.
07:56I don't know whether you can tell, but I am really impressed with Drupal Gardens.
08:00It's not the only host at Drupal solution out there.
08:02In fact there are dozens of ISPs that as Internet Service Providers that have
08:06some kind of one click install for Drupal.
08:09Some of them even handle such matters as updates, but Acquia has really gone
08:13whole hog to make Drupal Gardens useful.
08:16In fact, I'm working on a course right now specifically about Drupal Gardens for lynda.com.
Collapse this transcript
Conclusion
Additional resources and what's next
00:00Thanks for watching Drupal 7 New Features.
00:03I've tried to give you a sense of what's happened over the past two-and-a-half
00:06years to make this version possible.
00:08Well, let's take a look at some next steps.
00:10Of course, my Drupal 6 Essential Training course is still available for those of
00:14you who are still working on that version.
00:16Two other Drupal courses were produced for Drupal 6, but most of the information
00:21in them will still be good for Drupal 7.
00:24My Drupal 6 Online Presentation of Data course is still valid, particularly the
00:28sections about the Views module. And Chris Charlton's course Drupal:
00:32Creating and Editing Custom Themes is still a great way to thoroughly understand
00:36Drupal's graphical interface.
00:38But the web development world doesn't stop with Drupal, of course, and the
00:42lynda.com website has dozens of series on the subject.
00:46On the lynda.com site, just go to Subject and scroll all the way down to Web
00:52Development near the bottom.
00:56In particular, I recommend you consider watching courses on CSS and PHP as those
01:01are Drupal's two main languages.
01:04To go even further, try a MySQL course, such as Bill Weinman's MySQL Essential
01:09Training, or you can get two courses in one with Kevin Skoglund's PHP with
01:13MySQL Essential Training.
01:16JavaScript Essential Training and jQuery Essential Training are also good
01:19courses to study, particularly if you want to take advantage of the fact that
01:23jQuery is now part of Drupal 7.
01:26Finally, I'd like to recommend once again that you get an account on the
01:29drupal.org web site and get to know that site well.
01:32That's been the place to get Drupal news and information ever since Drupal got
01:37started, and that's not going to change.
01:39The Planet Drupal blogroll at drupal.org/ planet aggregates dozens of blogs about
01:45Drupal, giving you a multifaceted view of what's going on in the community.
01:50I'm excited for everything Drupal's developers have done to make Drupal 7
01:53the best version yet.
01:55I look forward to seeing what you do with it to bring great Drupal sites to the web.
Collapse this transcript


Suggested courses to watch next:

Dreamweaver with PHP and MySQL (4h 55m)
David Gassner


Web Site Strategy and Planning (1h 37m)
Jen Kramer


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,141 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked