lkl wrote:I found the solution of the problem where you were getting error when trying to edit the virtuemart store information. Actually the developer who coded this plugin named the file as vm_store_info.xml while the table name was kept as vm_vendor.
<table name="vm_vendor">
<field type="referenceid" name="vendor_id" translate="0">ID</field>
<field type="titletext" name="vendor_store_name" translate="0">Store Name</field>
<field type="textarea" name="vendor_store_desc" translate="1">Description</field>
<field type="textarea" name="vendor_terms_of_service" translate="1">Terms of service</field>
</table>
So either you change the filename to vm_vendor.xml or change the table name to vm_store_info and install the plugin again!
Rgds,
LKL
Always Joomla!
http://www.cmsjoomla.in
I tried changing the table name and got the following Joom!Fish error when I tried to open the translation:
DB function failed with error number 1146
Table 'ulij3sf2_jpack.jos_vm_store_info' doesn't exist.......etc
I guess it is obvious that changing the table name in the xml will not work! Who knows what problems changing the table name in the database could cause.
Changing the file name to vm_vendor.xml worked the only thing is that even though the translation is done, saved and published the published icon always shows red. Notwithstanding this the translation is actually published. Also it is not possible to delete the translation.
I am updating this because I have also found another error in the code. Replace the two lines:
- Code: Select all
<field type="textarea" name="vendor_store_desc" translate="1">Description</field>
<field type="textarea" name="vendor_terms_of_service" translate="1">Terms of service</field>
With:
- Code: Select all
<field type="htmltext" name="vendor_store_desc" translate="1">Description</field>
<field type="htmltext" name="vendor_terms_of_service" translate="1">Terms of service</field>
To get the correct field types.