|
I've found a solution in the joomsef.php line 1170 :
// always remove Itemid and store it in a separate column if (!is_null($uri->getVar('Itemid'))) { $Itemid = $uri->getVar('Itemid'); $uri->delVar('Itemid'); }
I just comment these lines :
// always remove Itemid and store it in a separate column /*if (!is_null($uri->getVar('Itemid'))) { $Itemid = $uri->getVar('Itemid'); $uri->delVar('Itemid'); }*/
Because, when you create a link to K2 category (mainmenu) you need the ItemId but in Joomsef.php it's always remove so I just comment to keep the itemid !!!
Bye
++
|
Problem K2 item menu
|
Posted 15 years, 9 months ago
by pointweb
|
|
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 15 years, 9 months 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 15 years, 10 months ago
by pointweb
|
|
Hi,
Is it possible to not rewrite special part of a component in your files in sef_ext folder ?
For example, not rewrite all the checkout.index pages.
Thanks
|
Don't rewrite part o ...
|
Posted 15 years, 10 months 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 15 years, 10 months ago
by pointweb
|