function _uc_catalog_is_frontpage in Ubercart 6.2
Utility function to determine if the catalog is being displayed on the site's front page.
2 calls to _uc_catalog_is_frontpage()
- uc_catalog_nodeapi in uc_catalog/
uc_catalog.module - Implements hook_nodeapi().
- uc_catalog_set_breadcrumb in uc_catalog/
uc_catalog.module - Formats the breadcrumb to the current term's ancestry.
File
- uc_catalog/
uc_catalog.module, line 1028 - Ubercart Catalog module.
Code
function _uc_catalog_is_frontpage() {
return drupal_get_normal_path(variable_get('site_frontpage', 'node')) == 'catalog';
}