Copied to clipboard

Flag this post as spam?

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


  • Steve 472 posts 1216 karma points
    Nov 06, 2012 @ 19:52
    Steve
    0

    Macro not displaying in preview

    I am testing out a macro on a practice template, but it is not rendering the preview. Is there someting that I am missing? Here is my template.

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

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <umbraco:Macro Alias="Metadata" runat="server"></umbraco:Macro>

      <title><umbraco:Macro Alias="PageTitle" runat="server"></umbraco:Macro></title>
        <script type="text/javascript" src="/scripts/jquery.phase2_1main.js" ></script>
       <link rel="stylesheet" type="text/css" href="/css/news_slidshow.css"/>
      </head<body>
     <umbraco:Item field="mainContent" runat="server"></umbraco:Item>
     <umbraco:Macro Alias="AlumniGallery" runat="server"></umbraco:Macro>
        

      </body>
      </html>
    </asp:Content>

  • Steve 472 posts 1216 karma points
    Nov 06, 2012 @ 20:27
    Steve
    0

    I am assuming that it has to be published to show a preview then?

  • Arie 224 posts 675 karma points
    Nov 22, 2012 @ 19:56
    Arie
    0

    Is "Render content in editor" enabled in the macro properties?

Please Sign in or register to post replies

Write your reply to:

Draft