How can I expand the Joomfish support?
-
Published byEmmanuel Danan
-
Last modified24 January 2012
-
Up to dateYes
-
Profile concernedEnd user, Webdesigner, Developer
-
Concerns

-
Since Versionbeta4
-
Favourites
[2 users]
You can expand the Joomfish integration by adding some parameters to the mod_translate administrator module. These 4 parameters will enable the direct translation module to work within FLEXIcontent.
To do that :
- go to module manager in the backend
- click on the administrator submenu
- edit the direct translation module
- then add the following lines to the module parameters on the right
com_flexicontent#categories#cid#view#categories#task#!edit
com_flexicontent#flexicontent_fields#cid#view#fields#task#!edit
com_flexicontent#flexicontent_tags#cid#view#tags#task#!edit
com_flexicontent#flexicontent_files#cid#view#filemanager#task#!edit
It should look like this:
Afterwards the direct translation module will be available in the categories, fields, tags and filemanager views, allowing you to select an item to translate by checking it in the table and select a language in the list (see the screenshot above).
Nice, isn't it?
For configuring multilanguage and Joom!Fish read here:
How to Use Joom!Fish and FLEXIcontent


Comments
com_flexicontent#con tent#cid#view#items# task#!edit
Please note that this will not translate the extra fields of the item, as they are not part of the jos_content table.
It will translate the fields that the Joomfish Content Element File specifies for the jos_content table.
The format to add more lines is
component_name#db_ta ble_name#cid#varname 1#varvalue1#varname2#!varvalue2 #varname3#varvalue3
The administration translation module will produce a direct link to translate the item from the list you select (which is stored in table "db_table_name", cid will contain the selected record_id) when you are in the backend and
1. displaying "component_name" and
2. IN url there is: varname1=varvalue1
3. IN url there is: varname2!=varvalue2
4. IN url there is: varname3=varvalue3
5. etc ...
The !varvalue denies equality, you will use this when you want the module not to display translation link e.g. when you are editing an item, that is why you will be usually putting a #task#!edit in the above string.
RSS feed for comments to this post
Add comment