Hi Eran, I saw it puts the script tags in the marco so i moved it them out and put it into my masterpage and it works. I'm having problems getting it to send an email now, but that a different story
actually SMTP configuration is out of the scope of this forum, because its not a problem related for this packages and i'm not an smtp expert and i never tried to send email from local instalation.
but maybe i can help you with 2 examples of configuratins from two different umbraco sites:
the first, is from site that using softsys hosting and use there smtp:
if you will solve it please write here that i know for sure thats it not some bug in the package and for future users that may run in with the same problems.
I tried the form, too. I also get a problem with validation. I can see, that you use #ContactForm as the jquery selector. The problem I found is, that there isn't a form with this id rendered in source. Can this be the problem?
just to let you know that i uploaded new version of this package with bug fixes. BTY, if you like this project please vote for it (in the project page at the top right corner).
jQuery error
i checked it on with firebug on version 4.5 and 4.0.1 and didnt find this problem.
when you insert the contact form macro to your template, it automatically add references to few files:
the validation function exist in the file:
what kind of browser/windows/umbraco do you use?
Hi Eran, I saw it puts the script tags in the marco so i moved it them out and put it into my masterpage and it works. I'm having problems getting it to send an email now, but that a different story
make sure to check your smtp setting in your web.config and also the RVContactForm.config
Thanks Eran but its still not working. I'm using the code below in my webconfig file (gmail) as i'm working locally
actually SMTP configuration is out of the scope of this forum, because its not a problem related for this packages and i'm not an smtp expert and i never tried to send email from local instalation.
but maybe i can help you with 2 examples of configuratins from two different umbraco sites:
the first, is from site that using softsys hosting and use there smtp:
the second, if from site that uses gmail smtp:
with enable ssl in the RVContactForm.config set to true:
true
i hope it helps,
Eran.
Thanks for your Help Eran, but its not working seems to be a problem somewhere else i guess
if you will solve it please write here that i know for sure thats it not some bug in the package and for future users that may run in with the same problems.
Thanks,
Eran.
Hi Eran!
I tried the form, too. I also get a problem with validation. I can see, that you use #ContactForm as the jquery selector. The problem I found is, that there isn't a form with this id rendered in source. Can this be the problem?
Greets Mario!
maybe its a bug: please send me the xslt that generate the form and the js file, and i'll check it.
if its a bug in the name, i will fix it and update in the new version.
mean while, to solve it for now, try to change the jquery selector so that the selector name will match the form name.
please inform me it that fix the problem.
thanks!
Eran.
Hey Eran,
I just changed the outer div and gave it the id #ContactForm.
I had to also replace the ajax webservice call url:
original - url: "umbraco/webservices/RVContactFormMailer.asmx/SendContactForm",
corrected - url: "/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm",
Now I have the email in my inbox ;-)
Thanks!
o.k i'm glad its working.
as soon as i will be available, i will upload new version of this package with few bug fixes.
Thanks,
Eran.
i fixes a few minor bugs including the ones in this forum topic, and updated the package version from 1.0 to 1.1
Thanks
Hi Eran, I'm still having problems with the form, here is the response i ger in firebug...
{"Message":"Could not find a part of the path \u0027C:\\inetpub\\wwwroot\\config\\RVContactForm.config\u0027.","StackTrace":" at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)\r\n at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)\r\n at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)\r\n at System.Threading.CompressedStack.runTryCode(Object userData)\r\n at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r\n at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)\r\n at System.Xml.XmlTextReaderImpl.OpenUrl()\r\n at System.Xml.XmlTextReaderImpl.Read()\r\n at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)\r\n at System.Xml.XmlDocument.Load(XmlReader reader)\r\n at System.Xml.XmlDocument.Load(String filename)\r\n at RVContactForm.RVContactFormMailer.SendContactForm(MailerRequest req)","ExceptionType":"System.IO.DirectoryNotFoundException"}
it seems that some file (RVContactForm.config) is missing.
please make sure that you have all the files in the corrected paths:
Hi Eran, Everything is in its place,
If you wish to have a look at the form its @ http://www.greenbridge-international.com/contact-us.aspx
are you sure your smtp setting in the web.config are corrected?
please double check it, because no one report about this bug. and if its not helps report and we see what we can do.
anyway i'm so sorry but i will be available only in 3 days because i'm going to holiday trip in a moment.. so i will read your replay only in 3 days.
i'm sure this issue will be solved soon, Thanks,
Eran.
just to let you know that i uploaded new version of this package with bug fixes.
BTY, if you like this project please vote for it (in the project page at the top right corner).
Thanks,
Eran.
is working on a reply...