Home arrow All Articles & News arrow Linked component name in Pathway
Linked component name in Pathway PDF Print E-mail
Wednesday, 21 June 2006

There is a problem in Joomla!’s pathway when you’re using a third party component. When you navigate deeper in to a component like Mosets Tree you would expect to be able to browse back to the root directory from the pathway. But no, Joomla simply return the component name without link.

This hack) fixes this problem and in addition to that, it fixes the pathway problem when you have Mosets Tree published to the frontpage. It removes the duplication and works as expected.

Requirements

This hack is based on Joomla! 1.0.7 but it should work with any version of Joomla.

Instructions

There is a hacked file at the end of this post if you want to skip the details.

FILE: /includes/pathway.php

LINE: 286

You have the following codes
PHP Code:
$newlink = ” $itemname”;

Replace it with:
PHP Code:
if( @$mitems[$home_menu->id]->name <> $item->name ) {
$newlink = ‘
 
< Prev   Next >