You are here

function context_menu_block_help in Context: Menu Block 6.3

Same name and namespace in other branches
  1. 6.2 context_menu_block.module \context_menu_block_help()
  2. 7.3 context_menu_block.module \context_menu_block_help()

Implementation of hook_help().

File

./context_menu_block.module, line 11
Provides support for Context within the Menu Block module.

Code

function context_menu_block_help($section) {
  switch ($section) {
    case 'admin/help#context_menu_block':
      $readme = '<p>' . t('Context: Menu Block allows the Menu Block module to be aware of contexts provided by the Context module by informing menu blocks of active menu context reactions.') . '</p>';
      $readme .= '<p>' . t('For a full description of the module, visit <a href="@url">the project page</a>.', array(
        '@url' => url('http://drupal.org/project/context_menu_block'),
      )) . '</p>';
      $readme .= '<p>' . t('To submit bug reports and feature suggestions, or to track changes, visit <a href="@url">the issue queue</a>.', array(
        '@url' => url('http://drupal.org/project/issues/context_menu_block'),
      )) . '</p>';
      $readme .= '<h2>' . t('Requirements') . '</h2>';
      $readme .= '<ul>';
      $readme .= '<li>' . t('Drupal 6') . '</li>';
      $readme .= '<li>' . t('<a href="@url">Menu Block</a> 2', array(
        '@url' => url('http://http://drupal.org/project/menu_block'),
      )) . '</li>';
      $readme .= '<li>' . t('<a href="@url">Context</a> 3', array(
        '@url' => url('http://http://drupal.org/project/context'),
      )) . '</li>';
      $readme .= '</ul>';
      $readme .= '<h2>' . t('Installation and Configuration') . '</h2>';
      $readme .= '<p>' . t('Install as usual. See the <a href="@url">handbook page on installing contributed modules</a> for further information.', array(
        '@url' => url('http://drupal.org/getting-started/install-contrib/modules'),
      )) . '</p>';
      $readme .= '<p>' . t('If your context reaction uses a second or higher level menu item, the menu block for the menu must have <em>Expand all children of this tree</em> selected in its block configuration.') . '</p>';
      $readme .= '<h2>' . t('Acknowledgements') . '</h2>';
      $readme .= '<p>' . t('Context Menu Block is borne from the module created by <a href="@url-nauthiz693">Luke Berg</a> and <a href="@url-niklp">Nik LePage</a> in <a href="@url-issue">issue #751700</a>. It contains additonal bug fixes and provides Context 3 support.', array(
        '@url-nauthiz693' => url('http://drupal.org/user/728256'),
        '@url-niklp' => url('http://drupal.org/user/71221'),
        '@url-issue' => url('http://drupal.org/node/751700'),
      )) . '</p>';
      return $readme;
  }
}