function blog_help in Drupal 4
Same name and namespace in other branches
- 5 modules/blog/blog.module \blog_help()
- 6 modules/blog/blog.module \blog_help()
- 7 modules/blog/blog.module \blog_help()
Implementation of hook_help().
File
- modules/
blog.module, line 55 - Enables keeping an easily and regularly updated web page or a blog.
Code
function blog_help($section) {
switch ($section) {
case 'admin/help#blog':
$output = '<p>' . t('The blog module allows registered users to maintain an online weblog (commonly known as a blog), often referred to as an online journal or diary. Blogs are made up of individual posts that are time stamped and are typically viewed by date as you would a diary. Blogs often contain links to webpages users have read and/or agree/disagree with.') . '</p>';
$output .= '<p>' . t('The blog module adds a <em>user blogs</em> navigation link to the site, which takes any visitor to a page that displays the most recent blog entries from all the users on the site. The navigation menu has a <em>create a blog entry</em> link (which takes you to a submission form) and a <em>view personal blog</em> link (which displays your blog entries as other people will see them). The blog module also creates a <em>recent blog posts</em> block that can be enabled.') . '</p>';
$output .= '<p>' . t('If a user has the ability to post blogs, then the import module (news aggregator) will display a blog-it link next to each news item in its lists. Clicking on this takes the user to the blog submission form, with the title, a link to the item, and a link to the source into the body text already in the text box, ready for the user to add a comment or explanation. This actively encourages people to add blog entries about things they see and hear elsewhere in the website and from your syndicated partner sites.') . '</p>';
$output .= t('<p>You can</p>
<ul>
<li>read your blog via your user profile at <a href="%user">my account</a>.</li>
<li>post a blog at <a href="%node-add-blog">create content >> personal blog entry</a>.</li>
<li>administer blog at <a href="%admin-node-configure-types-blog">administer >> settings >> content types >> configure blog entry</a>.</li>
<li>administer blog api at <a href="%admin-settings-blogapi">administer >> settings >> blogapi</a>.</li>
<li>enable the "recent blog posts" block at <a href="%admin-block">administer >> blocks</a> to show the 10 most recent blog posts.</li>
</ul>
', array(
'%user' => url('user'),
'%node-add-blog' => url('node/add/blog'),
'%admin-node-configure-types-blog' => url('admin/settings/content-types/blog'),
'%admin-settings-blogapi' => url('admin/settings/blogapi'),
'%admin-block' => url('admin/block'),
));
$output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="%blog">Blog page</a>.', array(
'%blog' => 'http://drupal.org/handbook/modules/blog/',
)) . '</p>';
return $output;
case 'admin/modules#description':
return t('Enables keeping an easily and regularly updated web page or a blog.');
case 'node/add#blog':
return t("A blog is a regularly updated journal or diary made up of individual posts shown in reversed chronological order. A blog is tightly coupled to the author so each user will have his 'own' blog.");
}
}