In this recipe, we will look at the ease with which we can create a simple unformatted node listing using the Views module. This View, which will represent a list of products as a rudimentary gallery, will be used as an example later in this chapter.
The View we will be creating will display a list of nodes of a custom node type named product
. Besides the standard fields of Title and Body, this node type also contains two additional fields named Image and Price which are of type Image and Number (Decimal) respectively, as the following screenshot will attest. It is assumed that these field modules have been enabled along with any dependencies.
Once the product node type has been created, sample products and product images will also need to be added for the purpose of this recipe.