Hi

I saw feedback module and it's interesting for me.
I need a new feauture.
I'd like to set up more than one destinantion and I'd like user can decide what destination to send feedback

Thanks a lot

CommentFileSizeAuthor
#2 feedback.txt16.89 KBdeadhobo
#1 feedback-addresses.patch2.24 KBeojthebrave

Comments

eojthebrave’s picture

Title: Decide between different destinations » Decide between different destinations - Patch
Component: User interface » Code
Status: Active » Needs review
StatusFileSize
new2.24 KB

This is my first patch submission so if I did something wrong let me know, here it goes though.

I added the ability to have "categories" with different destination addresses assigned to each one. It works by using the following syntax when entering items in the admin/settings/feedback/* Categories section.

Subject number two [mailto:development@example.com]
Subject number two [mailto:support@example.com]

If the user chooses "Subject number one" their feedback will be sent to "development@example.com" and so on. If no e-mail address is specified it defaults to the "Default Email Address"

deadhobo’s picture

StatusFileSize
new16.89 KB

I really wanted this feature for my site so I fiddled with eojthebrave's patch a good bit to get it to work on 5.x-1.x-dev. I think the patch itself has some issues (and it was made for 4.7), so I'll just upload my finished copy of feedback.module (rename extention to .module from .txt).

I'm using this on my site and I know it is working, but I have no idea if it is secure or implemented properly. The one known bug is that it would report "Please choose a category" no matter what category you had selected. I just commented out the code for that error message and things worked fine (I suspect it is looking for the wrong array or something of the sort - I'm not a coder); I might look deeper into it later.

Regardless, thank you for your efforts eojthebrave and I hope this might be useful to somebody.

kbahey’s picture

Status: Needs review » Needs work

Please submit this as a proper patch. See http://drupal.org/patch for details.

CMatters’s picture

Any chance of making this part of the core functionality of Feedback?

sun’s picture

Status: Needs work » Closed (won't fix)

Development 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.