Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 Next > End >>
Re:CB and Joomfish
Date: 2006/10/18 12:06 By: mikko Status: Moderator  
Karma: 107  
Moderator

Posts: 2230
graphgraph
robert101083 wrote:
Intresting topic guys!!

I have some aditional fieds in my registration form. Is the a way to translate the labels in front of the fiels?

Greetz,

Robert


If you read the whole thread (instead of just posting after seeing a topic) you would learn how to do this.

If not, search for multi lingual support with the forum search box

mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

Re:CB and Joomfish
Date: 2006/10/18 12:40 By: robert101083 Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 11
graphgraph
Well, I actually did.

I copied the xml files to the right folder. I changed de code in mldatabase.class.php. I looked at the other xml-files and the wiki trying to understand the xml-files. I looked at the back-and of joomla->joomfish, but I can't find the labels I used in my registration form.

What am I doeing wrong? (besides my english)
Click here to see the profile of this user The topic has been locked.

Re:CB and Joomfish
Date: 2006/10/18 12:44 By: mikko Status: Moderator  
Karma: 107  
Moderator

Posts: 2230
graphgraph
Read the post by nant where he explains about language files. This is currently a much better solution than joomfish.

Based on your decription, it is pretty hard to say what might be wrong. Does the site translate OK in other places except CB?

mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

Re:CB and Joomfish
Date: 2006/10/18 14:40 By: robert101083 Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 11
graphgraph
Thnx Mikko,

The solution of nant works realy great.

Now I can undo the change I made in mldatabase.class.php and delete the cb_*.xml files???

Greetz,

Robert
Click here to see the profile of this user The topic has been locked.

Re:CB and Joomfish
Date: 2006/11/12 12:37 By: mikko Status: Moderator  
Karma: 107  
Moderator

Posts: 2230
graphgraph
beat wrote:
- Actually, why wouldn't you implement your own multi-select field type in your plugin instead of relying on CB's, so the translations would be handled by JoomFish ? would take another 2 hours for you . But keep in mind to store unique ids or keywords for answers, to be able to treat them independantly of language

I actually figured a way of hoe to do this with a plugin.
-When installed the plugin creates CB XML file for Joomfish (you need to do this dynamically, because the column names in the database are dependent on the fields)
-When user edits his profile, the plugin translates the row for (onBeforeSaveEdit) using the translations made for field values by the administrator.
-If the user edits the profile in a language, which is not the primary language, joomfish table is used to translate the edits to the primary language

That's about it. I will code it when I have some time.

mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 3 4 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login