function disqus_help in Disqus 6
Same name and namespace in other branches
- 8 disqus.module \disqus_help()
- 5 disqus.module \disqus_help()
- 7 disqus.module \disqus_help()
Implementation of hook_help().
File
- ./
disqus.module, line 6
Code
function disqus_help($path, $arg) {
switch ($path) {
case 'admin/help#disqus':
$output = '<p>' . t('Uses the <a href="@disqus">Disqus</a> comment system to enhance comments.', array(
'@disqus' => 'http://disqus.com',
)) . '</p>';
$output .= '<h3>' . t('Installation') . '</h3>';
$output .= '<ol><li>' . t('Register your site information at <a href="http://disqus.com">Disqus</a>') . '</li>';
$output .= '<li>' . t('In the <a href="@configuration">Disqus configuration</a>, set the domain to what you registered with Disqus, and what node types you would like to have comments', array(
'@configuration' => url('admin/settings/disqus'),
)) . '</li>';
$output .= '<li>' . t('Visit the <a href="@permissions">permissions</a>, and set which users you would like to have the ability to view Disqus threads (recommended for role)', array(
'@permissions' => url('admin/user/permissions', array(
'fragment' => 'module-disqus',
)),
)) . '</li></ol>';
return $output;
case 'admin/settings/disqus':
return '<p>' . t('The following provides the general configuration options for the <a href="@disqus">Disqus</a> comment web service.', array(
'@disqus' => 'http://disqus.com',
)) . '</p>';
}
}