Nodes Cck And Panels

20
Nodes, CCK & Panels An Introduction to Content in Drupal Jon Skulski [email protected] http://www.chapterthree.com/blog/jon_skulski BADCamp 2009 Saturday, October 17, 2009

description

An Introduction to Nodes & Content in Drupal with a special emphasis on using Panels to override node layout.

Transcript of Nodes Cck And Panels

Page 1: 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

Page 2: Nodes Cck And Panels

Content in Drupal

• Drupal is a Content Management System

• Drupal has Content Types

• Drupal has Node

Saturday, October 17, 2009

Page 3: Nodes Cck And Panels

RSS Gallery Item: A Content Type

Text

A node is an instance of a content type

Saturday, October 17, 2009

Page 4: Nodes Cck And Panels

What’s In a Node?

• Creation Date

• Last Updated Date

• Author

• Published / Unpublished status

• Title & Body

Saturday, October 17, 2009

Page 5: Nodes Cck And Panels

Nodes and Content Types Provide:

• Consistent and Valid Data

• Themable & Styled Data

• Usable Data

Saturday, October 17, 2009

Page 6: Nodes Cck And Panels

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

Page 7: Nodes Cck And Panels

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

Page 8: Nodes Cck And Panels

Content Type Example• Creating a “Place” type

• Place Title / Description

• Image

• Type of Place (taxonomy)

Saturday, October 17, 2009

Page 9: Nodes Cck And Panels

DemoSaturday, October 17, 2009

Page 10: Nodes Cck And Panels

Categorization of Nodes

• Taxonomy is a way of saying Categories

• Vocabularies consist of terms

Saturday, October 17, 2009

Page 11: Nodes Cck And Panels

Saturday, October 17, 2009

Page 12: Nodes Cck And Panels

Node Theming

In my day we had to preprocess our variables ourselves

Saturday, October 17, 2009

Page 13: Nodes Cck And Panels

Saturday, October 17, 2009

Page 14: Nodes Cck And Panels

Node OverrideThe Future of Node Theming

Saturday, October 17, 2009

Page 15: Nodes Cck And Panels

Panels & CCKLove at 2.5

Saturday, October 17, 2009

Page 16: Nodes Cck And Panels

Panels Administrative Interface

Saturday, October 17, 2009

Page 17: Nodes Cck And Panels

Panels Administrative Interface

Saturday, October 17, 2009

Page 18: Nodes Cck And Panels

Panel LayoutsSaturday, October 17, 2009

Page 19: Nodes Cck And Panels

DemoSaturday, October 17, 2009

Page 20: Nodes Cck And Panels

Thank You

http://www.chapterthree.com/blog/jon_skulski

Saturday, October 17, 2009