Drupal 7 Social Networking
上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: "To make use of friendly or clean URLs, the mod_rewrite module for Apache, and the ability to use .htaccess files is required."

A block of code is set as follows:

<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="dino_space">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

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

<iframe src="http://www.facebook.com/plugins/like.php?href=
 <?php 
 
 $path = isset($_GET['q']) ? $_GET['q'] : '<front>';
 $link = url($path, array('absolute' => TRUE));
 
 echo urlencode( $link );
 ?>
  &amp;layout=standard&amp;show_faces=true&amp;width=450&amp;
    action=like&amp;font&amp;colorscheme=light&amp;height=80"

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

sudo apt-get install apache2

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: "This page contains download links for Drupal Core, Installation Profiles, Themes, Translations, and Modules ".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.