Skip to Content Skip to Menu

Any hope of field values be translable?

  • registoni
  • registoni
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 3
18 years 5 days ago #12717 by registoni
Any hope of field values be translable? was created by registoni
I have upgraded from RC2 to STABLE version and also upgraded mambelfish to Joomfish 1.7. Have created xml contentelement
file to be able to translate custom created field values (that are stored in comprofiler table). I was able to
translate it in the background but in the front it did not work. As someone said in the some forum for Joomfish in orde
to be able to translate anything any SELECT sql statements that pull out these must containg the id. So I think the
problem is that when the filed values are retrieved from the db the SELECT statement does not containg ID field of the
comprofiler table. If it possible to fix it (through a patch or hack or next release) I would greately appreceiate it.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 25532
  • Thanks: 1834
  • Karma: 877
18 years 5 days ago #12719 by nant
I believe that the latest joomlafish does not need this id field name as the primary index of a table.
If this is the case its a matter of joomlafish xml configuration.

what type of field are you trying to translate?

Post edited by: nant, at: 2006/05/15 11:45

Please Log in or Create an account to join the conversation.

  • boillat
  • boillat
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
18 years 5 days ago #12733 by boillat
Replied by boillat on topic Re:Any hope of field values be translable?
I have the same problem, and I really dont know how to sep up the xml content element...

I'm asking for help
Thanks

Please Log in or Create an account to join the conversation.

  • MadPax
  • MadPax
  • OFFLINE
  • Posts: 41
  • Thanks: 1
  • Karma: 3
18 years 5 days ago #12752 by MadPax
Replied by MadPax on topic Re:Any hope of field values be translable?

I believe that the latest joomlafish does not need this id field name as the primary index of a table.
If this is the case its a matter of joomlafish xml configuration.


It does not need it to be the primary index but it needs to be there in the select statement. Otherwise Joom!fish cannot identify the correct field to translate.

What I do for what's being asked in this thread is that I go into the language files and edit them so that the fields have name, description and choosable content translated without resorting to the database. I save a few additional queries this way.

Post us your xml contentelement description xml so that we may check this out for you.

Please Log in or Create an account to join the conversation.

  • MadPax
  • MadPax
  • OFFLINE
  • Posts: 41
  • Thanks: 1
  • Karma: 3
18 years 4 days ago #12891 by MadPax
Replied by MadPax on topic Re:Any hope of field values be translable?
Hello boillat,

You need to send me the file in xml format or else I will not be able to check it out.

Put it up here in the forums please.

Thanks

Please Log in or Create an account to join the conversation.

  • registoni
  • registoni
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 3
18 years 3 days ago #13008 by registoni
Replied by registoni on topic Re:Any hope of field values be translable?
Here is my contentelement file for comprofiler table. Let me know if I did something wrong with it.

Attachment comprofiler.zip not found




Post edited by: registoni, at: 2006/05/17 08:21

[code:1]<?xml version="1.0" ?>
<joomfish type="contentelement">
<name>Community Builder Custom Fields</name>
<author>Faridun Odilov</author>
<version>1.7</version>
<description>Custom created fields in Community Builder</description>
<reference>
<table name="comprofiler">
<field type="referenceid" name="id" translate="0">ID</field>
<field type="titletext" name="cb_uefirmname" translate="1">Firm NAME</field>
<field type="textarea" name="bannedreason" translate="1">Banned Reason</field>
<field type="text" name="cb_uefirmceoname" translate="1">CEO Name</field>
<field type="text" name="cb_uefirmotherceo" translate="1">OTHER CONTACT Name</field>
<field type="htmltext" name="cb_uefirminfo" translate="1">Info about the firm</field>
<field type="htmltext" name="cb_uefirmproductoffer" translate="1">firm products and services</field>
<field type="text" name="cb_ueaddress" translate="1">Street address</field>
<field type="text" name="cb_uephone" translate="1">Phone</field>
<field type="text" name="cb_uefax" translate="1">Fax</field>
<field type="modified_date" name="lastupdatedate" translate="0">Last update</field>
</table>
</reference>
</joomfish>[/code:1]

Post edited by: registoni, at: 2006/05/17 08:23
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn