function facebook_comments_block_help in Facebook Comments Block 7.2
Same name and namespace in other branches
- 8.2 facebook_comments_block.module \facebook_comments_block_help()
- 8 facebook_comments_block.module \facebook_comments_block_help()
- 7 facebook_comments_block.module \facebook_comments_block_help()
Implements hook_block_info().
File
- ./
facebook_comments_block.module, line 23 - Code for the Facebook Comments Block module.
Code
function facebook_comments_block_help($path, $arg) {
switch ($path) {
case 'admin/help#facebook_comments_block':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module allows users to comment using Facebook\'s commenting box with as little configuration as possible. It adds a new block "Facebook Comments" which acts as a Facebook commenting widget.') . '</p>';
$output .= '<h3>' . t('Configuration') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t("This block can be enabled and configured on the <a href='@admin-block'>Blocks administration page</a>.", array(
'@admin-block' => url('admin/structure/block'),
)) . '</dt>';
$output .= '<dd>' . t("Find 'Facebook Comments' block and click on configure.") . '</a></dd>';
$output .= '<dt>' . t('Under the "FACEBOOK COMMENTS BOX SETTINGS" you can configure the following.') . '</dt>';
$output .= '<dd>' . t('Facebook Application ID: (Optional).') . '</dd>';
$output .= '<dd>' . t('Main domain: (Optional) If you have more than one domain you can set the main domain for facebook comments box to use the same commenting widget across all other domains.') . '</dd>';
$output .= '<dd>' . t('Language: Select the default language of the comments plugin.') . '</dd>';
$output .= '<dd>' . t('Color Scheme: Set the color schema of facebook comments box.') . '</dd>';
$output .= '<dd>' . t('Order of comments: Set the order of comments.') . '</dd>';
$output .= '<dd>' . t('Number of posts: Select how many posts you want to display by default.') . '</dd>';
$output .= '<dd>' . t('Width: Set width of facebook comments box.') . '</dd>';
$output .= '</dl>';
$output .= '<h3>' . t('Troubleshooting') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('If the block did not appear:') . '</dt>';
$output .= '<dd>' . t("check if you have entered a correct FACEBOOK APP ID, leave it blank in case you don't have a Facebook app.") . '</a></dd>';
$output .= '</dl>';
return $output;
}
}