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
Content in Drupal
• Drupal is a Content Management System
• Drupal has Content Types
• Drupal has Node
Saturday, October 17, 2009
RSS Gallery Item: A Content Type
Text
A node is an instance of a content type
Saturday, October 17, 2009
What’s In a Node?
• Creation Date
• Last Updated Date
• Author
• Published / Unpublished
status
• Title & Body
Saturday, October 17, 2009
Nodes and Content
Types Provide:
• Consistent and Valid
Data
• Themable & Styled Data
• Usable Data
Saturday, October 17, 2009
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
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
Content Type Example
• Creating a “Place” type
• Place Title / Description
• Image
• Type of Place (taxonomy)
Saturday, October 17, 2009
Demo
Saturday, October 17, 2009
Categorization of Nodes
• Taxonomy is a way of saying Categories
• Vocabularies consist of terms
Saturday, October 17, 2009
Saturday, October 17, 2009
Node Theming
In my day we had to preprocess our variables ourselves
Saturday, October 17, 2009
Saturday, October 17, 2009
Node Override
The Future of Node Theming
Saturday, October 17, 2009
Panels & CCK
Love at 2.5
Saturday, October 17, 2009
Panels Administrative Interface
Saturday, October 17, 2009
Panels Administrative Interface
Saturday, October 17, 2009
Panel Layouts
Saturday, October 17, 2009
Demo
Saturday, October 17, 2009
Thank You
http://www.chapterthree.com/blog/jon_skulski
Saturday, October 17, 2009
0 comments
Post a comment