-
Book Overview & Buying
-
Table Of Contents
Drupal 6 Theming Cookbook
In this recipe, we will be adding a custom node type using the CCK package. As an example, we will be creating a type named company to hold information about a company along with details, such as its address, telephone number, e-mail address, and so on.
It is assumed that the CCK package has been downloaded and installed. Besides the Content module, only the Text module is a prerequisite for this recipe.
The CCK package integrates into Drupal's content management pages and can be accessed by navigating to admin/content/types (Home | Administer | Content management | Content types). Perform the following steps to add the new type:
Click on the Add content type tab at the top.
Since we are creating a type specifically to hold details about a company, set the Name and Type fields in the ensuing form to Company and company respectively.
Add some pertinent information in the Description field.

Open the Submission form settings fieldset and amend...
Change the font size
Change margin width
Change background colour