i temporarly solved it with tweek of /com_K2/helpers/route.php function getItemRoute on line 26:
function getItemRoute($id, $catid = 0) {
$needles = array (
'item'=>(int)$id,
'category'=>(int)$catid,
);
$link = 'index.php?option=com_k2&view=item&id='.$id;
if ($item = K2HelperRoute::_findItem($needles)) {
$link .= '&Itemid='.$_GET['Itemid'];
}
return $link;
}
to this:
function getItemRoute($id, $catid = 0) {
$needles = array (
'item'=>(int)$id,
'category'=>(int)$catid,
);
$link = 'index.php?option=com_k2&view=item&id='.$id;
if ($item = K2HelperRoute::_findItem($needles)) {
//$link .= '&Itemid='.$item->id;
$link .= '&Itemid='.$_GET['Itemid'];
}
// echo $link;
// die;
return $link;
}
i dont like the GET variable usage, can you please give me a help with this?