Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Drupal is a free, open-source content management system (CMS) for a variety of platforms. It has a robust user community and easy-to-use administration features. Drupal Essential Training covers all the important aspects of installing, configuring, customizing, and maintaining a Drupal-powered website. Instructor Tom Geller explores blogs, discussion forums, member profiles, and other features while demonstrating the steps required to make Drupal perform. He also teaches fundamental concepts and skills along the way, including installation, backups, and updates; security and permissions; flexible page layouts and CSS; menu navigation; and performance monitoring and disaster recovery. He also discusses how to select and install the community-supported modules that further expand Drupal's capabilities, and gives experienced PHP programmers tips on customizing page templates. Example files accompany the course.
We have already created one node on this site, this main page that you see here. Now we are going to add two more, one will be another page that describes our company or About page and the other will be a story, which is slightly different from a page and we'll show you what those differences are. First, let's create that page, but before we do that, we are going to turn on one more module at this point, the path module. To do so, go to Administer and Modules, and scroll down until you get to Path.
Once you do that, scroll to the bottom and click Save Configuration. What the Path module allows you to do is to rename the URL. So instead of saying, /node/3, it will just be /aboutus. Now, we are ready to create our content. Go up to Create Content and then Page. We will be entering the Title and Body from a text file that's included in the Exercise Files that you received if you're a Premium Subscriber on lynda.com or have this video on a disk. To get there, we'll go to the Finder, and then hide everything else, open up our Exercise Files. We already have it open to Chapter 9, in Video 2, the file is called basic content.
Now, we can just copy and paste our text. The title is, About Underwater Reality, we copy that with Command+C or Ctrl+C on a Windows machine, go back to our Drupal interface in the web browser. I am using Command+Tab, paste it there with Command+V or Ctrl+V, and then do the same for the Body. For this page, we are going to want people to have a single link to get there. So, we'll go up to Menu setting and we'll call it, About Us and its parent item is Primary links, that's this group of links up here. We are not going to mess with the Weight yet, because we only have two links up there. Later on we might want to do that, if we want to rearrange the order in which they appear.
Continuing down, we have entered the Body, of course. The Input format can remain, Filtered HTML. We'll create, this is a new revision and just say, Created page. Since, this is a page that tells about us we don't really want to invite Comments. We just make sure that the Comments settings are Off. This is one difference between a Page and a Story. A Page by default doesn't allow comments, whereas a Story does. This little dropdown, URL Path Settings, was added by that Path module that we just added to our Drupal configuration. Click on it and we add a URL. Let's call it about, scrolling down further, we are not going to change the Author, we will just check the Publishing options, we do want it published. It's not going to be promoted to the first page and it doesn't matter if it's Sticky at the top of the list, because it's the only thing on the page.
Now, we click Save, you will notice that it creates a node and a node number here. However, since we added that URL path, we can also just say about. So you can see how that makes your site a lot more friendly than having node/ and then a random seeming number. Since, we added a menu earlier, we can now click on that menu, about us and it goes to that page and you know what, we can go back and Edit that menu as well, just by editing that node. Go in to Edit, down to the Menu settings, and I am going to give that about us, a capital A ; scrolling down, all we have to do is click Save and boom, you see it's changed.
Now, let's create the other type of content, the Story. We go to Create Content
and Story, just as we did before. For creating a Page, click on Story and it
looks very much the same. Once again, we are going to go back to our Finder,
open up our text file and get our text. We go down and once again, we copy the
Title, copy it and paste it and the Body, copy it and paste it. This particular
Body has some features you haven't seen elsewhere in the course; in particular,
it has some special HTML here
which stands for unordered list and
which stands for list item. The person who wrote this particular story decided
they wanted a bullet point list, because it would bring out certain points
within the story.
If you want to learn more about using HTML, see the lynda.com course, HTML
Essential Training. We continue to scroll down and we see in our Filtered HTML
we are actually allowed to do the tags that we did
need full HTML. Although, of course, if we turned it on, it would also work.
Continuing down, we just check the Revision information. We don't really need a
new revision, it's a Story which usually only gets revised once, Comment
setting, we make sure that Read/Write is enabled.
This is, once again, one of the differences between stories and pages. URL path settings, we could set them if we want, we don't really need to. Authoring information, we'll leave alone. Publishing options is the other big difference, between pages and stories. Stories get promoted to the front page, whereas pages don't. We'll click on Save and there we are, we have our Story here with our bulleted list. Now, let's go back to our front page and we'll see it, because remember, we promoted it to the front page. We have this, which is Sticky at the top, and going down further, there is our Story.
There is one other thing that we can do. Let's say that we don't want to have quite as much text showing up on that home page. We can click on Contract amendment, which is, of course, the Title that will bring us to editing this particular Story. Click on Edit, we only want this top section to show up. So we put the cursor there and say Split summary at cursor. That puts in some special Drupal code, which will only show this on the front page, but then when you click through. It will show the full Story, go down and click Save and just to be sure that that's true, go back to our front page, scroll down to the Story, yup, it cut off where we expected and it added a Read More tag. If we want to read more, we either click on Read more here and there we have the full node, go back a page, or we can click on the Title to get the full node and as we said before, stories get comments.
So, if we wanted to add a new comment, all that a user would have to do is click there, and there we go, they enter a comment and add their own ideas to the Story. We'll go ahead and add a comment. The subject will be, Great information! And the comment will be, I really appreciate it and then just click on Preview, that's what it is going to look like, scroll down to the bottom and save. There we have it. This is now the node page, if we go just to that node page from the top. We see there's the story and the Comments underneath it. Incidentally, that preview requirement is something that you as the Administrator can set and we'll show that in the video on Comments. You now know everything you need to start populating your site with stories and pages, which is all that many sites need, but if you want to go further with Blogs, Polls, and Custom content types we'll show you how to create those.
Find answers to the most frequently asked questions about Drupal 6 Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
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.