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)
  • Warren Buckley says:

    What great work !
    Testing, 123!

    Warren

  • Warren Buckley says:

    Comments are not supporting empty lines

    I should have an empty line above.

  • Niels Hartvig says:

    Regarding the umbraco:macro, just adding Alias should be enough. No need to add both Alias and macroAlias (if it is it's a bug that I should fix ;-))

    /n




Brilliant umbraco hosting provided by FAB-IT