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
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>
I am assuming that it has to be published to show a preview then?
Is "Render content in editor" enabled in the macro properties?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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>
I am assuming that it has to be published to show a preview then?
Is "Render content in editor" enabled in the macro properties?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.