function tablesorter_help in Tablesorter 7
Same name and namespace in other branches
- 8 tablesorter.module \tablesorter_help()
- 7.2 tablesorter.module \tablesorter_help()
- 3.0.x tablesorter.module \tablesorter_help()
Implements hook_help().
File
- ./
tablesorter.module, line 11 - Tablesorter.
Code
function tablesorter_help($path, $arg) {
switch ($path) {
case 'admin/help#tablesorter':
$help = '<p>' . t('Ensure that you have downloaded tablesorter from <a href="@url">@url</a> and have extracted the css and js files from the dist folder into @path. The path should be @path@library.', array(
'@url' => 'https://github.com/Mottie/tablesorter/archive/master.tar.gz',
'@path' => libraries_get_path('tablesorter'),
'@library' => '/js/jquery.tablesorter.combined.min.js',
)) . '</p>';
$help .= '<p>' . t('In views, tablesorter can be used by selecting the "tablesorter" display style.') . '</p>';
$help .= '<p>' . t('Tablesorter can be added to specific tables by calling tablesorter_attach($TABLE_ARRAY).') . '</p>';
$help .= '<p>' . t('Tablesorter can be added on specific pages through its <a href="@url">configuration page</a>.', array(
'@url' => '/admin/config/user-interface/tablesorter',
)) . '</p>';
return $help;
break;
}
}