You are here

function wp_blog_help in WP Blog - a WordPress-style blogging module. 7

Implements hook_help().

File

./wp_blog.module, line 16
WP Blog provides a content-type, taxonomy vocabulary, views and various features to mimic a WordPress-style blog.

Code

function wp_blog_help($path, $arg) {
  switch ($path) {
    case 'admin/help#wp_blog':
      $output = '';
      $output .= t('The WP blog module provides some of the basic features similar to those found on WordPress:');
      $output .= '<ul>';
      $output .= '<li>' . t('A content type.') . '</li>';
      $output .= '<li>' . t('The ability to tag posts with keywords.') . '</li>';
      $output .= '<li>' . t('A set of pages to browse the blog archive, or browse by year, month or day &ndash; for example: !example_urls.', array(
        '!example_urls' => "/blog<br />\n/blog/2010<br />\n/blog/2010/02<br />\n/blog/2010/02/20",
      )) . '</li>';
      $output .= '<li>' . t('A navigation menu which gives links to the years/months where content is published, and a count of the number of blog posts for each year/month.') . '</li>';
      $output .= '</ul>';
      $output .= t('New blog posts can be added at <a href="@url">@url</a>.', array(
        '@url' => url('node/add/wp-blog'),
      ));
      $output .= '<h2>' . t('Recommended modules') . '</h2>';
      $output .= '<ul>';

      // The linkback module is in development, to add support for pingbacks and trackbacks.
      // $output .= '<li>' . t('The <a href="@linkback_module_url">linkback module</a> can enable <strong>pingbacks</strong> and <strong>trackbacks</strong> to be sent and received by your blog posts.', array('@linkback_module_url' => 'http://drupal.org/project/linkback')) . '</li>';
      $output .= '<li>' . t('The <a href="@mollom_module_url">mollom module</a> provides a spam moderation tool, to prevent spam comments from being added to your site.', array(
        '@mollom_module_url' => 'http://drupal.org/project/mollom',
      )) . '</li>';
      $output .= '</ul>';
      return $output;
  }
}