From a8b218827a400cf5ced7db133be0a0f9e2180875 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 1 Nov 2005 10:17:34 +0000 Subject: - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / --- modules/statistics/statistics.module | 57 +++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 27 deletions(-) (limited to 'modules/statistics/statistics.module') diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index fe9a12b3e..7a6990ffe 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -12,33 +12,36 @@ function statistics_help($section) { switch ($section) { case 'admin/help#statistics': - return t(" -

Introduction

-

The statistics module keeps track of numerous statistics for your site but be warned, statistical collection does cause a little overhead, thus everything comes disabled by default.

-

The module counts how many times, and from where -- using HTTP referrer -- each of your posts is viewed. Once we have that count the module can do the following with it: -

-

Notes on using the statistics:

- -

As with any new module, the statistics module needs to be enabled before you can use it. Also refer to the permissions section, as this module supports four separate permissions.

-

Configuring the statistics module

-

There are some configuration options added to the main administer » settings » statistics section:

- -

Popular content block

-

This module creates a block that can display the day's top viewed content, the all time top viewed content, and the last content viewed. Each of these links can be enabled or disabled individually, and the number of posts displayed for each can be configured with a drop down menu. If you disable all sections of this block, it will not appear.

-

Don't forget to enable the block.

", - array('%modules' => url('admin/modules'), '%permissions' => url('admin/access/permissions'), '%referer' => url('admin/logs/referrers'), '%configuration' => url('admin/settings/statistics'), '%block' => url('admin/block'))); + $output = '

'. t('The statistics module keeps track of numerous statistics of site usage. It counts how many times, and from where each of your posts is viewed. The statistics module can be used to learn many useful things about how users are interacting with each other and with your site.') .'

'; + $output .= t('

Statistics module features

+ +'); + $output .= t('

Configuring the statistics module

+ +'); + $output .= t('

You can

+ +', array('%admin-settings-statistics' => url('admin/settings/statistics'), '%admin-logs' => url('admin/logs'), '%admin-logs-hits' => url('admin/logs/hits'), '%admin-block' => url('admin/block'))); + $output .= '

'. t('For more information please read the configuration and customization handbook Statistics page.', array('%statistics' => 'http://www.drupal.org/handbook/modules/statistics/')) .'

'; + return $output; case 'admin/modules#description': return t('Logs access statistics for your site.'); case 'admin/settings/statistics': -- cgit v1.2.3