Crumbline

A simple crumbline ending at the current page. The tree menu is added to allow you to navigate deeper into the site to see the crumbline working.

  1. <pinp>  
  2.   echo ar('html')  
  3.     ->menu( 'ul'array'class' => 'crumbs' ) )  
  4.     ->style('crumbs');  
  5.   
  6.   echo ar('html')  
  7.     ->menu( 'ul'array'class' => 'crumbs' ) )  
  8.     ->current( $path )  
  9.     ->crumbs();  
  10.   
  11.   ar::call('current:menu.tree.html');  
  12. </pinp>