Creating and administering content
Video: Creating and administering contentThere has been no big changes in how you create content between Drupal 6 and Drupal 7, but there have been a number of small changes and they add up to a lot. So, let's take a look at them. The first thing is what it's called when you create content. In Drupal 6, we have Create content, whereas in Drupal 7, we've either Add content or Add new content. The second thing you notice is the names of the two basic content types are different. In Drupal 6, they were Page and Story, whereas in Drupal 7, they're Basic page and Article.
Viewers: in countries Watching now:
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.
- 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
Creating and administering content
There has been no big changes in how you create content between Drupal 6 and Drupal 7, but there have been a number of small changes and they add up to a lot. So, let's take a look at them. The first thing is what it's called when you create content. In Drupal 6, we have Create content, whereas in Drupal 7, we've either Add content or Add new content. The second thing you notice is the names of the two basic content types are different. In Drupal 6, they were Page and Story, whereas in Drupal 7, they're Basic page and Article.
Let's create a basic page in both Drupal 7 and Drupal 6, and walk for it quickly through the changes on the Content creation page. Starting at the top in Drupal 6, we have the Title, Menu settings and Body. I always thought that Menu settings were sort of strangely placed, and in fact, that's been fixed in Drupal 7. Now we have the Title and Body right up here at the top and Menu settings is at the bottom in this new area called vertical tabs. I'll come back to those in just a minute. Continuing down in Drupal 6, we see Input format and we have two options, Filtered HTML and Full HTML.
Revision is pretty much the same. URL path settings is the same as in Drupal 6, if you turn on the path module. The difference here is that in Drupal 7, the path module is on by default, whereas in Drupal 6 it was off by default. Comments in Drupal 7 have been simplified quite a bit. In Drupal 6, I found them somewhat confusing to be honest. You had Disabled, Read-only and Read/ Write and then there were additional settings in the content type and so on. In Drupal 7, they've gotten rid of that particular nomenclature and now it's just Open or Closed, and looking at the content types you can see exactly what that means a little bit better.
Authoring information is the same and Publishing options are the same for both Drupal 6 and Drupal 7. Now, I'd like to show you the other basic content type. On Drupal 7, it's called Article, whereas on Drupal 6, it's called Story. Scroll up and change Create content to Story, go back here one page, and change it to Article. Now again, you won't see very many differences. This is a lot like Story was in Drupal 6, but there are some important and interesting ones. We have this Image place here where you can actually add an image to your article.
This is a big change, because as you remember from Drupal 6, it was difficult to add images into your content. In this case, it's being added as a separate field. Then in Drupal 7, you also have a place where you can add tags. I'll show you how all this works by creating a node. I'll call this title Beautiful Lake Tahoe, and the body will be "it's a wonderful place to visit." We'll add an image, and I've put this one on my desktop. Let's go the Desktop, scroll down, and add lake-tahoe and Upload.
There we see a little thumbnail. This is a nice little bit. It actually changes your graphic into various sizes once you've uploaded them, and we'll talk more about that when we get to talking about images and content. Then finally for tags, I'll just say, lake tahoe, california, nevada, beauty, nature, and scroll to the bottom and save. And as you can see, it puts your graphic in this larger size in the node itself, even though you saw the thumbnail earlier and at the bottom we have tags.
Just as with Drupal 6, if you would have clicked on one of these tags. It would take you to a page with all the stories that were so tagged. Now, where exactly are those tags coming from? We can see them by going up to Structure and down to Taxonomy, and you see that there's a pre-created vocabulary called Tags, and if we list the terms, there they are, just as Taxonomy worked in Drupal 6. Now, let's talk a little bit about how content is managed. We click Content and on Drupal 6, you might remember you had to actually click Administer, Content Management, and Content. You had three clicks together.
It's basically the same screen, but on Drupal 7, it's much easier to reach. One other difference is that in Drupal 6, we had Administer, Content Management, and then Comments was a separate page from Content. On Drupal 7, you see that as a little tab up here as part of the Content page. Once you're there by the way, you have a separate sub-tab for Unapproved comments. Looking at all of these content changes, I think the biggest one is the Article content type, which has both tags and images available by default.
That's actually something made easy by changes in how Drupal stores fields and we'll be talking more about that in the " video "Adding fields to content types. But even without that, the interface changes, such as the use of vertical tabs, rather than disclosure links, really makes content a lot easier to work within Drupal 7.
There are currently no FAQs about Drupal 7 New Features.