2.2 Another Content Type: Basic Pages
A wise man once said, "A site is not built on articles alone." At least maybe someone once said that. Anyway, you can't simply create a site with only articles. You need to be able to bring together collections of information, and basic pages are one of the simplest ways to accomplish this.
1.Introduction5 lessons, 42:22
2.Creating Content5 lessons, 42:14
3.Working with Views5 lessons, 34:11
4.Further Configuration3 lessons, 18:12
5.Building a Full Site From Scratch14 lessons, 1:24:52
6.Conclusion1 lesson, 02:26
2.2 Another Content Type: Basic Pages
All right, so we've created our first article but that's really not gonna be enough, let's go ahead and start to add some more content. So I'm gonna go to shortcuts and I want to add content and in this case I wanna add a basic page. Now a basic page is exactly what it sounds like, it's going to be a new page within our site not just an article like we did in the last lesson, but the UI here to create it looks very similar. So let's go and start by creating our page with a title. So we're just gonna call this My First Page and then once again we can do the same thing we did before by editing the Summary or the body in this case I don't really feel the need to put a summary in there. So, let's go ahead and just add the body. This is the body of my first page. Don't you just love it? That's it, so once again we can do a lot of the same things that we did with the article. Where we can come in here and we can change the text formatting but I don't really think that that's necessary. Preview, I can save and publish or save as unpublished. You can also do the same sort of revisioning work. Now, this were things start to change a little bit. Now, the Menu Settings, well in this case I feel like it might be necessary to provide a menu link, because I'm creating a new page and maybe this page is something that I want everybody to be able to see. Now My First Page is probably not something that you would wanna keep at your highest level navigation but imagine this is maybe like a Contact page or an About page or something like that on your website where you want this to be in the menu. So I'm gonna go ahead and click on this link. And then we get a couple of options here. What do we want this link to be called? Well, do we want it to be called My First Page? Or do we want it to be called something else? Well, maybe you want it to be called About Us or whatever you want it to be. In this case I'm just gonna leave it as it is, so you can see it show up that way on the site. We can give this a description which is shown when hovering over the menu links. So we're just gonna call this A Description, just to show how that works, and then we can say what is the Parent Item. Well in this case we want this to be pretty much the main navigation, so we want it to be at the highest level. Now we can make this a sub-navigation if we were to select Home, because that's the actual first menu link on our page but let's go ahead leave this as main navigation for now. And then the Weight, now the Weight is where this is going to show up within the list. Now this can be a negative through a positive number, the lower the number the higher the, it shows in the link structure or in the organization structure. So the lower the number the higher the ranking, the higher the number the lower the ranking if you can keep all of that straight. So let's just leave it as zero for now, I think that should be fine. And then you have some of the same options you had before, but I think for this particular case this should be enough. So let's go ahead and Save and Publish. As you can see here now we get My First Page. Now, My First Page we have our full view here, no teaser view here, and we can do the same operations that we did before. I can view it, I can edit it, I can delete it, but because I selected that I want this to show up in the navigation at the main navigation level, I get my page right here. And I can hover over this and I see a description, so this is exactly what I would expect on my page, but now I could do some things right at this a little bit. So let's take a look at how we can change some things here. So let's maybe change this to be About Us even though it's really not in About Us. If I do that, now I can Save and Keep Published and we're gonna see now that it says About Us. So we can see that this is now kind of alphabetical but the interesting thing here is this home here is that these both have the same weight, but because they have the alphabetical order in going here. Then they're gonna show up in alphabetical order even though they have the same weights. So let's go ahead and edit this again and let's say that actually this time we want the weight here to be 100. So let's go ahead and save that. And now it's gonna show up after Home, because it has a weight that's greater than the home link and so it shows up afterwards, so that's kind of interesting. So there you have it, that is the basic organizational structure and how you get in and add content in the form of pages. Now it's a little less exciting than probably the articles, there's less moving pieces. But that's okay because when you're creating a page, you're really just creating a page in order to present some information that's kind of secluded off on its own that you can get to specifically by a link on the top of the page or wherever on the page you decide to go. Now we will show or talk about other things later on like links within blocks. Now blocks are kind of like side bars over here, so we see we have a search sidebar and a tool sidebar and how we can edit and add things to those later but we're going to save that for another lesson.