Same name and namespace in other branches
  1. 4.6.x modules/blog.module \blog_help()
  2. 4.7.x modules/blog.module \blog_help()
  3. 6.x modules/blog/blog.module \blog_help()
  4. 7.x modules/blog/blog.module \blog_help()

Implementation of hook_help().

File

modules/blog/blog.module, line 61
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 web pages 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 .= '<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;
  }
}