Deploying update to master page resets content block?
I created a master page that went into sitefinity. After that, I added a content block widget to a page that was based on the master page. Then I changed the css class name from the default of sfContentBlock to one of ours.
When I deployed an updated master page, it seems like it set the css class name back to sfContentBlock. Will that happen every time?
Hi Eric,
We tried to reproduce the issue with no luck. Here are the steps:
1. We created a simple master page with the following code:
<%@ Master Language="C#" %><!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 id="Head1" runat="server"> <title></title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head><body class="main-body"> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <div id="wrapper"> <asp:contentplaceholder id="all" runat="server" /> </div> </form></body></html><%@ Master Language="C#" %><!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 id="Head1" runat="server"> <title></title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head><body class="main-body"> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <div id="wrapper1"> <asp:contentplaceholder id="all2" runat="server" /> </div> <div id="wrapper2"> <asp:contentplaceholder id="all3" runat="server" /> </div> </form></body></html>