O'Reilly logo

Drupal 7 Fields/CCK by Dave Poon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – formatting the comment field display

In this section, we will adjust the comment field display to output plain text for the Recipe content type. Follow these steps to do so:

  1. Go back to the MANAGE DISPLAY administration page for the Recipe content type. On the top-right of the page, click on the COMMENT DISPLAY tab.
    Time for action – formatting the comment field display
  2. On this page, we click on the select list under FORMAT, and select Plain text. Click the Save button to store the value. From now on, all the comment displays will only output plain text, which ignore the HTML tags entered in the comments.

What just happened?

We have adjusted the comment field display to output plain text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required