Cover by Dylan James

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Creating a more advanced content type

In Drupal, unlike in many other CMSs, it is possible to create a vast range of content types for almost any requirement. In this example, we will be creating a new content type called Job. This content type can then be used to create a job posting system for your site.

Our Job content type will consist of the following fields:

  • Title (Node module element)
  • Body (Long text and summary)
  • Salary (Text)
  • Closing date (Date)
  • Related documents (File)
  • Position type (List)

Getting ready

For this recipe you will need to install the Date module: http://drupal.org/project/date

You will then need to enable the following features of the Date module:

  • Date
  • Date API
  • Date popup

How to do it...

Through the course of this recipe we will be ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required