1. Nodes, CCK & Panels
An Introduction to Content in Drupal
Jon Skulski
jon@chapterthree.com
http://www.chapterthree.com/blog/jon_skulski
BADCamp 2009
Saturday, October 17, 2009
2. Content in Drupal
• Drupal is a Content Management System
• Drupal has Content Types
• Drupal has Node
Saturday, October 17, 2009
3. RSS Gallery Item: A Content Type
Text
A node is an instance of a content type
Saturday, October 17, 2009
4. What’s In a Node?
• Creation Date
• Last Updated Date
• Author
• Published / Unpublished
status
• Title & Body
Saturday, October 17, 2009
5. Nodes and Content
Types Provide:
• Consistent and Valid
Data
• Themable & Styled Data
• Usable Data
Saturday, October 17, 2009
6. Extending the Node
• The Node data is necessary but not sufficient.
• For sufficiently advanced Content technology, we
will need new magic.
• Enter: The Content Construction Kit
Saturday, October 17, 2009
7. Content Construction Kit
• Allows us to specify specific kinds of data,
called Fields
• Pluggable by submodules that really get the
party going:
• Filefield / Imagefield - attach files and
images
• Link - store URLs and Links
• Date - store date and time information
Saturday, October 17, 2009
8. Content Type Example
• Creating a “Place” type
• Place Title / Description
• Image
• Type of Place (taxonomy)
Saturday, October 17, 2009