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/node/node.module | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 05257640d..a7665d5c1 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -14,31 +14,24 @@ define('NODE_NEW_LIMIT', time() - 30 * 24 * 60 * 60); function node_help($section) { switch ($section) { case 'admin/help#node': - $output = t(" -

Nodes

-

The core of the Drupal system is the node. All of the contents of the system are placed in nodes, or extensions of nodes. - A base node contains:

-
A Title
Up to 128 characters of text that titles the node.
-
A Teaser
A small block of text that is meant to get you interested in the rest of node. Drupal will automatically pull a small amount of the body of the node to make the teaser (To configure how long the teaser will be click here). The teaser can be changed if you don't like what Drupal grabs.
-
The Body
The main text that comprises your content.
-
A Type
What kind of node is this? Blog, book, forum, comment, unextended, etc.
-
An Author
The author's name. It will either be \"anonymous\" or a valid user. You cannot set it to an arbitrary value.
-
Authored on
The date the node was written.
-
Changed
The last time this node was changed.
-
Sticky at top of lists
In listings such as the frontpage or a taxonomy overview the teasers of a selected amount of nodes is displayed. If you want to force a node to appear on the top of such a listing, you must set it to 'sticky'. This way it will float to the top of a listing, and it will not be pushed down by newer content. -
Allow user comments
A node can have comments. These comments can be written by other users (Read-write), or only by admins (Read-only).
-
Revisions
Drupal has a revision system so that you can \"roll back\" to an older version of a post if the new version is not what you want.
-
Promote to front page
To get people to look at the new stuff on your site you can choose to move it to the front page. The front page is configured to show the teasers from only a few of the total nodes you have on your site (To configure how many teasers click here).
-
Published
When using Drupal's moderation system a node remains unpublished -- unavailable to non-moderators -- until it is marked Published.
-

Now that you know what is in a node, here are some of the types of nodes available.

", array("%teaser" => url("admin/node/configure/settings"))); - - foreach (node_get_types() as $type => $name) { - $output .= '

'. t('Node type: %name', array('%name' => $name)). '

'; - $output .= implode("\n", module_invoke_all('help', 'node/add#'. $type)); - } - + $output = '

'. t('All content in a website is stored and treated as nodes. Therefore nodes are any postings such as blogs, stories, polls and forums. The node module manages these content types and is one of the strengths of Drupal over other content management systems.') .'

'; + $output .= '

'. t('Treating all content as nodes allows the flexibility of creating new types of content. It also allows you to painlessly apply new features or changes to all content. Comments are not stored as nodes but are always associated with a node.') .'

'; + $output .= t('

Node module features

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

You can

+ +', array('%search' => url('search'), '%admin-node-configure-types' => url('admin/node/configure/types'))); + $output .= '

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

'; return $output; - case 'admin/modules#description': return t('Allows content to be submitted to the site and displayed on pages.'); case 'admin/node/configure': -- cgit v1.2.3