Nodes Cck And Panels
-
Upload
jskulski -
Category
Technology
-
view
3.844 -
download
1
description
Transcript of Nodes Cck And Panels
Nodes, CCK & PanelsAn Introduction to Content in Drupal
Jon [email protected]://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
DemoSaturday, 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 OverrideThe Future of Node Theming
Saturday, October 17, 2009
Panels & CCKLove at 2.5
Saturday, October 17, 2009
Panels Administrative Interface
Saturday, October 17, 2009
Panels Administrative Interface
Saturday, October 17, 2009
Panel LayoutsSaturday, October 17, 2009
DemoSaturday, October 17, 2009
Thank You
http://www.chapterthree.com/blog/jon_skulski
Saturday, October 17, 2009