Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
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.
We finished installing the Acquia Drupal stack installer called DAMP and also imported core Drupal into the DAMP. Now we'll continue with Drupal 7's own installation process. Now for my earlier series we used MAMP and not DAMP to install Drupal 6. The reason is simply that DAMP didn't exist at the time, so because we're using MAMP for Drupal 6 and are using DAMP for Drupal 7, some of the differences you'll see are actually going to be because the Amp stack themselves are different. Most notably you have to manually create the Drupal database when you use MAMP and WAMP.
While DAMP does that for you automatically. So if you decide to use MAMP, WAMP or some AMP's stack besides Acquia's DAMP, your installation process will be different from what you see here. It will almost certainly be more difficult and that's why I recommend Acquia DAMP. Now we've already installed that in the video "Installing the AMP stack," and we got core Drupal 7 set up in the video "Importing core Drupal into the AMP stack." The next thing to do is actually run Drupal's installer. If you're not already on the site use this pop-up menu and select the site that you want to go to, in our case that's d7nf, and then say, Go to my site.
I am already there, so I'll just click over on my Firefox browser screen. Over on the left you see the list of things that you have to go through in order to install Drupal 7. We'll be skipping two of them, because we are installing Drupal on DAMP rather than MAMP or WAMP. Namely, we don't have to go through the Verify requirements or Set up database steps. If you need to know how to do those, refer to my earlier course, Drupal 6 Essential Training, which installs Drupal over MAMP instead. Now the first thing that hits you from the screen if you use Drupal 6, is that Drupal 7 looks very different graphically.
Its new theme, which is the default for all administration that you do in Drupal, is appropriately called 7 after Drupal 7. We'll talk more about that in the video "New themes." But let's get back to our list over here. The first choice, Choose Profile, lets you choose between a Standard set of modules, which is the one I always use, and the one I recommend in a Minimal set of modules. Minimal is the same software as Standard, but it has fewer options enabled. It's particularly useful for hard- core developers and folks with a strong do-it-yourself ethic.
It's good for people who want to build their site from the ground up without distractions, such as the administrative overlay or a search box. But we don't have to look at that. We are just going to do the Standard installation profile by clicking Save and Continue. The next screen is the same between Drupal 6 and Drupal 7. The default language for Drupal is English, but you can choose to install it in other languages, in which case your administrative interface is going to be in those languages. Just click on this link to find out how, but we're going to do it in English, so Save and continue. And as I mentioned it will skip over the Verify requirements and Set up database steps and just go right into installing Drupal itself.
Now it's looking at the profile we selected. If you choose Minimal, it'll be a much faster install, but other things won't be turned on. Finally we come to our Configuration screen. I'll give the site the same name that we gave it earlier, which is to Drupal 7 New Features, e-mail address I'll just say firstname.lastname@example.org, Username is going to be admin, Password I'll save geller, G E L L E R, and as we scroll down to the bottom, we have this default country now. I'm in United States, so I will just start typing U, N, I, T and then scroll down a little bit until we get to United States.
On the surface a Drupal 7 installation for the screen is very much the same as Drupal 6. It does have this additional Receive email notifications, which is really wonderful and I recommend that you still keep that already checked. That way you'll find out if there are any security problems with your version of Drupal. Scroll down to the bottom, Save and Continue just as before with Drupal 6, and there's your site. Because I'm using Firefox, I get asked whether I want remember the password. I'll just say, Not Now. The last thing to do is click on Visit your new site, and there it is.
There are a few things that are different about this screen from Drupal 6. One is that it's not full of all that stuff that Drupal 6 used to have. It had four paragraphs of text, which most people either didn't read or didn't understand if they did read. Now a lot of that stuff is simplified into the commands, because the first thing people usually want to do is add new content, which you would do by clicking there. I want to go back and talk a little bit about those requirements and database screens, neither which we saw here. There are some things that have stayed the same since Drupal 6. First of all you still need to copy over the settings.php file. That hasn't changed.
The second thing is that Drupal 7 now recommends at least 40 MB be given to PHP. Now I am not going to show you how to fix that, but you can find out how in my course Drupal 7 Essential Training, which will be coming out soon after this course is released. If you use the WAMP stack, you are going to find that it only starts with 2 MB I believe, and it's way underpowered and it simply won't install Drupal 7 properly. Once again these are some of the reasons that I prefer the Acquia Drupal stack installer. Another thing I want to mention is that databases are now much better supported in Drupal 7.
Firstly, the database type is clearer and the list of available databases includes SQLite. More importantly, Drupal 7 has abstracted the database layer, so you can actually use just about any database you want with Drupal with very little extra programming. I'll talk a little bit more about that in the video "Developing for Drupal." The next thing I'd do is actually look at the files in Drupal 7. I'll switch to my desktop and open it up. There are two things that are specific to the Acquia Drupal stack installer that are a little bit different from the way it works with other stack installers.
First of all because it's a multisite system, the sites folder is set up a little bit differently. I open up my Drupal folder and then sites folder and you see we now have this d7nf folder. That's for the core Drupal that we installed, and if you install other sites they will also have separate folders. We open that up. This is the settings.php for this particular website. I like to also double-click that file itself. In the Settings folder, Acquia DAMP handles things a little bit differently then you might be used to. You might remember having to enter database settings and they would show up, oh, about middle of the file underneath all of this explanation, right here.
Well, in this case it just has databases equals array and it's blank. If you scroll down to the very end of the file, you'll actually see this 'Don't edit anything below this line' and that's where Acquia DAMP sticks all of its magic about the database and so forth. So if you need to move your installation into a remote server, you are going to have to install on the remote server. Again, this is only if use Acquia DAMP. I know we have been through a lot just to get Drupal installed. Even ignoring the differences due to the new DAMP stack, it's quite a bit better than Drupal 6.
I know because I installed it many times into MAMP and on a remote server with its own AMP stack. Just a reminder, you'll get tips on how to verify requirements and install the database in my earlier series, Drupal 6 Essential Training. If you run into additional troubles when using some other AMP stack, I'm afraid they're probably not because of Drupal, but rather because of system administration issues that I just can't cover in the series. For those, I recommend you talk with your system administrator or seek out further help within the Drupal community.
There are currently no FAQs about Drupal 7 New Features.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.