Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Customise Breadcrumbs


I have a url (./products/detail/12) which can be accessed from a number of locations (./products/byvendor and ./products/bytype). BTW ./products is a valid url too.

I'd like to display a breadcrumb on ./products/detail/12 that shows the route taken to get to it - ie.
Using fuel_nav() in breadcrumb mode, normally you'd get Home->Products->Product XYZ where 'Products' would point back to ./products. If the user found the detail page by first visiting ./products/byvendor, is it possible to use fuel_nav() but specify that the 'Products' breadcrumb point to ./products/byvendor?



  • edited 8:31AM
    You could perhaps use the 'append' parameter and append a navigation item with the same key but a different location value:
    <?=fuel_nav(array('append' => array('products' => array('location' => 'products/byvender', 'label' => 'Products')));
Sign In or Register to comment.