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
Hi,
This is the first razor macro I'm writing. I can't seem to get this to work.
I have the following code inline with the template HTML:
<umbraco:Macro Language="cshtml" runat="server"> if(@Model.HasValue("reviewLink")) { <a href="@Model.reviewLink">@Model.brokerName Review</a> }</umbraco:Macro>
and I keep getting "Error loading Razor Script". Please help a noob out :)
Hi. Simply try to spell your @Model.brokerName as @(Model.brokerName).
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Simple macro - total noob (4.7)
Hi,
This is the first razor macro I'm writing. I can't seem to get this to work.
I have the following code inline with the template HTML:
and I keep getting "Error loading Razor Script". Please help a noob out :)
Hi. Simply try to spell your @Model.brokerName as @(Model.brokerName).
is working on a reply...