Saturday, 25 October 2014 07:11
beggarly

Quotes in VirtueMart Category and Product Names

Report Xmap bugs on this forum.

Quotes in VirtueMart Category and Product Names

Postby doorknob » Mon Aug 25, 2008 2:06 am

When a VM Product Name or Category Name contains a quote, the map entry contains an unwanted backslash. This suggests that the vm extension escapes the string rather than convert special html characters. When the same strings are processed as regular menu labels, they are handled correctly.

Regards
Phil
doorknob
Junior Boarder
Junior Boarder
 
Posts: 27
Joined: Thu Aug 07, 2008 9:30 pm

Re: Quotes in VirtueMart Category and Product Names

Postby guilleva » Mon Aug 25, 2008 4:45 am

Hi, I couldn't reproduce the problem, I modified the product name and added a single quote, and a doble quote, and the title is showed correctly in the map, which version of Xmap and virtuemart plugin are using?
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Quotes in VirtueMart Category and Product Names

Postby doorknob » Mon Aug 25, 2008 5:33 pm

Thanks for the fast response.
I'm sorry but when I went back and looked again at the map, the problem is in the Category Name and not the Product Name. I do also have an example of a product name containing a double quote and it displays correctly.
I am using Xmap v 1.2 for J1.5 with what I believe to be the latest version of the VM plugin (the file indicates that it is v1.0.1 but in the Xmap backend it declares itself to be v1.1.0 (perhaps that refers to the VM compatibility?))

Regards
Phil
doorknob
Junior Boarder
Junior Boarder
 
Posts: 27
Joined: Thu Aug 07, 2008 9:30 pm

Re: Quotes in VirtueMart Category and Product Names

Postby guilleva » Mon Aug 25, 2008 7:13 pm

Hi Phil, please try this version of the plugin which fixes this issue and the others in your other post. Please let me know how does it work for you.
Attachments
xmap_com_virtuemart.zip
(2.87 KiB) Downloaded 510 times
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Quotes in VirtueMart Category and Product Names

Postby doorknob » Tue Aug 26, 2008 3:18 pm

Hi guilleva,
The new version of the VM plugin is a great improvement. I had three issues:

1 - Incorrect display of category name when a quote is included - now fixed
2 - Duplication of parts of the product structure when the menu includes categories that are not top level items - now fixed
3 - Display the complete product structure when a menu item links to a VM page that is not supposed to show products at all (in my case, account maintenance) - this is still a problem

Thanks for your superb support
Phil
doorknob
Junior Boarder
Junior Boarder
 
Posts: 27
Joined: Thu Aug 07, 2008 9:30 pm


Return to Bugs



Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot], Yahoo [Bot] and 1 guest