Learning Mambo: A Step/by/Step Tutorial to Building Your Website
上QQ阅读APP看书,第一时间看更新

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.

There are three styles for code. Code words in text are shown as follows: "Once you've copied that folder, rename it to mambo, and we're ready to go."

A block of code will be set as follows:

[default]
$mosConfig_host = 'localhost';
$mosConfig_user = 'mamboer';
$mosConfig_password = 'mamb071Passv0rd';
$mosConfig_db = 'mambo';
$mosConfig_dbprefix = 'mos_';

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

[default]
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/.htpasswds
Require valid-user

Any command-line input and output is written as follows:

htpasswd -c "c:\passwords\mypasswords" secretuser

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "Once you've entered your database details here, click the Next button to continue."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.