O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a simple view

In this recipe, we will look at the ease with which we can create a simple unformatted node listing using the Views module.

Getting ready

The view we will be creating will display a list of nodes of a custom node type named product. Besides the inbuilt fields of Title and Body, this node type also contains two CCK fields, namely Image and Price, which are of type ImageField and Text respectively as the following screenshot will attest. It is assumed that these fields have been installed and enabled along with their dependencies.

Getting ready

Sample products and product images have been added for the purpose of this recipe.

How to do it... ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required