Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "$path denotes the path to the CSS file relative to the base_path()".

A block of code is set as follows:

<?php
/**
* Implementation of hook_init().
*/
function mysite_init()mysite_init() {
// Display a message on every page load.
drupal_set_message("Welcome to MySite!");
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

stylesheets[all][] = css/html-reset.css
stylesheets[all][] = css/wireframes.css
stylesheets[all][] = css/layout-fixed.css
stylesheets[all][] = css/page-backgrounds.css
stylesheets[all][] = css/tabs.css
stylesheets[all][] = css/messages.css

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Save configuration button at the bottom of the page to ensure that any vestiges of the setting are also cleared from the database".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.