The Applications view will serve both as a tool for administrators and as a reference for users, with three different displays. In this lesson, we'll start to build the Applications view by creating the default display with our first listing, which is a master list of all the applications on the site. To pull in all of the information we're going to need, we'll begin working with Views relationships.
Additional resources
We are getting close to completing our site in the Using Drupal Chapter 3: Job Board series. This week we are going to finish up our requirements by building out the Applications view. This view gets a little tricky though, because we need to create three very different displays, and control who has access to some of those displays. This means we'll be doing a lot of overrides in our different displays. We also get to work with Views relationships to pull even more information into our view.
You've probably heard of this magical land of version control where you can undo bad things, start over, and share your work effortlessly. It's a wonderful place that, let's face it, actually takes a bit of work to get to. It's a lot like Drupal: the more time you spend with version control, the more you forget how hard and complicated it was at the very beginning. And even when you understand it, you can still get yourself into a fuddle sometimes.
Supporting Open Source the Gittip Way
Blog postThere has been a lot of talk in the Drupal community recently about Gittip. Gittip is a way to donate money to people who are doing good work. The part that really makes Gittip different from other donation or crowd-funding plans is that it is set up to provide regular, weekly payments. One-time gifts are great, but a steady source of income is what a lot of people really need, especially folks who are mostly unemployed and working essentially for free on projects you care about. A few weeks back we had Alex Pott on the podcast (Episode 23: Alex Pott and Working on Drupal Core) to talk about his work, and the fact that he has been self-funding himself to be able to focus on Drupal core. We think this is a really, really important conversation in the Drupal community, and definitely recommend you listen to the podcast for more insight.
The Views module provides listings of data on your site: users, comments, nodes, and more. Any listing of data provided by the Views module is called a view, and most Drupal websites today use Views in many different ways. In this lesson we'll get an overview of the Views module, including some specific concepts and terminology like Data Types and Displays, along with a tour of the major view settings and what they do.
Additional resources
The requirements of our site include two different main views. One view is a public-facing list, showing all the available jobs to users of the site. In this lesson we'll create our first view by enabling the modules we need, walking through the Views wizard to get our basic view in place, and then modifying various settings for our fields and working with contextual filters.
Additional resources
Release Day: Using the Views Module
Blog postIn this week's installment of the Using Drupal Chapter 3: Job Board series, we get into the world of Views. The Views module is the most used contributed module in Drupal 7. It is so popular in fact, that it has been included in core for Drupal 8. Views lets us list content on our site. It can be used to accomplish so many tasks when it comes to building your site that you really do need a good foundation with this to understand many Drupal site-building concepts.
Podcast Episode 24: Coderdojo and Drupal
Blog postIn Episode 24 of the Drupalize.Me podcast, Addi is joined by Bill Liao, co-founder of CoderDojo, and Drupalers and CoderDojo volunteers Heather James (heather) and Mike King (emkay).
Now that the university is able to create job postings, it would be helpful if prospective employees could submit resumés to the positions in which they’re interested. In this lesson we will build out the Job Application content type. We will need to add another reference field, this time a node reference, to tie the applications to the correct job. To make it possible for applicants to submit their resumé we'll also need to add an upload field so that applicants can upload a document of specified file types.
Additional resources
The References module is a contributed module that allows you to create relationships between nodes and/or users. In this lesson we will take a look at the References project, explaining how References work, and then discuss some similar modules out there you may want to investigate.
Additional resources
Now we need to add a primary contact for the job position we've created. This will usually be the person creating the entry, but we’ll allow the user to enter any of the possible faculty members on the site. This will be done as a “User reference” field, provided by the contributed References module.
Additional resources
For usability, it’s often important to display forms and page contents in a specific order, and to add formatting so that it’s more clear what data is being presented. In this lesson we'll modify our Job content by reordering the fields, changing the field label display, and looking at how we can hide particular fields.
Additional resources
To build this site, we’ll need to go beyond the default “Basic page” and “Article” content types offered by Drupal core. To get started with our job posting website, let’s think about the different content types needed to build all the functionality that we require. The site requires two different types: a Job Posting and a Job Application. In this lesson we'll map out our content type needs, and see what fields were going to use. Then we'll create the Job content type, making sure we add needed fields and set permissions so that it is working as expected.
Additional resources
The Field module provides an extremely flexible framework for creating forms to enter content. In past versions of Drupal, this was provided by a contributed module called the Content Construction Kit, or CCK, but this now a feature that comes with Drupal core itself. In this lesson we're going to get an overview of the Field module and the pieces it provides, including field types, input widgets, displays, view modes, and formatters. We'll also take a look at reusing existing fields and what that means.
Additional resources
This series will introduce you to the two most powerful features in Drupal: Fields and Views, fundamental building blocks when it comes to building Drupal sites. The Field module allows you to customize entry forms for entities, nodes and users, and comments. The Views module is the perfect counterpart to Field in that instead of putting content into your site through an entry form, Views allows you to get that content back out again in the way that you want.
In this lesson, we're going to be looking at building a job posting board for a university. We'll examine our case study and what it is that we need to do for this job posting board. Drupal core provides this site with a lot of good starting pieces, but we're also going to need to use some additional modules. We're going to focus on the core Field and Field UI and File field in order to create the custom forms that we need for the input for jobs and applications.
If you'd like to follow along with this series, you should install the Using Drupal Source Code and use the Chapter 3 Job Posting Board Installation Profile during the installation process,
Additional resources
This week we are moving on to the next chapter of the O'Reilly Using Drupal series with Using Drupal Chapter 3: Job Board, where we will build out a job board to get familiar with the two fundamental building blocks of Drupal sites: Fields and Views. Through this series we'll create two new content types with a variety of fields, and then explore using Views to create custom lists of that content, including creating dynamic, contextual listings.
In this week's episode Addi gets to chat with Alex Pott, who is one of the few people who can commit code directly to Drupal core.
Now Hiring Drupal Trainers
Blog postDrupalize.Me is looking for Drupal trainers. We have a lot of new content on deck and we're looking for the right person to become part of the great team we have here. We obviously focus on video content, but we also love to do in-person training for private, on-site workshops, and public events, like DrupalCon, camps, and tech conferences around the world. We are already starting to build out a whole bunch of new curricula for Drupal 8 and other Drupal-related technologies.