CMS Made Simple Development Cookbook
上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.

Code words in text are shown as follows: "Custom URLs are accomplished entirely in your module's SetParameters() method, by creating new CmsRoute objects, and registering them with the CMS."

A block of code is set as follows:

<?php
class Monsters extends CMSModule
{
function GetName()
{
return 'Monsters';
}
function GetVersion()
{
return '0.1';
}
}
?>

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

mkdir MyModule/lang/ext

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 XML button next to your module, and save the exported file in some easily accessible directory".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.