I make use of Zend_Navigation and its menu helper and breadcrumb开发者_StackOverflows helper together with Zend_Acl. This all works as expected. But is it possible to ignore the acl on the breadcrumbs only?
My goal is to render a different view when access is denied on a certain page (this works) but I want the breadcrumbs to show nonetheless. They are empty now.
Is there any way of achieving this without using two different containers?
thanks.
In your view page:
$this->navigation()->setUseAcl(false);
// or like this
$this->navigation()->setUseAcl(false)->breadcrumbs();
精彩评论