Book Image

Drupal 5 Themes

Book Image

Drupal 5 Themes

Overview of this book

Drupal is an award winning open source Content Management System. Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is already on the way to becoming the de facto standard for CMS Websites. Drupal?¢‚Ǩ‚Ñ¢s modular design and structured source code make it both highly flexible and easily extended and modified. Drupal is extremely scalable, making it ideal for both a simple personal website as well as an industrial strength commercial or institutional web presence.Drupal is a model open source project in that it has a large, friendly community of people who contribute to the project in various ways. Drupal is not only free and easy to use, but this community provides on going mutual support.
Table of Contents (14 chapters)
Drupal 5 Themes
Credits
About the Author
About the Reviewer
Preface
Appendix A

Chapter 8. Dealing with Forms

In this chapter, we look at the forms generated by the Drupal core and how they can be themed. This chapter covers all the default forms available on the front end of the website, including the various search, login, and contact forms, as well as the output of the Polls module. It's worth noting at the outset that this chapter is about theming forms, not creating custom forms; accordingly, the contents of this chapter are concerned with presentation not with adding or deleting form elements or creating new forms.

There are no additional files to download or install for this chapter; all examples are based on the default Garland theme. You will, however, need, access to your favorite editor to make the modifications discussed here, as well as a Drupal installation on which to preview your work.

How Forms Work in Drupal

With Drupal 5, the approach to form handling continues to evolve. Drupal forms are tightly integrated into the core, and as a result, theming them...