Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • JammerX19 1 post 21 karma points
    Dec 27, 2011 @ 15:07
    JammerX19
    0

    Courier wraps templates in additional code

    Courier is wrapping our templates in extra ASP.NET code when we deploy. For example, if our template looks like this:

     

    <%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">

     

    <h1>This is our template</h1>

    </asp:Content>

     

    After Courier sends it to the other site, it looks like this:

     

    <%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">


    <%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">

     

    <h1>This is our template</h1>

    </asp:Content>
    </asp:Content>

Please Sign in or register to post replies

Write your reply to:

Draft