-
Book Overview & Buying
-
Table Of Contents
Learning Drupal 6 Module Development
Before we begin developing a module, here's a brief overview of what we want to accomplish.
The module we will write in this chapter is the Philosophy Quotes module (philquotes will be our machine-readable name). The goal of this module will be to create a block that displays pithy philosophical quotes.
We will implement the following features:
Quotes should be stored along with other basic content, making it possible to add, modify, and delete this content in exactly the same way that we create other articles.
Since our existing themes aren't aware of this quotes module, it must provide some default styling.
We will progress through the creation of this module by first generating a new "quote" content type, and then building a theme-aware module.
Change the font size
Change margin width
Change background colour