Book Image

Drupal 7 Cookbook

By : Dylan Spencer James
Book Image

Drupal 7 Cookbook

By: Dylan Spencer James

Overview of this book

<p>Drupal 7 is a modern Content Management System famed for its flexibility and power. Using Drupal you can easily create custom functionality that would otherwise have to be purchased in many of the other leading CMSs.<br /><br />"Drupal 7 Cookbook" is filled with recipes to help you to do more with Drupal and improve your skills. Chapters range from content creation, to theming, to managing your site. You will learn how to create your own content types and use them to create Views, Blocks, and Pages. This book will take you from novice to pro in just 12 chapters.<br /><br />In a wide variety of practical recipes, you will learn how to work with views and panels, how to provide translations for your content to create a multilingual site, and to integrate your site with social media. You can develop the Zen starter theme or learn how to create custom cross-browser compatible Drupal themes, including themes for mobile devices. The Drupal 7 Cookbook contains all of the means necessary to take your skills from those of a novice Drupal user to a proficient site builder.</p>
Table of Contents (18 chapters)
Drupal 7 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Configuring comments


In Drupal, it is possible to permit commenting on every content node. Throughout this recipe we will see how to configure comments for the article content type. Following this we will create an article, add a comment and finally, moderate the comment.

Getting ready

Before we begin, ensure that the Comment module is enabled (the Comment module is part of the Drupal core module list).

How to do it

  1. 1. Select Structure followed by Content types from the admin menu.

  2. 2. Click on edit for the Article content type.

  3. 3. Select Comment settings from the tabbed options; ensure that the Default comment setting for new content is set to Open.

  4. 4. Leave the Threading checkbox checked.

  5. 5. Leave Comments per page set at 50, and ensure that the two checkboxes Allow comment title, and Show reply form on the same page as comments are checked.

  6. 6. Leave Preview comment set to optional.

  7. 7. Click on Save content type.

  8. 8. Select Content from the admin menu, followed by +Add content.

  9. 9. Select Article...