Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Table of Contents

Table of Contents

Table of Contents Drupal 7 Fields/CCK Credits About the Author About the Reviewer www.PacktPub.com Support files, eBooks, discount offers and more Why Subscribe? Free Access for Packt account holders Preface What this book covers What you need for this book Who this book is for Conventions Time for action – heading What just happened? Pop quiz – heading Have a go hero – heading Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. 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 The Basic page content type The Article content type Time for action – creating contents usingthe article content type What just happened? Pop quiz – understanding of the default content types Creating custom content types Creating the Cooking Tip content type Time for action – creating the Cooking Tip content types What just happened? Creating the Recipe content type Time for action – creating the Recipe content type What just happened? Pop quiz – creating content types Adding content using custom content types Adding content using the Cooking Tip content type Time for action – adding content using the Cooking Tip content type What just happened? Adding content using the Recipe content type Time for action – adding contents using the Recipe content type What just happened? Pop quiz – adding content using custom content types Have a go hero – creating more content using the custom content types Summary 2. Fields What is CCK? Fields in Drupal 7 Enabling the Field module Time for action – enabling the Field module What just happened? Pop quiz – enabling the Field module Field, Field UI, and Field SQL storage modules Time for action – finding the Field UI What just happened? Pop quiz – finding the Field UI Field types and input widgets Time for action – finding the field types and input widgets in Field UI What just happened? Pop quiz – finding the field types and input widgets in Field UI Drupal 7 core default fields Drupal 7 core field related modules Number modules Text modules List modules Taxonomy modules Image modules File modules Adding fields to content types Adding text fields using the text module Time for action – adding Long text fields using the text module What just happened? Text fields Time for action – adding text fields using the text module What just happened? Pop quiz – adding text fields using the text module Rearranging the order of fields Rearranging the order of the Notes field Time for action – rearranging the order of the Notes field What just happened? Pop quiz – rearranging the order of fields Adding fields to comments Adding text fields to comments Time for action – adding a text field to comments What just happened? Pop quiz – adding text fields to comments Time for action – rearranging the order of the Email field What just happened? Pop quiz – rearranging the order of fields in comments Reusing existing fields Time for action – reusing the Notes field for the Recipe content type What just happened? Pop quiz – reusing fields in content types Time for action – reusing the Source field for the Recipe content type What just happened? Time for action – rearranging the order of the Notes field What just happened? Time for action – reusing the Email text field in the Recipe content type What just happened? Time for action – rearranging the order of the Email field What just happened? Pop quiz – reusing fields in content types Have a go hero – creating fields for content types and comments Summary 3. Multiple Value Fields Enabling multiple values Time for action – enabling multiple values What just happened? Pop quiz – multiple values in fields Adding Boolean fields Time for action – adding a Boolean field What just happened? Pop quiz – understanding the Boolean field Setting default values Time for action – setting default values What just happened? Pop quiz – setting default values Adding list fields Time for action – adding list fields What just happened? Pop quiz – adding list fields Multiple value widgets What just happened? Time for action – changing the number of the values What just happened? Time for action – checkboxes/radio buttons widget with multiple values What just happened? Pop quiz – understanding multiple value widgets Have a go hero – creating multiple value fields Summary 4. Taxonomy What is taxonomy? Creating vocabularies Time for action – creating the Cooking Tip Category vocabulary What just happened? Time for action – creating the Recipe Category vocabulary What just happened? Pop quiz – creating vocabularies Adding terms to vocabularies Time for action – adding terms to Cooking Tip Category What just happened? Pop quiz – adding terms to vocabularies Have a go hero – adding terms to Recipe Category Adding term references to content types Time for action – adding a term reference field to the Cooking Tip content type What just happened? Pop quiz – adding term references to content types Have a go hero – adding a term reference to the Recipe content type Categorizing content using taxonomy Time for action – categorizing Cooking Tip Content using taxonomy What just happened? Pop quiz – categorizing content using taxonomy Have a go hero – categorizing content using the Recipe Category vocabulary Adding fields to vocabularies Time for action – adding a field to the Cooking Tip Category vocabulary What just happened? Pop quiz – adding fields to vocabularies Have a go hero – creating fields for content types and comments Summary 5. 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 What just happened? Pop quiz – adding and configuring file field settings Have a go hero – adding and configuring a file field to the Cooking Tip content type Using file fields Time for action – using the file field What just happened? Pop quiz – using the file field Have a go hero – adding a file field to the Cooking Tip content type Adding image fields to content types Time for action – adding an image field to the Recipe content type What just happened? Configuring image field settings Time for action – configuring an image field for the Recipe content type What just happened? Pop quiz – configuring image field settings Have a go hero – adding an image field to the Cooking Tip content type Creating custom image styles Time for action – creating a custom image style What just happened? Pop quiz – creating custom image styles Have a go hero – adding an image field to the Cooking Tip content type Summary 6. Managing Field Display Field display Time for action – a first look at the field display settings What just happened? Pop quiz – 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 What just happened? Pop quiz – formatting field display in the Teaser Custom display settings Time for action – enabling the Full content view mode in custom display settings What just happened? Pop quiz – custom display settings Formatting the image field display on Full content Time for action – formatting the image field display on Full content What just happened? Pop quiz – formatting the image field display on Full content Formatting the comment field display Time for action – formatting the comment field display What just happened? Pop quiz – formatting comment field display Formatting the vocabulary field display Time for action – formatting the vocabulary field display What just happened? Pop quiz – formatting the vocabulary field display Have a go hero – adding an image field to the Cooking Tip content type Summary 7. Contributed Field Modules Drupal modules Contributed modules Finding modules Time for action – finding contributed field modules through the Drupal website What just happened? Time for action – finding contributed field modules through the drupalmodules.com website What just happened? Pop quiz – finding a contributed field module Installing and enabling contributed modules Time for action – installing a module What just happened? Time for action – installing a module using Update manager What just happened? Pop quiz – installing and enabling contributed modules Have a go hero – installing and enabling contributed modules Contributed field modules Email field module Link module Table field module Computed field module Content Templates (Contemplate) module Summary 8. Field Level Permissions Downloading the Field Permission module Time for action – downloading the Field Permission module What just happened? Installing and enabling the Field Permission module Time for action – installing and enabling the Field Permission module What just happened? Pop quiz – installing and enabling the Field Permission module Enabling field-level permissions Time for action – enabling field-level permissions What just happened? Pop quiz – 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 What just happened? Pop quiz – configuring field-level permissions on the PERMISSIONS administration page Field-level permission reports Time for action – the Field permissions report page What just happened? Pop quiz – the Field permissions report page Have a go hero – setting up field permission Summary 9. 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 What just happened? Pop quiz – creating a Drupal theme by cloning the existing theme Overriding template files Time for action – creating a template file for the Recipe content type What just happened? Pop quiz – creating a template file for the Recipe content type Editing template files Time for action – editing a template file What just happened? Pop quiz – editing a template file Styling the page using CSS Time for action – styling the page using CSS What just happened? Pop quiz – styling the page using CSS Have a go hero – theming fields Summary 10. A Database Perspective of Fields Key elements in Fields Entities Bundles Field storages Field types Fields Field instances Field widgets Field formatters Fieldable entities Taxonomy Pop quiz – key elements in Fields New concepts in Drupal 7 Understanding nodes in Drupal Turning everything into a node Is everything an entity? Entities are the new nodes? Are they entities or objects? Pop quiz – new concepts in Drupal 7 A database perspective of fields Content types Time for action – creating a new content type What just happened? Pop quiz – creating a new content type Fields Field-related database tables Pop quiz – a database perspective of fields Have a go hero – monitoring value changes between fields and field database tables Summary A. Pop Quiz Answers Chapter 1, Nodes and Content types in Drupal 7 Pop quiz – understanding the default content types Pop quiz – creating content types Pop quiz – adding content using custom content types Chapter 2, Fields Pop quiz – enabling the Field module Pop quiz – finding the Field UI Pop quiz – finding the field types and input widgets in Field UI Pop quiz – adding text fields using the text module Pop quiz – rearranging the order of fields Pop quiz – adding text fields to comments Pop quiz – rearranging the order of fields in comments Pop quiz – reusing fields in content types Pop quiz – reusing fields in content types Chapter 3, Multiple Value Fields Pop quiz – multiple values in fields Pop quiz – understanding the Boolean field Pop quiz – setting default values Pop quiz – adding list fields Pop quiz – understanding multiple value widgets Chapter 4, Taxonomy Pop quiz – creating vocabularies Pop quiz – adding terms to vocabularies Pop quiz – adding term references to content types Pop quiz – categorizing content using taxonomy Pop quiz – adding fields to vocabularies Chapter 5, File and Image Fields Pop quiz – adding and configuring file field settings Pop quiz – using the file field Pop quiz – configuring image field settings Pop quiz – creating custom image styles Chapter 6, Managing Field Display Pop quiz – a first look at the field display settings Pop quiz – formatting field display in the teaser Pop quiz – custom display settings Pop quiz – formatting image field display on Full content Pop quiz – formatting comment field display Pop quiz – formatting vocabulary field display Chapter 7, Contributed Field Modules Pop quiz – finding a contributed field module Pop quiz – installing and enabling contributed modules Chapter 8, Field Level Permissions Pop quiz – installing and enabling the Field Permission module Pop quiz – enabling field-level permissions Pop quiz – configuring field-level permissions on the PERMISSIONS administration page Pop quiz – the Field permissions report page Chapter 9, Theming Fields Pop quiz – creating a Drupal theme by cloning the existing theme Pop quiz – creating a template file for the Recipe content type Pop quiz – editing a template file Pop quiz – styling the page using CSS Chapter 10, A Database Perspective of Fields Pop quiz – key elements in Fields Pop quiz – new concepts in Drupal 7 Pop quiz – creating a new content type Pop quiz – a database perspective of fields Index

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint