[BUG-2315]  -  Virtuemart joomla menu links break breadcrumbs and router in joomla.
Tags:   No tags associated yet. All Tags...
  Go Back   1  
 Tracker:  Bug  Priority:  Highest  Status:  --
 Resolution:  --  Submitted by:  ronnikc Aug 16 2008 00:08  Assigned to:  --
 Modified by:  ljk Jan 01 01:22  Category:  Core System  Severity:  Critical
 Version:  VirtueMart 1.1.2  Joomla! Version:  Joomla! 1.5.x  Browser Version:  --
 Fixed in Version:  --
Description:
I have 2 identical sites.

Both run Joomla 1.5.6 , VM 1.1.2 (and have been tested with or without SEF on)

Site 1:

Menu made of Virtuemart options in the joomla menu system.
Category id assigned to each VM link so it links to each category.

Breadcrumbs reports wrong URLs and repeats itself so instead of doing:

Home -> Cat1 -> Cat2 

it does

Home -> Cat1 -> Cat2 -> Cat1 -> Cat2

All links become url/cat2  instead of url/cat1/cat2

In general the routing is ruined the second a menu link is made using the internal VM link for menu links.

Site 2:

Manually made links to VM categories using External links in Joomla menu system.

Breadcrumbs works and there is no problems.

I have spent around 20 hours trying to fix the problem - trawling trough this forum, joomla forum and sh404sef (again tested both with and without sef and sh404sef and joomla sef).

So the Virtuemart menu option doesnt work as supposed and it breaks breadcrumbs and internal routing.

Details:
Comments (5)
Attachments (0)
Children (0)
Associations (0)
SCM Commits (0)
All (5)

Submitted Comment
ljk
Jan 01 01:22
Hello,

I just wanted to point out that this is still a problem with 1.5.8 and VM 1.1.2.

Is there any hope of getting a resolution to this problem soon?

I tried the suggested fixes found on the VM forums, but none of them solved the problem and some made it even worse. Even a temp bug fix would be appreciated.

Thanks.

peetree21
Sep 09 2008 23:18
also i am the standard joomla SEF urls turned on.
peetree21
Sep 09 2008 23:17
yes i am experiencing same issue. running J1.5.6 and VM1.1.2 and when i add a joomla menu item by selecting Select Menu Item Type - virtuemart, then select Parameters (Component) and put in Category ID. So im trying to create a link from my main menu to a VM category. But bug is that it makes the breadcrumb double up. So instead of home>clothes>shirt it shows home>clothes>shirt>clothes>shirt.

i have had to make my menus to VM categories with external links but this is not a good solution as my menu item then highlights the menu to the actual VM component and not the menu to the category.

Is there a fix? i found in the forum this http://forum.virtuemart.net/index.php?topic=39672.0 but not sure if this is relevant to the current VM release.

also this was suggested in forum (http://forum.virtuemart.net/index.php?topic=42731.0):-

Assuming that you have "recreated" all the categories in you menu a dirty way to solve this issue is to comment out $vm_mainframe->vmAppendPathway( $pathway ); in shop.browse.php

not sure if this is good to do though. will wait to hear from the devs

thanks john

ronnikc
Aug 28 2008 12:34
Yes this is the VirtueMart Menu Option for Joomla aka go to a menu make a new link and select virtuemart and enter a product ID or a categori ID.

In the second i make a VM menu link with a categori id in it the entire routing breaks.

soeren_nb
Aug 28 2008 11:18
Is the a VirtueMart Menu Option for Joomla!? Which one are you using?