Email to a friend Contour form broken in Umbraco 7.2
I just recently converted our intranet Umbraco site from v4 (Webforms) to v7.2 (MVC) and I am not sure how to get the "Email To a Friend" form working again. The old way was that you targeted the masterpage for that form with the form GUID macro and it would work fine but now it seems that alternative templates have been removed ? Is there a work around for this ?
You are saying that you have upgraded Umbraco from 4 to Umbraco 7.2
In Umbraco 7.2 the Contour package is replace by Umbraco Forms, did you have upgraded your Contour to the new Umbraco forms, if not the I think that you should have a look at the Umbraco-forms-migration package developed by Tim Geysens http://our.umbraco.org/projects/developer-tools/umbraco-forms-migration
If you use the migration package you should be to following these steps
Thank you for the quick reply, I was not aware of this, I thought Contour was upgraded to support Umbraco 7.2 as I should have mentioned I upgraded it to 3.0.23. Didn't realize I had to switch to "Umbraco Forms". Will try out the solutions and see how it pans out.
I was able to get Umbraco Forms up and running but I am still not sure how to get the alternative template going. I swapped out the macro import for the "Email A Friend" master page to Umbraco Forms but it still doesn't work. The form itself works fine if I embed it on a regular content page but how can I get it to work from any page that a person may want to send the link to a friend to?
That's actually exactly what I was doing but I just realized after your response that I was calling the page url as http://www.yourdomain.com/email-a-friend instead which is how it was called when using Contour. Called it without the dashes did the trick.
Email to a friend Contour form broken in Umbraco 7.2
I just recently converted our intranet Umbraco site from v4 (Webforms) to v7.2 (MVC) and I am not sure how to get the "Email To a Friend" form working again. The old way was that you targeted the masterpage for that form with the form GUID macro and it would work fine but now it seems that alternative templates have been removed ? Is there a work around for this ?
I also found this: http://our.umbraco.org/forum/using/ui-questions/37937-What-shall-we-do-with-AltTemplate?p=1 but I am not 100% sure if these are connected.
Thank you for the assistance.
Hi Mohammed,
You are saying that you have upgraded Umbraco from 4 to Umbraco 7.2
In Umbraco 7.2 the Contour package is replace by Umbraco Forms, did you have upgraded your Contour to the new Umbraco forms, if not the I think that you should have a look at the Umbraco-forms-migration package developed by Tim Geysens http://our.umbraco.org/projects/developer-tools/umbraco-forms-migration
If you use the migration package you should be to following these steps
Duplicate DB
On the website Umbraco, remove Contour v3
On the website Umbraco, install Umbraco Forms v4
Install Umbraco Froms Migration Tool
Connect migration tool to duplicated database
Delete duplciate DB
I found the steps here in this post: http://our.umbraco.org/projects/developer-tools/umbraco-forms-migration/computer-says-no/59800-Steps-to-use
Hope this helps,
/Dennis
Hi Mohammed,
And in this older blogpost from Umbraco there is an little section about the new Umbraco Forms. http://umbraco.com/follow-us/blog-archive/2014/10/28/umbraco-720-beta-out-now and here is a uHangout episode about the Umbraco forms. http://uhangout.co.uk/video/iTKb4k4UJqU
There are also video on Umbraco TV http://umbraco.tv/videos/umbraco-v7/implementor/extending/umbraco-forms/intro/, and you will find the documentation here: http://our.umbraco.org/Documentation/Products/UmbracoForms/index
Hope this helps,
/Dennis
Hey Dennis,
Thank you for the quick reply, I was not aware of this, I thought Contour was upgraded to support Umbraco 7.2 as I should have mentioned I upgraded it to 3.0.23. Didn't realize I had to switch to "Umbraco Forms". Will try out the solutions and see how it pans out.
Thank You!
Hi Denis,
I was able to get Umbraco Forms up and running but I am still not sure how to get the alternative template going. I swapped out the macro import for the "Email A Friend" master page to Umbraco Forms but it still doesn't work. The form itself works fine if I embed it on a regular content page but how can I get it to work from any page that a person may want to send the link to a friend to?
Hi Mohammad,
If I understand your questions correctly then you want a template with a form from Umbraco Forms where you can send the link to a friend.
So first you create the new template for Email a friend, after this then you insert the form from Umbraco Forms, It will look something like this
Remember to change the FormGuid, so it match your form Id.
And my template looks like this.
If your template has the name Email A Friend, then you can access it from here: http://www.yourdomain.com/EmailAFriend
Hope I don't misunderstood your question.
/Dennis
Hey Dennis,
That's actually exactly what I was doing but I just realized after your response that I was calling the page url as http://www.yourdomain.com/email-a-friend instead which is how it was called when using Contour. Called it without the dashes did the trick.
Thanks for the quick response!
Finally got this working now need to do some styling and get the surfacecontroller to work.
is working on a reply...