function domain_menu_access_help in Domain Menu Access 6
Same name and namespace in other branches
- 7 domain_menu_access.module \domain_menu_access_help()
Implementation of hook_help().
File
- ./
domain_menu_access.module, line 11 - Extension for Domain module, which allows showing/hiding menu items per domain.
Code
function domain_menu_access_help($path, $arg) {
switch ($path) {
case 'admin/help#domain_menu_access':
$output = '<p>' . t("Domain Menu Access is an extension to <a href='@domain_url'>Domain Access</a> module, allowing administrators to configure visitors' access to selected menu items based on current domain they are viewing. It lets administrators decide whether a specific menu item should be hidden on selected domains (regardless of it being enabled by default using standard Drupal functionality), or should it be displayed on some domains even if disabled by default.", array(
'@domain_url' => url('http://drupal.org/project/domain'),
)) . '</p>';
$output .= '<p>' . t('Access to all menu items is managed on standard admin <em>Edit menu item</em> pages in <em>Admin / Site building / <a href="@admin_menus_url">Menus</a></em>, separately for each menu item, using domain checkboxes in <em>Manage item visibility per domain</em> fieldset.', array(
'@admin_menus_url' => url('admin/build/menu'),
));
$output .= '<p>' . t('Use <em>Show menu item</em> to force displaying items which by default are disabled by <em>Enabled</em> checkbox in <em>Menu settings</em> section. Use <em>Hide menu item</em> to force hiding items which by default are enabled.') . '</p>';
$output .= '<p>' . t('Note that these settings will be ignored in administration area, which means that all menu items will be enabled or disabled based on default Drupal settings only, as otherwise default state of a menu item could be changed by accident.') . '</p>';
return $output;
}
}