|
Hi,
I've got a problem with K2 extension, when I add a item in my mainmenu and If I use the Item Listing (Category) Layout, the item url is bad rewrite and this link stay with /K2 and don't rewrite with the category title.
So the link doesn't work at all.
EDIT : I've tried to modify com_k2.php in sef_ext but I can't get the real Itemid of the Url, I always get the same for each items of the menu, can you help me ?
I've you got a solution ?
Thanks
Alex
|
Problem K2 item menu
|
Posted 16 years ago
by pointweb
|
|
I've found the mistake :
Two things in fact :
In the shop.cart.tpl.php :
I remplace the line :
echo vmCommonHTML::getGreyBoxPopupLink( $href2, $text, '', 'Idées couture - Commande en ligne ', $class_att, 600, 640, $href );
by :
echo vmCommonHTML::getGreyBoxPopupLink( $href2, $text, '', 'Idées couture - Commande en ligne ', $class_att, 600, 640, $href2 );
And in the file htmlTools.class.php :
I remplace the line 1808 :
$link = vmCommonHTML::hyperLink( $no_js_url, $text, $target, $title, $attributes.' onclick="try{ if( !parent.GB ) return GB_showCenter(''.$title.'', ''.$url.'', '.$height.', '.$width.');} catch(e) { }"' );
by :
$link = vmCommonHTML::hyperLink( $no_js_url, $text, $target, $title, $attributes.' onclick="try{ if( !parent.GB ) return GB_showCenter(''.$title.'', '/'.$url.'', '.$height.', '.$width.');} catch(e) { }"' );
So it's ok now for me !!!
|
Virtuemart Extension ...
|
Posted 16 years ago
by pointweb
|
|
Hi,
I've got a bug, when you use virtuemart you can define if you want a popup(lightbox) or stay on the same page to follow your order, but when I choose popup I've got a page error !!!
Can you help me ?
Thanks in advance
|
Virtuemart Extension ...
|
Posted 16 years ago
by pointweb
|