Same name and namespace in other branches
  1. 4.x quicktabs.module \quicktabs_help() 1 comment
  2. 7.x-3.x quicktabs.module \quicktabs_help() 1 comment
  3. 8.x-1.x quicktabs.module \quicktabs_help() 1 comment
  4. 8.x-3.x quicktabs.module \quicktabs_help() 1 comment

Implements hook_help().

File

./quicktabs.module, line 7

Code

function quicktabs_help($path, $arg) {
    switch ($path) {
        case 'admin/help#quicktabs':
            $output = '<p>' . t('The Quick Tabs module allows you to create blocks of tabbed content. Clicking on the tabs makes the corresponding content display instantly (it uses jQuery). The content for each tabbed section can be either a node, view, block or another quicktab. It is an ideal way to do something like the Most Popular / Most Emailed stories tabs you see on many news websites. You may create an unlimited number of additional quicktabs, each of which will automatically have an associated block.') . '</p>';
            $output .= '<p>' . t('The <a href="@quicktabs">quicktabs page</a> displays all quicktabs currently available on your site. Create new quicktabs using the <a href="@add-quicktab">add quicktab page</a> (the block containing a new quicktab must also be enabled on the <a href="@blocks">blocks administration page</a>).', array(
                '@quicktabs' => url('admin/structure/quicktabs'),
                '@add-quicktab' => url('admin/structure/quicktab/add'),
                '@blocks' => url('admin/structure/block'),
            )) . '</p>';
            return $output;
    }
    if ($path == 'admin/structure/quicktabs' && module_exists('block')) {
        return '<p>' . t('Each quicktab has a corresponding block that is managed on the <a href="@blocks">blocks administration page</a>.', array(
            '@blocks' => url('admin/structure/block'),
        )) . '</p>';
    }
}