Feedback form user control with Campaign monitor DLL
Hey all,
I'm slowing moving from creating my own bespoke CMS to using umbraco and have been experimenting with creating a control which sends feedback and also manages my campaign monitor/newsletter sign ups via thier API.
I have a couple of questions...
I've compiled the code down to a DLL and ascx file which have been copied over to the umbraco install. I also have the compiled Campaign Monitor DLL which will be required, do i need to register that DLL in some way or is placing it in the correct folder enough?
My .net code refers to the webconfig file to get the SMTP settings and send the mail, can i still do this in the same way?
wow thanks for the speedy reply...sorted the SMTP web config issue and now working and sending the email...Campaign Monitor not working, should i try and merge the control and the CM dll's?
Also i meant to ask the following:
I use panels in my form to and manage thier visible status depending on the process status, is unbraco happy with this? I only ask as i noticed the the control is displaying a little large, almost as if the hidden panels are affecting the hight of the DIV tag...
Sorry i mean that the form is working but if the "SignUp" newsletter checkbox is ticked then the CM code should kick in and add the email address to CM website via the API.
I'm running targetFramework="4.0" when developing the user control, how do i find out the .Net version of umbraco (iis?)
Rich, thanks for all your help, forgot to copy across the CM app setting into the web config, all working now although validation errors dont show in red anymore.
Feedback form user control with Campaign monitor DLL
Hey all,
I'm slowing moving from creating my own bespoke CMS to using umbraco and have been experimenting with creating a control which sends feedback and also manages my campaign monitor/newsletter sign ups via thier API.
I have a couple of questions...
Appreciate your comments..
S
Hey Stephen,
Just put the dll in the /bin/ directory.
With regards to the SMTP settings, yes, you can use the SMTP settings from the web.config file, they are just standard .NET settings.
Rich
wow thanks for the speedy reply...sorted the SMTP web config issue and now working and sending the email...Campaign Monitor not working, should i try and merge the control and the CM dll's?
Also i meant to ask the following:
I use panels in my form to and manage thier visible status depending on the process status, is unbraco happy with this? I only ask as i noticed the the control is displaying a little large, almost as if the hidden panels are affecting the hight of the DIV tag...
Regards,
Stephen
Hi Stephen,
There should be no need to merge the dlls.
What version of .NET is your site running and what version is the dll expecting?
When you say it's not working, what do you mean exactly.
Rich
Sorry i mean that the form is working but if the "SignUp" newsletter checkbox is ticked then the CM code should kick in and add the email address to CM website via the API.
I'm running targetFramework="4.0" when developing the user control, how do i find out the .Net version of umbraco (iis?)
Stephen
What version of Umbraco you running?
If you're not getting an error on the site, then it seems like it might be a logic error rather than something specific to the dll.
On a side note, have you seen this package http://our.umbraco.org/projects/website-utilities/campaign-monitor-sign-up
Rich
Rich, thanks for all your help, forgot to copy across the CM app setting into the web config, all working now although validation errors dont show in red anymore.
Thanks again.
S
is working on a reply...