Book Image

Drupal 6 Themes

By : Ric Shreves
Book Image

Drupal 6 Themes

By: Ric Shreves

Overview of this book

<p>Drupal is an award winning open source Content Management System (CMS). Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is one of the most popular choices for creating a CMS website.<br /><br />Drupal employs a specialized templating system and supports themes, which allow you to change the look and feel of the system's front and back-end interfaces. <br /><br />Drupal 6 Themes is an ideal introduction to theming with Drupal 6. If you want to create a striking new look for your Drupal 6 website, this book is for you. This book is a revised, updated and expanded edition of Drupal 5 Themes, written specifically for Drupal 6. The book will show you techniques and tools to help you improve the look and feel of any Drupal 6-powered website<br /><br />Starting from the basics of theme setup and configuration, you will learn about the Drupal theming architecture and the PHPTemplate engine, and then move on to modifying existing themes and building new themes from scratch. You will find out about tools to make your theme development easier, and also find invaluable information about under-documented elements of the theming system.</p>
Table of Contents (16 chapters)
Drupal 6 Themes
Credits
About the Author
About the Reviewers
Preface

The Default Forms


The default Drupal distribution includes a number of forms for the front-end user. Some are active at installation, others need to be enabled and configured by the administrator. On the following pages, we go through the default forms and provide a quick look at each, highlighting any special concerns unique to each particular form.

The User Forms

The user forms consist of the Login Forms, the User Registration Form, the Request Password Form, and the User Profile Form.

The Login Forms

The Login Form exists in two varieties: The Login Block Form and the Login Page Form.

The Login Form appears both as a block (aka, the Login Block Form) and in the content region (aka, the Login Page Form). Note that the Login Page also includes links to new account registration (aka, the User Registration Form) and the Request Password Form.

The Login Block Form

The function that builds this form is user_login_block, which is located at modules/user/user.module.

The styling of the Login Block...