Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: joomfish compatibility  (Read 2958 times)
aaltinisik
Newbie
*
Posts: 6



WWW
« on: August 27, 2006, 05:51:45 AM »

Dear all,

As a came back to the php world after 6 years, I have to prepare a multilangual shop site for my new job. After reading nearly all of posts in this forum, Finally I have a nicely runnig virtuemart 1.0.6,joomla 1.0.10 with joomfish 1.7 stable. with the joomfish content element files on joomfish website.

I ran ito problems with translation of two virtuemart tables,
* vm_product_type_parameter, (there is no contentelement file for this table)
I wrote a contentelement file however since table has no unique id field joomfish cannot determine related row for the translation. I added a primary key 'id' field with autoincrement. to the table and prepeare a content element file like below. (Please keep in mind when preparing contentelementfiles titleitem should have translate=1 property otherwise fish fails to show the translation status of the row. -I think this is a bug in fish)


<?xml version="1.7" ?>
<joomfish type="contentelement">
  <name>VirtueMart Products Type Parameters</name>
  <author>Ahmet Altinisik</author>
  <version>1.7</version>
  <description>Product type Parameters</description>
  <reference>
     <table name="vm_product_type_parameter">
   <field type="referenceid" name="id" translate="0">ID</field>
        <field type="titletext" name="parameter_label" translate="1">Parameter Label</field>         
        <field type="text" name="parameter_name" translate="0">Parameter Name</field>     
        <field type="text" name="parameter_description" translate="1">Parameter Description</field>
   <field type="text" name="parameter_values" translate="1">Parameter Description</field>
   <field type="text" name="parameter_unit" translate="1">Parameter Unit</field>
   </table>
  </reference> 
</joomfish>

vm_product_attribute has the same problem, if you assign two different attribute to a product, translation gets messy. Please add a unique id to this table also.

Dear Dev team. I already opened a task in bugtracker for this issue.Since I am a newbie here I dont know how you manage the things is this post enough or the entry in the bugracker or both? please advise me.

Best Regards to all

Ahmet Altinisik

« Last Edit: August 27, 2006, 06:36:46 AM by aaltinisik » Logged

Ahmet Altinisik

newbie poweruser
Pages: [1]   Go Up
Print
Jump to: