Needs review
Project:
Menu Trails
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 12:45 UTC
Updated:
27 Oct 2011 at 12:45 UTC
If the variable menutrails_breadcrumbs is set, and the configured frontpage is part of a menu used in menutrail, then there is no need to set the breadcrumb at all when drupal_is_front_page() is true. Otherwise, as it is now, the frontpage will have a breadcrumb entry for itself.
Test for drupal_is_front_page() in menutrails_get_breadcrumbs() and return empty trail if true.
| Comment | File | Size | Author |
|---|---|---|---|
| menutrails-dont-set-front-breadcrumb.diff | 668 bytes | kaare |