I'm using your fantastic uContactor plugin in my Umbraco v7.5 site and it works great. I'd like to add an extra field for contact number within the form also change the "Ya Ya, Leave a message" title, not sure how to change this in either the settings or dictionary items. Could you please advise on the above on how best to implement these to this excellent plugin?
Thanks for using uContactor before.
Of course you can make change to all text, just edit the contactForm.cshtml or customContactForm.cshtml from views directory. Or you can create your own dictionary and use it in your view file.
I didn't even notice the Custom form field, I assumned everything was packaged up inside the DLL. Just one question though, I'm using the extra form field for Phone Number, and having trouble printing this within the email from contact message. Do you know what the %% value would be?
Many thanks for the suggestion, will I have to use Umbraco's source files and recompile the solution in Visual Studio? If so which DLL's / files will I have to copy across?
Managed to solve the issue, by amending the ContactController and adding the file to the App_Code folder within Umbraco, so no messing around with VS :-)
Hope you are well, thanks for helping e out in the past with your excellent plugin, I still continue to use it with my other projects great work. I have another request I hope you can help with, how would I enable the contact form to use reCaptcha v2 and validate?
Any help would be much appreciated.
Custom fields
Hi,
I'm using your fantastic uContactor plugin in my Umbraco v7.5 site and it works great. I'd like to add an extra field for contact number within the form also change the "Ya Ya, Leave a message" title, not sure how to change this in either the settings or dictionary items. Could you please advise on the above on how best to implement these to this excellent plugin?
Many thanks
Nick
Hi Nick,
Thanks for using uContactor before. Of course you can make change to all text, just edit the contactForm.cshtml or customContactForm.cshtml from views directory. Or you can create your own dictionary and use it in your view file.
To call customContactForm.cshtml you can use:
-
Delly
Many thanks Delly,
I didn't even notice the Custom form field, I assumned everything was packaged up inside the DLL. Just one question though, I'm using the extra form field for Phone Number, and having trouble printing this within the email from contact message. Do you know what the %% value would be?
Many thanks again
Hi Nick,
Unfortunately you can't do that this time, maybe you can create your own controller to sending email, you can modify your controller like this https://github.com/dellykaos/uContactor/blob/v1.0.4/uContactor/Controllers/ContactController.cs to handle your own contact form.
Delly
Many thanks for the suggestion, will I have to use Umbraco's source files and recompile the solution in Visual Studio? If so which DLL's / files will I have to copy across?
Kind regards
Nick
Managed to solve the issue, by amending the ContactController and adding the file to the App_Code folder within Umbraco, so no messing around with VS :-)
Hi Delly,
Hope you are well, thanks for helping e out in the past with your excellent plugin, I still continue to use it with my other projects great work. I have another request I hope you can help with, how would I enable the contact form to use reCaptcha v2 and validate? Any help would be much appreciated.
Thanks again
Nick
is working on a reply...