VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: yuewupostbox on March 31, 2012, 21:04:48 PM

Title: Joomfish content element for VM 2.0.2
Post by: yuewupostbox on March 31, 2012, 21:04:48 PM
Hello,

May i know if anywhere i can download Joomfish content element for VM 2.0.2?

It seems not available from VM download list.

Also I have checked the VM 2.0.2 some of the table name from my local DB is different with VM 1.x which have a language code prefix after VM product, categories tables etc, it seems the table language code prefix will decided using the default site language while installing VM.

Any solutions?

Many thanks! ;D
Title: Re: Joomfish content element for VM 2.0.2
Post by: yuewupostbox on April 01, 2012, 12:21:21 PM
Hello,

i find out that i have to add language to VM > Configuration > Configuration > Multilingual shop, and i see the table with other language prefix are created.

But i donno if i have to edit the Joomfish VM content element XML file as i see the table name from the XML isn't have the table language prefix, let's give it a try ;D

[attachment cleanup by admin]
Title: Re: Joomfish content element for VM 2.0.2
Post by: jjk on April 01, 2012, 17:04:29 PM
If you are using Joomla 1.5.x, you can try to use this version of Joomfish:
http://forum.virtuemart.net/index.php?PHPSESSID=5215bef69f9ebd7e17a77b143acbfb07&topic=89802.msg294278#msg294278 (http://forum.virtuemart.net/index.php?PHPSESSID=5215bef69f9ebd7e17a77b143acbfb07&topic=89802.msg294278#msg294278)
If you are using Joomla 2.5.x, you currently can't use Joomfish, but you can use Joomla 2.5.x and VM2 native multilanguage capabilities to set up a multilingual shop.
Title: Re: Joomfish content element for VM 2.0.2
Post by: ayok on April 15, 2012, 17:19:15 PM
Thank you.. I use that, but get mysql error.. Unknown column 'c.product_name' in 'field list' SQL=SELECT c.virtuemart_product_id as id, c.virtuemart_product_id, c.product_name as title, 
Then I fixed the file virtuemart_products.xml, and change table name to "virtuemart_products_nl_nl" (nl=dutch), and remove the "created_on" and "modified_on". And then.. tadaaa.. the list is displayed. However, when I click on one of the product, got this error "Call to a member function getTable() on a non-object".
any idea how i can fix that?
Thx
Title: Re: Joomfish content element for VM 2.0.2
Post by: ayok on April 15, 2012, 18:36:19 PM
Ok.. it's solved.. I need to change the file name as well.. great!
Title: Re: Joomfish content element for VM 2.0.2
Post by: jjk on April 15, 2012, 18:49:10 PM
But why did you change the table (and file-) names to ..._nl_nl?
If you install the dutch Joomla language files and the dutch Virtuemart 2 language files, there is normally no need to do that.
Dutch VM2 language files are here: http://gruz.org.ua/virtuemart-language-files.html (http://gruz.org.ua/virtuemart-language-files.html)
Title: Re: Joomfish content element for VM 2.0.2
Post by: ayok on April 16, 2012, 13:05:05 PM
yes.. but how about the product name?
Title: Re: Joomfish content element for VM 2.0.2
Post by: jjk on April 16, 2012, 13:41:49 PM
If you think about Joomfish, I suppose your shop will be multilingual. Setting up a bilingual or multilingual shop works best with Joomla 2.5.x and VM2. If you use this combination there is no need for a third party translation extension. The product name is translatable in the VM2 product description (provided that you did install your other languages and did select them in your VM2 configuration)