You shouldn't need to do anything with macros. When you install Contour it should automatically add an option to the macro drop-down list in the WYSIWYG editor ("Insert from Umbraco Contour"). Select that and it'll then ask which form you want to add.
Hope this helps...
EDIT: I should add - this should still work in your template editor via the 'insert macro' button if you want to bypass the WYSIWYG editor altogether and just embed the macro directly into your template.
I just tried to post something and it did not post.
I tried to add this to the WYSIWYG and the form did not render.
I see in Contour, when you make a basic contact form, there is a "Next" button and you can add or edit a form step. Is there something I am supposed to do with this?
I also need to add this via the WYSIWYG like Dan has suggested for our content editor to add to the page. We do not want it in every page that uses the template.
I guess I need step by step instructions to ensure that this works appropriately.
So you have the form built in Contour, right? And you're able to add it using the 'insert macro' button in the WYSIWYG editor, but it doesn't render on the web page when you save and publish, right?
If this is right, then I suspect it's because your template doesn't contain a <form runat="server"></form> tag around the content in which the macro is being rendered.
Let us know if this still doesn't solve it or if you need more detail.
Here is my issue, I added the form to the default Umbraco item bodyText WYSIWYG. The form Rendered fine when I wrapped a form tag around the umbraco:Item bodyText in the Template.
I have an custom Macro rendering multiple items on the page all using a WYSIWYG for each item. I get text, images, Flash video to render in each item no problem.
I tried wrapping the Macro in the Template in the Form tag then adding the Contour Form to the WYSIWYG in my editor to one item. The form did not render. In the HTML I am getting:
Which means the form is trying to show itself but is not showing up on the User's end.
Is there a difference between a default Umbraco item rendering the form properly vs trying to render the form from a custom Macro that is using a custom property. I know there probably shouldn't be but I have not gotten it to render quite yet.
How do you add a Contour Contact Form to XSLT?
How do you add a Contour Contact Form to and XSLT file?
I made a simple Contour Contact Form using the basic default form editor in Contour.
How do I add the form to an XSLT file so I can use the Macro in my Template?
Help is much appreciated. I can not watch the videos. So that is why I am posting this here.
Thanks in advance.
Hi Carlos,
You shouldn't need to do anything with macros. When you install Contour it should automatically add an option to the macro drop-down list in the WYSIWYG editor ("Insert from Umbraco Contour"). Select that and it'll then ask which form you want to add.
Hope this helps...
EDIT: I should add - this should still work in your template editor via the 'insert macro' button if you want to bypass the WYSIWYG editor altogether and just embed the macro directly into your template.
Hmmm, that is interesting. Was not aware of that. Thanks for the help I will try that. If it works I will mark as correct.
Thanks
I just tried to post something and it did not post.
I tried to add this to the WYSIWYG and the form did not render.
I see in Contour, when you make a basic contact form, there is a "Next" button and you can add or edit a form step. Is there something I am supposed to do with this?
I also need to add this via the WYSIWYG like Dan has suggested for our content editor to add to the page. We do not want it in every page that uses the template.
I guess I need step by step instructions to ensure that this works appropriately.
Thanks in advance.
Hi Carlos,
So you have the form built in Contour, right? And you're able to add it using the 'insert macro' button in the WYSIWYG editor, but it doesn't render on the web page when you save and publish, right?
If this is right, then I suspect it's because your template doesn't contain a <form runat="server"></form> tag around the content in which the macro is being rendered.
Let us know if this still doesn't solve it or if you need more detail.
Ok,
Here is my issue, I added the form to the default Umbraco item bodyText WYSIWYG. The form Rendered fine when I wrapped a form tag around the umbraco:Item bodyText in the Template.
I have an custom Macro rendering multiple items on the page all using a WYSIWYG for each item. I get text, images, Flash video to render in each item no problem.
I tried wrapping the Macro in the Template in the Form tag then adding the Contour Form to the WYSIWYG in my editor to one item. The form did not render. In the HTML I am getting:
Which means the form is trying to show itself but is not showing up on the User's end.
Is there a difference between a default Umbraco item rendering the form properly vs trying to render the form from a custom Macro that is using a custom property.
I know there probably shouldn't be but I have not gotten it to render quite yet.
The code for my template is below:
Here is an image of what the front end it. I have marked where the form is supposed to render.
About 2 weeks ago I posted about this. Is there a resolve on this??? Can anyone from the Umbraco team help me out??
is working on a reply...