walb wrote:
OK, there we go for the final to get the right Itemid in both cases.
includes/joomla.php line 1496
Code:
global $Itemid,;
change to
Code:
global $Itemid, $option;
insert
after line 1498 holding
Code:
$_Itemid = '';
This piece of coding
Code:
if ($option == 'com_frontpage') {
$_Itemid = $Itemid;
}
This works! ;)
The previously mentioned change will not hurt, so I left it in, since it makes more sense to me. :)
it appears this fix only half works... although i get the pathway showing after i click 'read on' its not the complete pathway.. only the parent is showing within the pathway,, no children.
Ex 'Homepage >'
where it should say 'Homepage > Example Page 1'
Also when applying waldorf's hack it stop's some of my other pages from showing a complete pathway..
Anyone have any better luck then I?
Furthermore, i have tried this code aswell:
waldorf75 wrote:
Hi folks,
I had a similar problem with one my Joomla sites as initially posted by eyezberg. But on my J the Itemid in the read more links was just missing for all content items that are linked in the menu with an "Link - Content Item". The ItemID of the read more links of other articles were fine.
I just changed a 0 to a 1 the file components/com_content/content.html.php on line 556 (if I didn't add/deleted lines while changing code) in function _Itemid():
Original:
Code:
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 );
Changed to:
Code:
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 1 );
It seems as if this triggers the ContentItemLink support in getItemid() of joomla.php
Hope this helps
waldorf
this doesn't work for all my pages.. it seems that the first page in the frontpage manager doesn't show the path.. only for the following pages..
This is strage.. i tried creating a new page that would display first within the frontpage manager and it doesn't show the pathway either..
