--- loncom/interface/lonmenu.pm 2010/05/28 13:21:13 1.327 +++ loncom/interface/lonmenu.pm 2010/05/30 18:30:52 1.328 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.327 2010/05/28 13:21:13 droeschl Exp $ +# $Id: lonmenu.pm,v 1.328 2010/05/30 18:30:52 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -364,6 +364,11 @@ sub innerregister { &Apache::lonhtmlcommon::clear_breadcrumbs(); &Apache::lonhtmlcommon::add_breadcrumb(@crumbs); + }elsif (! $const_space){ + #a situation when we're looking at a resource outside of context of a + #course or construction space (e.g. with cumulative rights) + &Apache::lonhtmlcommon::clear_breadcrumbs(); + &Apache::lonhtmlcommon::add_breadcrumb({text => 'View Resource'}); } # ============================================================================= # ============================ This is for URLs that actually can be registered