$calendar = modK2ToolsHelper::calendar($params);
        require JModuleHelper::getLayoutPath('mod_k2_tools', 'calendar');
        break;
    case '3':
        //if (JRequest::getVar('option') == 'com_k2' && (JRequest::getCmd('task') == 'category' || JRequest::getInt('id'))) {
        $breadcrumbs = modK2ToolsHelper::breadcrumbs($params);
        $path = $breadcrumbs[0];
        $title = $breadcrumbs[1];
        require JModuleHelper::getLayoutPath('mod_k2_tools', 'breadcrumbs');
        //}
        break;
    case '4':
        $output = modK2ToolsHelper::treerecurse($params, 0, 0, true);
        require JModuleHelper::getLayoutPath('mod_k2_tools', 'categories');
        break;
    case '5':
        echo modK2ToolsHelper::treeselectbox($params);
        break;
    case '6':
        if ($imagebutton) {
            $img = modK2ToolsHelper::getSearchImage($button_text);
        }
        require JModuleHelper::getLayoutPath('mod_k2_tools', 'search');
        break;
    case '7':
        $tags = modK2ToolsHelper::tagCloud($params);
        if (count($tags)) {
            require JModuleHelper::getLayoutPath('mod_k2_tools', 'tags');
        }
        break;
}