Menu du compte de l'utilisateur

  • Log in

Navigation principale

  • Home Page
  • All CMS
  • Tutorials
  • White Paper
Home
Guide CMS

Breadcrumb

  • Home
  • Tutorials
  • Drupal User Guide
  • Chapter 6. Setting Up Content Structure
  • 6.1. Adding a Content Type

Language selector

  • Français
  • English

Main navigation

  • Home Page
  • All CMS
  • Tutorials
  • White Paper

User login

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
  • Create new account
  • Reset your password

Book navigation

  • Tutorials
    • Drupal User Guide
      • Preface
      • Chapter 1. Understanding Drupal
      • Chapter 2. Planning Your Site
      • Chapter 3. Installation
      • Chapter 4. Basic Site Configuration
      • Chapter 5. Basic Page Management
      • Chapter 6. Setting Up Content Structure
        • 6.1. Adding a Content Type
        • 6.2. Deleting a Content Type
        • 6.3. Adding Basic Fields to a Content Type
        • 6.4. Concept: Reference Fields
        • 6.5. Concept: Taxonomy
        • 6.6. Setting Up a Taxonomy
        • 6.7. Adding a Reference Field
        • 6.8. Concept: Forms and Widgets
        • 6.9. Changing Content Entry Forms
        • 6.10. Concept: View Modes and Formatters
        • 6.11. Changing Content Display
        • 6.12. Concept: Image Styles
        • 6.13. Setting Up an Image Style
        • 6.14. Concept: Responsive Image Styles
        • 6.15. Concept: Text Formats and Editors
        • 6.16. Configuring Text Formats and Editors
      • Chapter 7. Managing User Accounts
      • Chapter 8. Blocks
      • Chapter 9. Creating Listings with Views
      • Chapter 10. Making Your Site Multilingual
      • Chapter 11. Extending and Customizing Your Site

Guy Vigneault

6.1. Adding a Content Type

By Guy Vigneault | 12:07 AM EST, Mon December 15, 2025

Goal

Add and configure a new content type Vendor.

Prerequisite knowledge

Section 2.3, “Concept: Content Entities and Fields”

Site prerequisites

You need to have a plan in place for your content structure. See Section 2.5, “Planning your Content Structure”.

Steps

  1. In the Manage administrative menu, navigate to Structure > Content types (admin/structure/types). The Content types page appears showing all the available types of content. Note that the names and descriptions of the content types that were provided by your installation profile are shown in English on this page; see Section 2.7, “Concept: User Interface, Configuration, and Content translation” for an explanation.
  2. Click Add content type. The Add content type page appears. Fill in the fields as shown below.

    Field nameExplanationExample value
    NameName of the content typeVendor
    DescriptionExplain the use of the content typeInformation about a vendor

    Adding a Content type

  3. Under Submission form settings, configure the form that is used for creating and editing content of this type. Fill in the fields as shown below.

    Field nameExplanationExample value
    Title field labelLabel of the Title field that is shown when editing or creating content of this type.Vendor name
    Preview before submittingOption to choose whether you should preview the content before submitting.Optional
    Explanation or submission guidelinesInstructions for creating or editing content.(Leave blank)

    Submission form settings

  4. Under Publishing options, decide on default options for new content of this type. Fill in the fields as shown below.

    Field nameExplanationExample value
    PublishedMake the content item published by default.Checked
    Promoted to front pageIn a default website, this setting can be used to show content on the homepage.Unchecked
    Sticky at top of listsIn a default website, this setting can be used to keep content on top of a list.Unchecked
    Create new revisionCreate a new revision each time the vendor is being edited.Checked

    Changing these settings does not affect the content items that have already been created.

    Publishing Options

  5. Under Display settings, decide if the author and publication date will be visible in the content item. Fill in the fields as shown below.

    Field nameExplanationExample value
    Display author and date informationDisplay the author username and publication date on each vendor page.Unchecked

    Display settings

  6. Under Menu settings, fill in the fields as shown below.

    Field nameExplanationExample value
    Available menusMenus that this type of content can be added to. Vendors do not need to appear in menus, so uncheck all menu options.Unchecked

    Menu settings

  7. Click Save and manage fields to save the content type. The Manage fields page appears that allows you to add fields to the content type. See Section 6.3, “Adding Basic Fields to a Content Type”

    Confirmation

  8. Follow the same steps to create a content type for recipes. Example values for the fields in the forms, where they are different from the steps above:

    Field nameExample value
    NameRecipe
    DescriptionA recipe submitted by a vendor
    Submission form settings - TitleRecipe name

Expand your understanding

  • Section 6.3, “Adding Basic Fields to a Content Type”
  • Install and configure the contributed Pathauto module so that content items get automatically generated URLs/path aliases. See Section 5.1, “Concept: Paths, Aliases, and URLs” for more on URLs within your site, Section 11.1, “Finding Modules” for instructions on finding contributed modules, and Section 11.3, “Downloading and Installing a Module from Drupal.org” for instructions on downloading and installing contributed modules.

Videos

Adding a Content Type

Attributions

Written and edited by Sree Veturi, Boris Doesborg, and Jennifer Hodgdon.

 

Book traversal links for Tutorials

  • ‹ Chapter 6. Setting Up Content Structure
  • Up
  • 6.2. Deleting a Content Type ›
CMS

 

All CMS

 

Tuto

 

Tutorials

 

White Paper

 

White Paper

Powered by Drupal

Privacy Policy

Privacy Policy

 

Recent content

  • 11.4. Finding Themes
    1 day ago
  • 11.3. Downloading and Installing a Module from Drupal.org
    1 day ago
  • 11.2. Enabling and Disabling Maintenance Mode
    1 day ago
  • 11.1. Finding Modules
    1 day ago
  • Chapter 11. Extending and Customizing Your Site
    1 day ago

Copyright

Creative Commons

Sauf mention contraire, Guide CMS © 2025 par Guy Vigneault est sous licence Creative Commons Attribution - Utilisation non commerciale - Partage dans les mêmes conditions 4.0 International

 

Creative Commons

Unless otherwise stated, Guide CMS © 2025 by Guy Vigneault is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

eGV Web