Content Translator

hopemanjohn 02 Feb, 2013
Hi,

I have a form which saves a text area to the db. It contains information to my users who can access it by entering a code into a form which re-populates a copy of the original form but without the save function.

Now my site is multi linguistic. I use the AJAX Google Translator module which works well on my site.

How can I give my users the opportunity to translate the form as they do an article page within my site?
GreyHead 03 Feb, 2013
Hi hopemanjohn,

How does the Module Translator work?

Maybe you could save the form results to an article?

Bob
hopemanjohn 03 Feb, 2013
Hi Bob,

To save the Form Text Area to an article would be a great solution as I would then be able to manipulate many other things such as complex CSS.

However, how instead of saving to the data base, or as well as saving to the data base, do you save it to an article?
GreyHead 03 Feb, 2013
Hi hopemanjohn,

The place to start is the 'Submit Article' action in the Joomla! actions group. You can tune how that works and build quite complicated apps using that plus some Custom Code.

Bob
hopemanjohn 03 Feb, 2013
Hi Bob,

And thanks for your prompt reply. I now have the article constructed using the ‘Submit Article’ action and the article can be translated as normal. Works well.

There always is a however with me. However, I cannot for the life of me construct a custom code to call and view the article or indeed any article.

ie: The article was saved with the ‘Article Title Field’ say [name]

I now construct another form with only a ‘Text Box’ field and a submit button. When the user enters the article title in the text box I need it to display the article page. What custom code would take the title entered and call the article.

This seems so simple but I am stuck.

John
GreyHead 03 Feb, 2013
Hi John,

You can use a DB Record Loader action to get the record with a matching title back from the jos_content table.

Bob
This topic is locked and no more replies can be posted.