theming

sivaji's picture

Theming a CCK node

In this blog post i would like to cover a bit about Theming a CCK node. CCK the Content Construction Kit is a drupal contrib module, provides features to extend the fields of drupal nodes.

My goal is to create a product listing directory using CCK / Views and to theme the node similar to the wireframe shown below. I assume the readers are familiar with creating CCK node and page views to list it.

listing-wireframe.png

To proceed with this i am going to use a node type called listing and turquoise theme created by us.

The fields of the listing nodes are as below

  • Product Name - Node Title
  • Description - Node body
  • Product image - CCK Image field
  • Company Name - CCK Text Field
Syndicate content