SEF Urls for Virtuemart - product alias: diacritics

Started by kristian77, May 18, 2014, 12:08:21 PM

Previous topic - Next topic

kristian77

I am writing to you about small "mistake" of VirtueMart Version 2.6.0a. VirtueMart ignores the settings in the joomla unicode aliases and incorrectly creates product alias for URL, if set unicode aliases = no. In slovak language we are using diacritics. In previous versions of Virtuemart, when I was create product name in diacritics then product alias was created correctly product alias without diacritics. How it is possible to do it in this version 2.6.0a? Thanks for your help.

SEO Settings Joomla:
Search Engine Friendly URLs : Yes
Use URL rewriting: Yes (with .htaccess)
Adds Suffix to URL :No
Unicode Aliases : No

PHP Version : 5.4.17
Web Server  : Apache
Joomla! Version : Joomla! 2.5.20 Stable


SEO Settings Virtuemart:
Virtuemart version: 2.6.0a
SEO Disabled : No
Seo Suffix : -detail
Translate Strings:  No
Use Product and Category IDs: No


aka.deton

hack:
in administrator/components/com_virtuemart/helpers/vmtable.php
change it:
$unicodeslugs = VmConfig::get('transliterateSlugs',false);
to this:
$unicodeslugs = VmConfig::get('transliterateSlugs',true);

how to hack without?

MekkE

The new VM version (2.6.4) broke the perfect alias generate:(

I rewrite the $unicodeslugs to "true", the accents characters now (like őúűáéóüö) are converted, but the "üö" characters exchanged for: "ue,oe":(
Previously, it was all good, pls fix this issue, ty.


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/


maks