Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# swilliam 5/31/2007 8:55 AM
Dear All

I am putting the finishing touches on a feedback module. This module takes a form (user control) specified by the administrator, presents it to the user, and posts the information to the configured recipient. The form can have almost any ASP.NET fields you like on it, with the field names used to provide friendly names used by other parts of the module. An admin-coded email template is used to format the posted email.

Optionally, the field values can be stored in the database and downloaded as a CSV file for later use.

Many thanks

Simon
# martijnb 5/31/2007 3:41 PM
Great! Looking forward to see how it works out!
# swilliam 5/31/2007 7:09 PM
Martijn

I've just committed the module.

Many thanks

Simon
# talon 6/8/2007 8:41 AM
Hi swilliam,

Where can I download this module, I attempted the /svn site... But some reason i cant visit.. Can you verify?
# swilliam 6/8/2007 10:35 AM (edited 6/8/2007 10:37 AM)
Hi there

This module is not part of the core Cuyahoga build. The sourceforge project can be found at http://sourceforge.net/projects/cuyahogacontrib, and the SVN root at https://cuyahogacontrib.svn.sourceforge.net/svnroot/cuyahogacontrib

Many thanks

Simon
# SteveLalor 6/19/2007 4:30 AM
Hi Swilliam

I have downloaded your feedback module, complied it and got it all in so that I can fill out the example form.

I fill it all out and click send and get the confirmation page, but the email doesnt arrive. I have had a look on the server in the mail queue and badmail etc and its not there either.

Do I need a specific component installing on the server to use this? Is there something I can check?

Thanks in advance

Steve
# swilliam 6/19/2007 2:17 PM
Steve

I presume you're supplying a valid email address in the section settings, and don't have any problems routing emails to your server.

I would recommend looking into the logs to see if an exception has been thrown in the postback processing. You could also check the option to save the feedback in the database and look in the feedback_feedbackrecord table to see if the form details are being handled correctly.

Simon
# SteveLalor 6/19/2007 3:03 PM
Hi Simon

I have supplied my valid email in the section settings, although i did set the To and From address as the same, would that cause a problem?

I will turn on logging tommorrow and see what I can find there.

I have tried setting the database setting before, and it didnt seem to put the details in the table, perhaps thats indicating the problem too?

Could you tell me at what point in the code you do the actually preparing and sending of the email?

Steve
# swilliam 6/19/2007 4:35 PM
Steve

The main processing is done in FeedbackModule.ProcessFeedbackForm(), but it is called from within Cuyahoga.Modules.Feedback.Web.FeedbackBase.btnSubmit_Click(). I'd be tempted to put a breakpoint at the start of that method and made sure the form is validated, then make sure the WebFormAnalyser gets the values you expect from the submitted form.

Simon
# SteveLalor 6/20/2007 9:17 AM
Hi Simon

I turned on logging as you suggested, and I discovered I had set the file for the email template wrong, therefore it was erroring.

I have fixed this and it all works great now!

Thanks for your help.

Steve
# t-boo 9/5/2007 11:17 AM
I'm asking how I could bind culture-driven strings into custom forms ?
I tried
GetText("FAILDTOSEND")
into ExampleForm1.ascx but it don't work but I don't get errors.

FAILDTOSEND is an existing entry in feedbackmodule/resources/Strings.resx

As every custom forms herits from Feedback.Web.FeedbackBase, then I should get the GetText properly working. Am i wrong ?

Thank you in advance,

Thibault