function uc_catalog_help in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_catalog/uc_catalog.module \uc_catalog_help()
Implements hook_help().
File
- uc_catalog/
uc_catalog.module, line 17 - Ubercart Catalog module.
Code
function uc_catalog_help($path, $arg) {
switch ($path) {
case 'admin/store/products/orphans':
return '<p>' . t('Orphaned products are products that you have created but not yet assigned to a category in your product catalog. All such products will appear as links below that you can follow to edit the product listings to assign them to categories.') . '</p>';
case 'admin/store/settings/catalog':
if (!module_exists('views_ui')) {
return '<p>' . t('<a href="@modules">Enable the Views UI module</a> to edit the catalog display.', array(
'@modules' => url('admin/modules', array(
'fragment' => 'edit-modules-views',
)),
)) . '</p>';
}
break;
}
}