Index Joomla Bug Fixes |
| Creat Redirect after submit contact form Joomla |
|
|
|
|
How to get rid of the annoying "Thank you" message users see after submiting information in the Joomla contact form. This trick supplied by Leo of Joomla sums it up perfectly. It even shows and lets you create a custom thank you form instead of redirecting to the index page. It only takes about 5 minutes to implement also!
now find on or around line 450 - 452 (in v1.0.10) this code: $link = sefRelToAbs( 'index.php?option=com_contact&task=view&contact_id='. $contact[0]->id .'&Itemid='. $Itemid ); mosRedirect( $link, _THANK_MESSAGE ); replace that code with the URL for the contact Thank-you page as defined as follows: mosRedirect( 'http://www.yoursite.com/index.php?option=com_content&task=view&id=15&Itemid=44' ); Indeed you see it correct...the first line has been deleted and if you look sharp (you have to!) you also see Quote ' ' at the beginning and the end. Do not forget those! Don't forget the ; either at the end |



