You are here

function vkxp_help in VK CrossPoster 6.2

Same name and namespace in other branches
  1. 6.3 vkxp.module \vkxp_help()
  2. 6 vkxp.module \vkxp_help()
  3. 7.2 vkxp.module \vkxp_help()
  4. 7 vkxp.module \vkxp_help()

Implementation of hook_help().

File

./vkxp.module, line 6

Code

function vkxp_help($path, $arg) {
  switch ($path) {
    case 'admin/settings/vkxp':
      return t('Vkontakte CrossPoster module allows users to post nodes automatically to social network vkontakte.ru.');
    case 'admin/help#vkxp':
      $output = '';
      $output .= '<p>' . t('Vkontakte CrossPoster module allows users to post nodes automatically to social network vkontakte.ru.') . '</p>';
      $output .= '<p>' . t('It requires creating standalone application http://vkontakte.ru/apps.php?act=add&site=1') . '</p>';
      $output .= '<p>' . t('After creating application you should go to module settings page and put there secret code and application ID') . '</p>';
      return $output;
  }
}