DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Desirae has posted 3 posts at DZone. View Full User Profile

Joomla Component Breadcrumb Fix

07.14.2007
| 5680 views |
  • submit to reddit
        // For when you have breadcrumbs enabled in one of your components and the categories aren't getting linked
// In includes/pathway.php around line 287

		// if it is the current page, then display a non hyperlink
		//if ($item->id == $Itemid || empty( $mid ) || empty($item->link)) {
		if (($item->id == $Itemid || empty( $mid ) || empty($item->link)) && !($mainframe->getCustomPathWay())) {