Managing content

Body

Specific version(s)

Documentation is for Drupal 8, 9, 10 and 11.
Screenshots are from Drupal 10.

Adding content

This guide assumes that you have used the standard profile when installing, which defines the two content types Basic Page and Article. (If you used the minimal profile, you need to define content types first.)

Before we begin: Make sure you are logged in as a user who has the right to create content – ask your system administrator if you are not sure; otherwise, some of the fields you need to select will not be visible.

  1. Select Add content after navigation to Content in Administration menu.

    Image


    PICTURE: Manage content with add button
     

  2. This brings up a screen asking what type of content you wish to add. By default, Drupal comes with two content types Article and Basic Page.
     

    Image


    PICTURE: Select content type to add content
     

  3. Select Article. The only major difference between Basic Page and Article is that you have the ability to upload an image when creating an Article; a Basic Page is a static page. You can update the fields in the content type later.
  4. A form will appear allowing you to enter information for your Article. You can also configure the revision log, menu, comment, authoring and promotion option settings. These settings vary as you extend your Drupal instance and use the contributed modules.
     

    Image


    PICTURE: Add article: empty form
     

  5. Enter a Title for the page in the Title text box, for example, Test Article.
  6. In the Summary area enter some text that describes your article briefly.
  7. In the Body area enter some text. If you have an already written block of text for your site, you can just cut and paste it into this area. You can choose the formatting options from the Text Format drop-down below the text area. The default available options are Basic HTML, Restricted HTML and Full HTML.
  8. You can tag your content. To learn about tagging (Taxonomies) click here.
  9. You can upload an image to your article.
  10. A Published field (checkbox) provides you option to publish/unpublished the content.
     
     

    Image


    PICTURE: Add article: filled form
     

  11. Click Save.
  12. You should now see your page (or "node" in Drupal-speak).
     

    Image


    PICTURE: Saved article
     

Managing nodes

You can perform a variety of operations on one or more nodes. You can specify the nodes as published or unpublished, promoted to the front page or demoted, make sticky (stays at the top of the lists) or not. You can also delete one or more nodes.

Click on the content link on the administrator menu or navigate to '/admin/content', you will get listing of all the content in your Drupal application.

Image


PICTURE: Manage content with add button
 

  • Click on Administration > Content.
  • If desired, filter the content displayed by its status, type, title or language as follows:
    • Select the desired value in any/all of the filters.
    • Click on the Filter button to get the refined list of contents.
  • Content to be administered can be selected by using the box at the left of each row.
  • To select all content, click on the box to the left of Title.
  • Select the administrative update option to perform from the action select box in the update options area, example Remove content from front page.
  • Click Apply to selected items.

For information on setting permissions for nodes, see the Managing Users section.

Managing comments

You can display a list view of all comments. From the list, you can choose to unpublish or delete one or more comments.

  • Click on Administration > Content.
  • Click on the Comments tab.
  • Select one or more comments.
  • From the dropdown list select Unpublish or Delete.
  • Click Update.
     

    Image


    PICTURE: Manage Comments
     

Knowledge Category