-
Book Overview & Buying
-
Table Of Contents
MODx Web Development - Second Edition
By :
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: "We can set this right by passing the value of the new template variable using the rtcontent parameter."
A block of code is set as follows:
<body> <div id="banner"> <h1>Learning MODx</h1> </div> <div id="wrapper"> <div id="container"> <div id="content"> [*pagetitle*] <br/> [*#content*] </div> </div> <div class="clearing"></div> </div> <!-- end of wrapper div --> <div id="footer">It is fun and exciting to build websites with MODx</div></body>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<div id="wrapper">
<div id="container">
<div id="content">
[*#content*] <!-- This is the only line that is not HTML. It is explained in the sections below. -->
</div>
</div>
<div class="clearing"> </div>
</div> <!-- end of wrapper div -->
Any command-line input or output is written as follows:
scp index.php username@remotemachineaddress:/foldername
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 Go button to import the database."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Change the font size
Change margin width
Change background colour