have some trouble with this code in base.class.php
switch ($v->type)
{
case 'separator' :
$v->url = '#';
break;
case 'url' :
if ((strpos($v->link, 'index.php?') !== false) && (strpos($v->link, 'Itemid=') === false)) {
$v->url = $v->link.'&Itemid='.$v->id;
} else {
$v->url = $v->link;
}
break;
default :
$router = JSite::getRouter();
$v->url = $router->getMode() == JROUTER_MODE_SEF ? 'index.php?Itemid='.$v->id : $v->link.'&Itemid='.$v->id;
break;
so if i connect to site in first time and choose from dropdown list any menu link created like “virtuemart menu type” with category id “xx” i go to this link BUT with attached “itemid=xx” tag – so it redir me to my product with “itemid=xx” not to my category with “itemid xx”
so
clean link looks like
/index.php?option=com_virtuemart&Itemid=158&vmcchk= 1
bad link
/index.php?option=com_virtuemart&Itemid=158&vmcchk=1&Itemid=106
Maybie it not from your side
Sorry fo my bad english.
Thank you.
UPD..
I dont know – but if i load com_virtuemart by default menu item without categoryID all works fine for me.