It seems that when you submit the form, it sends you to the homepage and prints the result message. Does someone know how to get this to redirect somewhere else, say "/thankyou" and not print the result message?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | feedback-goto.patch.txt | 1.17 KB | eojthebrave |
| #3 | feedback-goto.patch | 0 bytes | eojthebrave |
Comments
Comment #1
teradome commentedOh please, I would LOVE to know how to do this.
Because currently, all feedback does is send people to my homepage with no message whatsoever.
Comment #2
sodani commentedI've actually figured it out. You just find the following code, and add the path to where I've put in 'thanks'
Comment #3
eojthebraveAdded a field to the admin/settings/feedback/* form called "Thank you page:" that allows you to specify a Drupal path to redirect the user to after form submission for another project. Here's the patch.
Comment #4
eojthebraveOops, attached the patch for real this time.
Comment #5
fagoWhat about using drupal's destination paramter?
Just make sur that feedback works with /feedback?destination=yoururl. Then the destination paramter will be used as soon as drupal_goto() 'll be called.
Comment #6
sunDevelopment on Feedback module v1.x has ended. Beginning from 2.x, the Feedback module has been replaced with a completely different module with a different purpose. Please note that Feedback 2.x is not compatible with 1.x. See #279636: Turn Feedback into user feedback module for further information.
There will be a final 5.x-1.1 release with all existing and tested patches in the issue queue applied. If you need the functionality of the Feedback 1.x module, the Contact module in Drupal core as well as the contributed Webform module are recommended replacements. However, there is no migration path to those modules.
Marking as won't fix.
Feel free to re-open this issue if you want to see this patch in the last 5.x-1.1 release.