In this chapter we introduce nodes and node types. We’ll show you how to create a node type in two different ways. We’ll first show you the programmatic solution by writing a module that uses Drupal hooks. This approach allows for a greater degree of control and flexibility when defining what the node can and can’t do. Then we’ll show you how to build a node type from within the Drupal administrative interface and briefly discuss the Content Construction Kit (CCK), which is slowly making its way into the Drupal core distribution. Finally, we’ll investigate Drupal’s node access control mechanism.
KeywordsEter Prefix Editing
Unable to display preview. Download preview PDF.