ls_arpsoftnavigation /

Filename Size Date modified Message
698 B


  1. Replace your page and category actions with those from this module
  2. In your partial do this:

    // get the breadcrumbs, this helper always returns a non-null instance.
    $breadcrumbs = ArpsoftNavigation_Breadcrumbs::get($this);
    foreach ($category in $categories) {
       // check if the current category is in the current breadcrumb path.
       $menuClasses = $breadcrumbs->isInPath($category) ? 'current' : '';
       // you can also check if the category is the last in the path
       if ($breadcrumbs->isLastCategoryInPath($category)) {
          // do some things special if were the tail end of a breadcrumb