-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Drupal 6 Module Development
In the last chapter, we built a module that read data from a custom content type, and displayed it as block content. This module made use of the Quote content type that we created. In order to provide layout information for our new content type, we created a default theme as part of the module. That theme code generated the necessary HTML and CSS for displaying quotes.
At the end of the last chapter, we overrode the module's default theme by adding a template to the Descartes theme. In this chapter, however, we will work on the default theme again. You will need to disable the philquotes-specific changes in the Descartes theme in order to work with the default theme again.
When our philquotes module is viewed as a block, a single quotation is displayed as the block's contents. The output looked somewhat as follows:

Now we will extend the philquotes module.
We will add features that make it possible to refresh the quotation without reloading the page. To do this...
Change the font size
Change margin width
Change background colour