Hey everyone
I've searched the forums for a while but there's no simple explanation on how to do this.
I've created a thank you page an translated it with Joomfish. When I press the form submit button, then the language is removed. If I have chosen a spanish language, then when I press the form, the language will go back to default.
I saw somewhere that you can set the redirecturl in php code, but how can I do this? Then I could just use this:
Anyone?
I've searched the forums for a while but there's no simple explanation on how to do this.
I've created a thank you page an translated it with Joomfish. When I press the form submit button, then the language is removed. If I have chosen a spanish language, then when I press the form, the language will go back to default.
I saw somewhere that you can set the redirecturl in php code, but how can I do this? Then I could just use this:
<?php
$lang = &JFactory::getLanguage();
$redirecturl = "someredirecturl.php?lang=".$lang->get('name');
?>
Anyone?