Since today I have this strange text standing next to my sorting of articles, category or manufacturer, see attached image.
It doesn't mather if you choose, article, category or manufacterer, it is Always there.
I have looked at the overrides, but without succes.
The only thing I did today was, after the update, to replace the default.php with the one I had adjusted.
But when I look in this file, there is nothing that appears to create COM_VIRTUEMART_DESC.
Can anyone help me out with this isue?
[attachment cleanup by admin]
http://forum.virtuemart.net/index.php?topic=79799.0
VM 2.0.26d
Joomla! 2.5.19
You updated yesterday to 2.0.26d?
Disable your override and look what is happen.
There is no override enabled for this text.
disable your template overrides, not your language overrides
I don't really understand what you mean with template overrides.
Where do I find these?
Quote from: perenboom on April 09, 2014, 15:43:55 PM
The only thing I did today was, after the update, to replace the default.php with the one I had adjusted.
Do you have replaced it as core hack? Then use the default.php which is the original and untouched.
Template overrides:
http://forum.virtuemart.net/index.php?topic=90935.0
It seems to be a problem in VirtueMart:
http://www.bambuszkerteszet.hu/hu/component/virtuemart/magas-bambuszok/indocalamus.html?Itemid=0
http://www.doggueto.com.br/wu-tang-clan.html
http://www.kredos.pl/index.php/respiratory/view/category/limit/5/start/50/orderby/product_availability/virtuemart_manufacturer_id/2
On these pages the exact same problem accures.
Monday I will update VM and AIO to 2.26.0 to see if the problems solves itself.
Won't help I'm afraid. Can't reproduce it in earlier versions nor in 2.6.0.
The thing I've changed in the default.php: I have taking the original file, put the option of an Add-to-cart button directly in the category.
Then I placed the adjusted file back. In vm-ltr.css I have changed the order-button (fond-weight normal) and the size of the prices (0,85 em to 14 px). So there is nothing I have changed with the sorting option.
And it looks pretty impossible to me, that there are several shops in VM that have exactly the same problem as I have due to something that we all did in the core files, all at the same time after a update.
the simplest way to fix is create a language override for
COM_VIRTUEMART_DESC with -/+
COM_VIRTUEMART_ASC with +/-
Seems that those two lines in the language file your-root\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini
were accidentially deleted. As a result the previous "-/+" and "+/-" labels are not generated in the translations either and you see e.g. the key part COM_VIRTUEMART_ASC.
If you have an editor that can store text files encoded as 'utf-8 without BOM' (check your editor options) you can add around line 10:
COM_VIRTUEMART_ASC="-/+"
Around line 152, add:
COM_VIRTUEMART_DESC=" +/-"
Do the same in your other installed language.
Alternatively, like kkmediaproduction mentioned above, create a language file override in your language using for example your Joomla language manager.
You do NOT need to hack any php or css files to solve this.
I'll try to fix the language packs later today.
I still think this has to do with template overrides. The strings for the +/- and -/+ are COM_VIRTUEMART_SEARCH_ORDER_ASC and COM_VIRTUEMART_SEARCH_ORDER_DESC
Looks more like something to do with the way some users have configured langage files, eg when adding a second langauge.
@margriet: there are no template overrides used at this website.
@jenkinhill: the only other kanguage is Dutch. Besides this, the site was fine untill I updated it to the last version before 2.26.
So it is still possible that there is something missing in one of the files of VM.
Might sound complicated but actually is pretty simple. In VM 2.0.26 the keys/strings in the frontend en-GB.com_virtuemart.ini were:
COM_VIRTUEMART_SEARCH_ORDER_ASC="-/+"
COM_VIRTUEMART_SEARCH_ORDER_DESC=" +/-"
located in the file your-root\language\en-GB\en-GB.com_virtuemart.ini
For the latest versions (VM 2.5+ and 2.6) these were replaced by
COM_VIRTUEMART_ASC="-/+"
COM_VIRTUEMART_DESC=" +/-"
located in the file your-root\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini
In addition to that,
COM_VIRTUEMART_ASC="-/+"
COM_VIRTUEMART_DESC=" +/-"
were accidentially removed from the english language source file before the release of VM 2.6. And because we updated the source files on Transifex last week, those two keys/strings got lost in the translations. So if you updated to VM 2.0.26d and also updated your language files, you missed them.
Meanwhile I've re-added them to the source file on Transifex again.
Note, that the current language files on Transifex include a number of changes since 2.0.26 was released.
I'll check if I have a 2.0.26 language pack that we can upload into the VM download section.
Thanks everybody for all the replies and a special thanks to jjk for giving me the right solution.
The site is up-to-date now (running 2.6.x, how I ever could think it was 2.26.x...).