VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hrom252 on May 12, 2014, 15:49:00 PM

Title: 2.6.0a Alias problems
Post by: hrom252 on May 12, 2014, 15:49:00 PM
Hello, can anyone help me with this problem:
In 2.6.0 when a don't fill the alias field and save a product -
(http://cl.ly/image/0K0p0Y2e2H1L/Image%202014-05-12%20at%205.44.00%20%D0%BF%D0%BE%D1%81%D0%BB%D0%B5%20%D0%BF%D0%BE%D0%BB%D1%83%D0%B4%D0%BD%D1%8F.png)


Result in 2.6.0a -
(http://cl.ly/image/0y442n1n3I04/Image%202014-05-12%20at%205.45.31%20%D0%BF%D0%BE%D1%81%D0%BB%D0%B5%20%D0%BF%D0%BE%D0%BB%D1%83%D0%B4%D0%BD%D1%8F.png)

How I can repair alias translation?
Title: Re: 2.6.0a Alias problems
Post by: Milbo on May 12, 2014, 20:40:23 PM
there is an hidden option in the vmtable, but actually the link should work and is more preferred by russians.

$unicodeslugs = VmConfig::get('transliterateSlugs',false);

so go in your virtuemart.cfg,... add transliterateSlugs=1 and store the file,.. go in the vm config in BE store it one time and the old behaviour is back. I thought also about to combine it with the config of joomla, not certain what is the best method here.
Title: Re: 2.6.0a Alias problems
Post by: hrom252 on May 13, 2014, 09:49:34 AM
Quote from: Milbo on May 12, 2014, 20:40:23 PM
there is an hidden option in the vmtable, but actually the link should work and is more preferred by russians.

$unicodeslugs = VmConfig::get('transliterateSlugs',false);

so go in your virtuemart.cfg,... add transliterateSlugs=1 and store the file,.. go in the vm config in BE store it one time and the old behaviour is back. I thought also about to combine it with the config of joomla, not certain what is the best method here.

Thanks, option is work, but for do it I clicked on "Renew VirtueMart configuration by file" after edit. If I only save VM configs page - I don't see update options in DB.

P.S. sorry for my english
Title: Re: 2.6.0a Alias problems
Post by: Milbo on May 14, 2014, 01:08:15 AM
I added this option in the vm2.6.1 also for the images