Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Custom Thank You

13 years 9 months ago #3153 by grichardson
Hello,
I am using the loadcontact to use the Contact Enhanced component in an article.
Can anyone tell me how to get a custom thank you form to appear after the send button is clicked when I use the component in this manner?

Thank you

gordon

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3154 by douglas
Dear Gordon,

There is no parameter to change that option.

For now you can just change that in the [Joomla]/components/com_contact_enhanced/controller.php
Change this line:
if($this->emailInfo->return_url AND $pparams->get( 'thankyoumsg') != 'redirect' ){
For this line:
if($this->emailInfo->return_url AND $pparams->get( 'thankyoumsg') == 'redirect' ){
I've already tested on my test server and it is working.

Best regards,

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3156 by grichardson
Thank you,

That seems to be redirecting it to the same article with the addition of a thank you message at the top.
Can I get it to redirect to a new article/page?

-gordon

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3157 by douglas
Dear Gordon,

Are you using the latest version 1.5.7.3?

If you want to redirect to another page you have to set it in the Contact Enhanced -> Configration: Click on the Parameters button and set Thank you message to "Custom Redirect" and then set "Custom redirect" to an URL starting with http:// or a non sef link starting with index.php

Best regards,

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3158 by grichardson
I have the latest version.

Tried the custom setting with the URL, still no luck.

Is there another setting I am missing?

-gordon

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3159 by grichardson
Found it.

I needed to set the plug-in to "Global" for after form is submitted.


Thanks for all your help.

-Gordon

Please Log in or Create an account to join the conversation.

13 years 9 months ago #3160 by douglas
Dear Gordon,

I'm glad you found it. Please let me know if you need any further assistance.


Kind regards,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback