5.6 Adding Some New Content
Now is the time to start creating some sample data. This is a good first step when creating a Drupal site, before you blast hundreds of nodes into the system and notice that there is a big problem. In this lesson, I'll create a speaker, user group, and a conference and make sure that everything is looking the way we want it.
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
5.6 Adding Some New Content
Okay, so now that we have spent some time going through and designing our content types. Let's actually start to add in a little bit of content and start to see how things are going to look. So let's go ahead into our content section and click Add content. And we can start to build things up a little bit from the ground up. So at this point, I know that I'm going to need some speakers to add into a conference as well as user groups. So let's start with these first. So I'm gonna start with the speaker and I want to say that the speaker name is what is put me right now. So this is Derek Jensen, Speaker Bio, the coolest dude I know. Loves to talk tech. And then down here we need to select a picture so I'm gonna choose a file. And I'm going to grab a picture of me. And this is gonna show up and then we can say Alternative text. We can just say, Derek Jensen. And they will come in here and we can specify some information about the speaker website. As well as some link text. Let's just leave it empty for now. And for Twitter, let's just say, https://www.twitter.com/creatived like that. And then we can come in here. And speaking at, we'll just leave that empty for now and then we'll go ahead and click Save and publish. So now we can see some information here, we can see my name. Holy cow, what a mug. And now we can see the basic layout that we have here. So obviously maybe this leaves a little bit to be desired. We can obviously play with this a little bit. But that's why we start to add in some content. So we'll come back and play with this a little bit later. So the next thing that I wanna do is now that I have a speaker. I want to also maybe create a user group. And let's say User Groups. And we're gonna call this group The Security Dudes. Something like that. These dudes really love some Security. Obviously you can add in any sort of text that you want. Group Website, I don't really have a website for these guys right now but let's just say. We'll make up a fictitious one, we'll say www.thesecurityusergroup.com, or something like that. Obviously, that doesn't exist yet but that's okay. And then we can add in some contact email. Maybe john@, this is really gonna get crazy here, let's go and copy. This, we'll say at this dot com. And because this is specified as an email, you are gonna have to provide a valid email address. That's just kind of the way that works. Group Contact, let's just say [LAUGH] his name became Johan. So let's just say John and we'll say, John Security, something like that. And experience, maybe this is an intermediate mostly user group. I think it should be fine. Let's go ahead and Save and publish. So we have the Security Dudes. So we have some information about these guys right here, that's really cool. And then finally, let's come into our content one more time and let's add a conference. So this is going to be the National Security Conference like that. And we can give a description, The best security conference on Mars. Or something like that, whatever you want it to be. And now we can come in here and we can say when is this conference gonna happen? Well, let's come over here and let's say it's gonna happen in maybe March 4th something like that. We can specify a logo. And I think that's fine for now. And this is going to be HTTPs because it's obviously very secure themarssecurityconference.net or something like that. If we wanted conference speakers, so we obviously need to add in a speaker. And because this is now referencing the speakers that we have in the system. I can start to type in a name here and we're going to see Derek is going to talk at this conference. So, that's pretty cool, sponsored by, and I can start to type things in here. I can see all the security dudes. And that's one of the benefits of creating these entity references between content types. Is now it's very smart to know that this is a link to speakers. And I can just start typing in things. And same by sponsor. I can just start typing in things and they're gonna start showing up. And topics here well, obviously we're going to be talking security. And we can even add another item. And say, you know what? Maybe they're also gonna talk about some database design. Because we want to keep security at the forefront of our minds when we're designing our database. Let's go ahead and Save and publish here. So now we have The National Security Conference, which is obviously the best security conference on Mars. And one of the cool things about all of this is now we're starting to see all of our references in here now. I can see the conference speakers, I can see a list of all of them here. If I want to learn more about them, I can select Derek Jensen. It's going to take me over here. So I can see more about myself which is pretty cool. And then I can come back and I can also see that this is sponsored by The Security Dudes. And I had those over here. So I can start to see that I have these really nice back and forth functionality to see more information by using these entity references. And the same goes for the taxonomies. Obviously the conference topics here I can click on Security. And I can go see more about what security is going on here. So this is kind of cool, we're starting to see our content showing up here. But, obviously, I think this leaves a little bit of desire when it comes to laying out some of the content. And we're going to spend a little bit of time fixing things up over the next couple of lessons.