Book Image

Drupal 7 First Look

Book Image

Drupal 7 First Look

Overview of this book

Drupal 7 contains features for which site administrators have been clamoring for years, including support for fields, an improved administration interface, better database support, improved theming, and more. You could of course make a laborious search on sites, blogs, and many online tutorials that would promise to update you about every new feature, but there's an even better way to know all about Drupal 7's new features: Drupal 7 First Look is the first and only book that covers all of the fantastic new features in Drupal 7 in depth and covers the process of upgrading your Drupal 6 site to Drupal 7. If you've used Drupal 6 and want to use Drupal 7, you need this book.Drupal 7 First Look takes an in-depth look into all of the major new features in Drupal 7 so you can quickly take full advantage of Drupal 7. It also assists you in upgrading your site to Drupal 7. Some of the new features in Drupal 7 include: Fields API, based on Drupal 6 CCK, which allows you to easily build your own content types Improved user interface for administering your website Built-in support for working with images and files Improved security for the site and users of the site Completely rewritten database layer DBTNG to make working with the database easier and more secure. Improved API for custom module development and user interface theming
Table of Contents (13 chapters)
Drupal 7 First Look
Credits
About the Author
About the Reviewer
Preface
Index

CSS changes


Several changes have been made to the classes and IDs, which are available for styling your pages. These changes allow more granular control when styling your pages. Let's look into each change in detail.

System classes

Drupal 7 has modified the classes that are generated when the core blocks are used in your site. The new names are designed to make your CSS files easier to understand and make it easier for new themers to quickly style the built in blocks.

The following list contains the old and new IDs for each block:

Block Name

Drupal 6 ID

Drupal 7 ID

Recent blog posts

block-blog-0

block-blog-recent

Book navigation

block-book-0

block-book-navigation

Recent comments

block-comment-0

block-comment-recent

Active forum topics

block-forum-0

block-forum-active

New forum topics

block-forum-0

block-forum-new

Language Switcher

block-locale-0

block-locale-language-switcher

Syndicate

block-node-0

block-node-syndicate

Most recent poll

block-poll-0

block-poll-recent...