Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I try to place the template with the macro call in a parent template with @RenderSection:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{Layout = "Info.cshtml";} @section innliming{ @* <umbraco:Macro FileLocation="~/macroScripts/CultivContactForm.cshtml" MailFrom="hi@test.com" runat="server" /&tg; *@ } But even with the macro element inside an Umbraco comment, the presence of the macro is causing the @inherits to be rendered as page content. Can presently be seen at http://xn--sjnleikarhsi-7gb5a7i.com/aboutus/limaskapur/InnlimingFail
Hi Jan,
What version of Umbraco are you using?
Thanks,
Alex
Umbraco version 7.1.8 assembly: 1.0.5394.16131
I move on on my own, but leave the problem template at http://xn--sjnleikarhsi-7gb5a7i.com/aboutus/limaskapur/InnlimingFail for reference.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Placing Cultiv Razor Contact Form in a child template
I try to place the template with the macro call in a parent template with @RenderSection:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{Layout = "Info.cshtml";}
@section innliming{
@*
<umbraco:Macro FileLocation="~/macroScripts/CultivContactForm.cshtml" MailFrom="hi@test.com" runat="server" /&tg; *@
}
But even with the macro element inside an Umbraco comment, the presence of the macro is causing the @inherits to be rendered as page content. Can presently be seen at http://xn--sjnleikarhsi-7gb5a7i.com/aboutus/limaskapur/InnlimingFail
Hi Jan,
What version of Umbraco are you using?
Thanks,
Alex
Umbraco version 7.1.8 assembly: 1.0.5394.16131
I move on on my own, but leave the problem template at http://xn--sjnleikarhsi-7gb5a7i.com/aboutus/limaskapur/InnlimingFail for reference.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.