Forums

Thank you Page

Topdim 04 May, 2009
The problem i am facing is that the thank you page is not displayed at all.
I have entered the text i want in the confirmation page plugin in the left column in the form management but nothing happens when i press the submit button. The only thing that works is the redirection.
After that i inserted the code i found in the FAQ section on the form code tab and On Submit code - after sending email.
Still nothing. What happens here?

I need to mention sth else also. In the forms management there is always a message saying ERROR LOADING FEED DATA. Do you think that has to do anything with the nature of the problem.
GreyHead 04 May, 2009
Hi TopDim,

Have you enabled the Confirmation Page Plugin for the form? You have to open up the Form Editor, click the Plugins tab and check the box for the Confirmation Page Plugin.

I think that the 'ERROR LOADING FEED DATA' is because Max has added a 'Tip of the Day' box to the Forms Manager. For some reason it isn't finding the RSS feed to load the tips. You can safely ignore the message.

Bob
Topdim 05 May, 2009
You are right, thank you.
Max_admin 06 May, 2009
Hi TopDim,

just for reference, to add a thank you page you don't need to configure the confirmation page plugin!

you can disable the feed and hence the error message through the parameters icon in the forms management area at the top right!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
zencso 08 May, 2009
Hi all,

Is there a possibility to add multilingual "thank you page" to a particular form?
I have ben spending hours to get it done, but I was not able to find a solution on this regard so far.
I have created different thank you pages according to the supported languages, but have no clue how to call these. When the form is submitted only one url comes up, which one is set in the "redirect url box" (url of default language).

If you guys can provide me with a solution on this issue that would be great!

Thanks

zencso
GreyHead 08 May, 2009
Hi zensco,

I think you will find some working examples here if you serach on user and lang. Here's some sketchy code to give you the idea:
<?php
$user =& JFactory::getUser();
$lang = $user->lang;
switch ($lang) {
  case 'english':
  default:
    echo "Ta muchly";
    break;
  case 'italian':
    echo 'Mille grazies';
    break;
  case 'swedish':
    echo 'du är välkommen';
    break;
}
?>
You'll need to check the actual values for $lang that Joomla uses and include them in the case statements.

Bob
Max_admin 15 May, 2009
Hi zensco,

I think this code should do it without any changes, just place your correct echo thank you messages and correct languages!

<?php
$lang =& JFactory::getLanguage();
$LangTag = $lang->getTag();
switch ($LangTag) {
  case 'en-GB':
  default:
    echo "Ta muchly";
    break;
  case 'it-IT':
    echo 'Mille grazies';
    break;
  case 'de-DE':
    echo 'du är välkommen';
    break;
}
?>


Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.