O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required