By Warren Buckley, 6/23/2008
Rating
Description
This document shows you the new syntax to use in v4 of Umbraco for the new ASP.NET MasterPages support
Download
Download item
Downloaded 17 time(s).
Snippet
/*
======================
PAGE FIELDS
======================
*/
Before
<?UMBRACO_GETITEM field="pageName"/>
After
<umbraco:Item field="pageName" runat="server"/>
/*
======================
MACROS
======================
*/
Before
<?UMBRACO_MACRO macroAlias="XSLTNavi" ></?UMBRACO_MACRO>
After
<umbraco:Macro macroAlias="XSLTNavi" Alias="XSLTNavi" runat="server"/>
/*
======================
CHILD TEMPLATE
======================
*/
Before
<?UMBRACO_TEMPLATE_LOAD_CHILD/>
After
<asp:ContentPlaceHolder ID="MasterTemplateContentPlaceHolder" runat="server"></asp:ContentPlaceHolder>
Comments
Add a comment (requires log-in)