Multilanguage in Chronoforms V5

si simmm 21 Dec, 2014
Good morning,
I try to use Chronoforms on one multilanguage site. I have fond with local how to translate the single input data and works like a breeze.
The problem is with the setup pae. Infact I don't understand how to setup the the e-mail component and redirect one with different e-mail and different redirect for different language. Can you help me?

Thanks


Gianluca
si simmm 22 Dec, 2014
Hi,
I didn't know that into the e-mail template I can put also php code, in that way everything is possible! Can I also put more than one php code, can't I?
Regarding the transfer ulr after the use of the forms? How can I specify different url based on the language?

Thanks for everything


Gianluca
Gr GreyHead 22 Dec, 2014
Hi Gianluca,

You can use any combination of PHP and HTML in the Email template I think.

If the redirect URLs only differ in query string parameters e.g. &lang=de then you can set a form->data value and set the parameter in the Options box of the redirect action

If it's more complicated than that you can use the Joomla! Redirect code in a Custom Code action:
<?php
$lang = 'some_value';
$url = 'http://example.com/index.php?. . .&lang='.$lang;
$app = JFactory::getApplication();
$app->redirect($url);
?>

Bob
si simmm 23 Dec, 2014
It works like a charm!!! Thanks so much!!! Fantastic product and fantastic support!
This topic is locked and no more replies can be posted.