News:

Support the VirtueMart project and become a member

Main Menu

[BUG?] VM SEF-links VM in Joomla's main menu

Started by d0ublezer0, August 01, 2012, 10:01:18 AM

Previous topic - Next topic

d0ublezer0

Description of the problem.
In the main menu of the site, which is displayed by a standard joomla's mod_menu:
Add the menu item "VirtueMart»Front page", set it as a nickname "shop".
When we look at the frontend - there was a link in the menu "http://sitename/shop".

Now add in the same main menu a new item which is of type "VirtueMart»Category Layout".
We give him a nickname, for example, "tools".
When we look at the frontend - there was a new link in the menu "http://sitename/tools".

Although, it is expected that there should be a link "http://sitename/shop/tools".

This is the problem of VM or Joomla SEF?

franzpeter

I see that too. Normaly it should be enough to create a Joomla menu with a hidden link to the VM 2 front page called shop. I did try to use the main Joomla menu to create categories where the main categories go to the top of the menu and the subcategories go to the second level by linking everything with category layout and selecting the appropriate category, so the top level menu should look like: main category 1, main category 2, main category 3 and the subcategories go to main category 1 > subcategory 1, subcategory 2, main category 2 >subcategory 1, subcategory 2 a. s. o..  Doing so ends with the same result as described in d0ublezer0 post. It is obvious that the virtuemart router is not able to get the first section of the sef url, which should be: shop. It happens for the main category level as well as for the subcategory levels. Switching off the sef urls shows, that the given urls are correct. Selecting the category from the Joomla menu or from the VM category module produces a correct path. If SEF is activated the path is missing the main shop entry.
It should normally work too (if the main category should not be clickable) to use a separator and add the subcategories as second level categories. That does not work too. so I can confirm that there is a bug in the virtuemart sef router.

lipes

I've got a problem with SEF / SEO J+VM ..
but i dont know if this is related with the CACHE .... because when i turn "Cache On" nothing works correct...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25