PacktLib: Drupal 7 Fields/CCK Beginner's Guide

Drupal 7 Fields/CCK

Credits

About the Author

About the Reviewer

www.PacktPub.com

Preface

Nodes and Content types in Drupal 7

The book example project

A preview of the final project

What is a content type?

Default content types in Drupal 7 core

Time for action – creating contents usingthe article content type

Creating custom content types

Time for action – creating the Cooking Tip content types

Time for action – creating the Recipe content type

Adding content using custom content types

Time for action – adding content using the Cooking Tip content type

Time for action – adding contents using the Recipe content type

Summary

Fields

What is CCK?

Fields in Drupal 7

Time for action – enabling the Field module

Time for action – finding the Field UI

Time for action – finding the field types and input widgets in Field UI

Drupal 7 core default fields

Adding fields to content types

Time for action – adding Long text fields using the text module

Time for action – adding text fields using the text module

Rearranging the order of fields

Time for action – rearranging the order of the Notes field

Adding fields to comments

Time for action – adding a text field to comments

Time for action – rearranging the order of the Email field

Reusing existing fields

Time for action – reusing the Notes field for the Recipe content type

Time for action – reusing the Source field for the Recipe content type

Time for action – rearranging the order of the Notes field

Time for action – reusing the Email text field in the Recipe content type

Time for action – rearranging the order of the Email field

Summary

Multiple Value Fields

Enabling multiple values

Time for action – enabling multiple values

Adding Boolean fields

Time for action – adding a Boolean field

Setting default values

Time for action – setting default values

Adding list fields

Time for action – adding list fields

Multiple value widgets

Time for action – changing the number of the values

Time for action – checkboxes/radio buttons widget with multiple values

Summary

Taxonomy

What is taxonomy?

Creating vocabularies

Time for action – creating the Cooking Tip Category vocabulary

Time for action – creating the Recipe Category vocabulary

Adding terms to vocabularies

Time for action – adding terms to Cooking Tip Category

Adding term references to content types

Time for action – adding a term reference field to the Cooking Tip content type

Categorizing content using taxonomy

Time for action – categorizing Cooking Tip Content using taxonomy

Adding fields to vocabularies

Time for action – adding a field to the Cooking Tip Category vocabulary

Summary

File and Image Fields

Adding and configuring file fields to content types

Time for action – adding and configuring a file field to the Recipe content type

Using file fields

Time for action – using the file field

Adding image fields to content types

Time for action – adding an image field to the Recipe content type

Configuring image field settings

Time for action – configuring an image field for the Recipe content type

Creating custom image styles

Time for action – creating a custom image style

Summary

Managing Field Display

Field display

Time for action – a first look at the field display settings

Formatting field display in the Teaser view

Time for action – formatting the Body field display in teaser view

Custom display settings

Time for action – enabling the Full content view mode in custom display settings

Formatting the image field display on Full content

Time for action – formatting the image field display on Full content

Formatting the comment field display

Time for action – formatting the comment field display

Formatting the vocabulary field display

Time for action – formatting the vocabulary field display

Summary

Contributed Field Modules

Drupal modules

Contributed modules

Finding modules

Time for action – finding contributed field modules through the Drupal website

Time for action – finding contributed field modules through the drupalmodules.com website

Installing and enabling contributed modules

Time for action – installing a module

Time for action – installing a module using Update manager

Contributed field modules

Summary

Field Level Permissions

Downloading the Field Permission module

Time for action – downloading the Field Permission module

Installing and enabling the Field Permission module

Time for action – installing and enabling the Field Permission module

Enabling field-level permissions

Time for action – enabling field-level permissions

Configuring field-level permissions on the PERMISSIONS administration page

Time for action – configuring field-level permissions on the PERMISSIONS administration page

Field-level permission reports

Time for action – the Field permissions report page

Summary

Theming Fields

What is a theme?

What is theming?

How Drupal renders a webpage

How to get started on theming

Creating a Drupal theme

Time for action – creating a Drupal theme by cloning the existing theme

Overriding template files

Time for action – creating a template file for the Recipe content type

Editing template files

Time for action – editing a template file

Styling the page using CSS

Time for action – styling the page using CSS

Summary

A Database Perspective of Fields

Key elements in Fields

New concepts in Drupal 7

A database perspective of fields

Time for action – creating a new content type

Summary

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Index