louis.landry wrote:
Hi nicholai,
What you are getting is expected behavior. The application creates two entries in the pathway automatically for you. Home, and the called component.
If you want to achieve what it is you are doing you need to use a different API call to set the name of the second item in the pathway... the component entry in the pathway:
Code:
// Handle BreadCrumbs
$breadcrumbs = & $mainframe->getPathWay();
$breadcrumbs->setItemName(1, JText::_('JOOMLA MESSAGE SYSTEM'));
where 1 is the component offset in the pathway array .... 0 is the home offset
Louis
Situation now:
Code
Code:
$breadcrumbs =& $mainframe->getPathWay();
$breadcrumbs->setItemName( 1, JText::_('JOOMLA MESSAGE SYSTEM'));
$breadcrumbs->setItemName( 2, $functext);
Result:
Quote:
Home >> Joomla Message System >> Joomla Message System >> Inbox
I have tried different $ids, but that doesnt solve it