Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:33Length:3.7 hours
  • Overview
  • Transcript

5.3 Creating the Speakers Content Type

The final content type we'll add to our site is going to be Speakers. So let's finish up our content types with a model for conference speakers.

5.3 Creating the Speakers Content Type

You know I really find that as I continue to build out these types of sites with Drupal. It just becomes more and more fun to me because I feel like I have so much freedom and ability to model these different types of information through content types that I just really enjoyed and I like to keep going through it. And because of that I'm gonna go ahead and throw in this concept of speakers for these conferences. So let's go ahead and add one more content type and this time we're gonna call this speakers and we can put in a description here. This is, The content type to describe speakers at a Conference. Like that. Okay and we're going to put in here the title field label is going to be the Speaker Name, so we can put in the name of that person. And preview, we can leave that as Optional. Publishing options, once again we're gonna leave these the same. Display settings, we're going to turn off Display author and date information and we do not want to put this In the Main navigation. So let's go ahead and save these and we're just gonna throw in a couple of really basic fields here. Once again you can modify these should you feel that way. So let's go ahead and Edit the body here and in this case we're gonna call this maybe the Speaker Bio. Just so you can add additional information about the speaker so you can get a little bit more background on this person. And we should probably require that, because it would be good to know a little bit more about this person. As we start to browse and look at their information and let's go ahead and add some additional fields here. I think it would be good to probably have an Image. It would be helpful to have an image of this person, so you could can call this the Speaker Picture. So you can see what this person looks like. So maybe you've seen this before, this person before. You don't remember their name. This could help to kind of put those things together. We don't really need any defaults. I think we should only allow one image. And we'll call this the Speaker Picture. I think this should be a Required field. It would be good to be able to see this person. And we can play around with the image resolution again here maybe 800 by 800. And maybe, it doesn't have to be that big. Maybe for this one, 600 by 600 would probably be fine. Minimum resolution, maybe 200 x 200, we wanna be able to see them decently enough. Maybe 100 kilobytes. Once again you can obviously play around with all these image settings that would be fine. We're going to enable and require the All fields, so let's go ahead and Save Settings there. Let's add another field and this time. Let's add in a Link, we can actually add in multiple links but let's start with this. Let's call this the Speaker Website, so maybe you want to link off to their website. Will only put one in and for this one I don't think I'm going to require this cuz maybe that person doesn't actually have a website. We don't wanna require that. This is gonna be an External link only because well, it's probably not gonna be a person that's found on this site, it's gonna have an external link to somewhere else. And, I also want to add another link in there because at this day and age, it's very easy once again to find these people on social media. So, we'll call this maybe Speaker Twitter, so maybe we could link to their Twitter account so you can follow them on Twitter or something like that. We're gonna limit this to one and once again, we won't require this because they may or may not have a Twitter account we don't want to require that and that's absolutely going to be an External leak only. So let's save that site as well. And so here we are. We're gonna have the speaker name and then we're gonna have an image of that person. We're gonna have a little bio. We'll be able to link to their Twitter as well as their website to get additional information. And I feel like that's probably sufficient when it comes to a speaker. So now, we've gotten to the point where we have these three content types which I feel like they're kind of related to each other but within our system currently, they are very individualized. They're very separate and what we wanna be able to do is, we wanna be able to tie all of these things together, so that we can have user groups that are sponsoring conferences. And conferences that have one or more speakers that are found within the system and things like that. So in the next lesson, I'm going to show you how we can begin to tie all of these things together.

Back to the top