News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Bug with SEF URLs and Manufacturer details link

Started by z-analysts, June 07, 2013, 21:18:26 PM

Previous topic - Next topic

z-analysts

When I have SEF URLs enabled and create a JTree link to a menu item within a Joomla article the link has a /details appended to it. However the same link pointing to manufacturer details layout page on the menu is correct. Here are the two links:

JTree link - http://zclientdev.net/solfairtrade/our-artisans/aaan/details
Menu link - http://zclientdev.net/solfairtrade/our-artisans/aaan

To replicate the error, go to http://zclientdev.net/solfairtrade and click on the Artisans image. Then on the Artisans page, click on the first image in the first row. That will take you to the invalid Jtree link above. In contrast, click on AAAN from the Artisans menu dropdown and observe the URL. You can also tell from the content of both pages that one link is correct and the other is not.

Joomla 2.5.11
VM 2.0.20b
PHP 5.3.16

Please advise!


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

z-analysts

Yes, I just installed 2.0.21c and have the same problem.

jjk

At a first glance it looks to me like a wrong setting of 'Seo Suffix' in VM configuration and 'Adds Suffix to URL' in Joomla Global configuration. What is your current setting for the two?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

z-analysts

The VM SEO suffix is "-detail" and the Joomla setting for Adds Suffix to URL is NO.

jjk

Ok, that is the correct setting. Maybe the Joomla jtree dosen't work properly with your roknavmenu or VirtueMart doesn't like the roknavmenu. The latter seems to use bootstrap and afaik bootstrap works with it's own javascript library. Firebug doesn't show me a conflict though.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

z-analysts

What makes manufacturers different from categories and products which do work properly? I have another site using the same Gantry template (and roknavmenu)  with a plethora of category and product links and there are no problems.


z-analysts

Why do you think this is a roknavmenu problem? The roknavmenu link is correct. It's the Joomla jtree link that is wrong. Maybe the problem is with VirtueMart! As of VM version 2.0.21e the problem still persists.


jjk

In case you are using the VM manufacturers module to display your manufacturers view, does your problem go away if you add a hidden Joomla menu for your VM manufacturers?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

z-analysts

I am not using the VM Manufacturers module. I created a standard Joomla article that contains links to already defined menu items.


jjk

I'm not shure if mixing a Joomla article with VirtueMart links can produce the desired urls. I think it would work much better for you if you would display the VirtueMart Manufacturers module in that module position instead.

It's available at Joomla Extensions > Module Manager > VM-Manufacturer. (You can copy that module and use the copy with your custom settings) In the 'Basic Options' you can select 'Image & Name' and in the 'Menu Assignment' section you can limit it to show on the desired page.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GuidoS

It's a long time ago but this issue is still active in virtuemart 2.0.26d. When you create a standard menu item to the manufacturer page it creates a sef url like http://<sitename>/<manufacturername>/details

When you click on the link you will be redirected to the overal page of manufacturers. I would suggest that I would go to the manufacturer page like when you click on a manufacturer in the manufacturer module. The reason why the link is different then the module is because the menu link is created with the url variable "layout=details". I think the problem is in the router of virtuemart.

jjk

If you add a standard (Joomla) menu item, you can choose either a 'manufacturer details 'or a 'manufacturer default' layout in the VirtueMart section. The 'default' displays all manufacturers - usually with a manufacturer name link and the manufacturer thumbnail (depending on how you did configure this). If you choose the 'details' layout, it shows the individual manufacturer page. If it doesn't, you probably forgot to select the individual manufacturer in the upper right corner after selecting the 'manufacturer details' layout.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations